joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412f6d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x412fea
cmp dword [esi + 4], 0xffffffff
jne 0x412fea
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x43b434
push edi
call dword [sym.imp.MSVCRT.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x412fbc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x412fbc
mov eax, 0x2000000
jmp 0x412fef
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411de3
add esp, 0x10
test eax, eax
jne 0x412fda
mov eax, dword [ebp - 4]
jmp 0x412fef
push eax
call fcn.004122dd
mov dword [esi], eax
mov eax, dword [0x442f20]
pop ecx
jmp 0x412fef
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x4133da
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41347d
mov cx, word [edi]
test cx, cx
je 0x41347d
mov eax, edi
mov edx, edi
cmp cx, 0x2f
je 0x41340b
cmp cx, 0x5c
jne 0x41340d
mov eax, edx
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x4133ff
cmp eax, edi
je 0x41344d
sub eax, edi
push esi
mov esi, eax
lea eax, [ebp - 0x208]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
and word [ebp + esi*2 - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.004133da
add esp, 0x14
pop esi
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x410]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
leave
ret
Function at 0x4143a2
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
cmp dword [0x442274], ebp
push edi
mov esi, ecx
je 0x4143bc
call fcn.004145bf
jmp 0x4145ba
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x3e8
push ebx
push dword [esi + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x44c]
cmp eax, ebp
je 0x41453e
cmp eax, 1
je 0x414487
jle 0x4145ba
cmp eax, 3
jg 0x4145ba
push 0x3e9
mov dword [esi + 0xa40], 0x4545c8
push dword [esi + 4]
call edi
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 0x409
push dword [esi + 4]
call edi
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 5
push eax
call ebp
push 4
call fcn.00407563
pop ecx
push eax
push ebx
push dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
call ebx
cmp dword [esi + 0x6c4], 0
jne 0x41445f
cmp dword [esi + 0x6c8], 0
jne 0x41445f
push 5
jmp 0x414461
push 7
call fcn.00407563
pop ecx
mov ebp, 0x407
push eax
push ebp
push dword [esi + 4]
call ebx
push ebp
push dword [esi + 4]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4145ad
cmp dword [esi + 0x6c4], ebp
jne 0x4144dc
cmp dword [esi + 0x6c8], ebp
jne 0x4144dc
push 9
mov dword [esi + 0xa40], 0x51a851
call fcn.00407563
pop ecx
mov ebp, 0x407
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebp
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 5
push eax
call ebp
push 0x43bb78
jmp 0x414523
push 7
mov dword [esi + 0xa40], 0x4545c8
call fcn.00407563
pop ecx
mov ebp, 0x407
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebp
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 5
push eax
call ebp
push 8
call fcn.00407563
pop ecx
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3e9
push dword [esi + 4]
call edi
push 0
push eax
call ebp
jmp 0x4145ad
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x43fcc4
push 0x407
push dword [esi + 4]
call ebp
push 1
call fcn.00407563
pop ecx
push eax
push ebx
push dword [esi + 4]
call ebp
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
pop ebp
push ebp
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x3ef
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x419
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x3fc
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4149e0
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
push ebx
push esi
push edi
call fcn.0041c2f5
add eax, 0x48
lea ecx, [ebp - 8]
push eax
call fcn.004046c8
lea eax, [ebp - 8]
push str.pluginbar.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.004178e4
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x414a83
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x414a83
push str.InitPluginbar
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x442f2c], eax
je 0x414a83
and word [ebp - 0x220], 0
push dword [ebp - 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
push 0x438aa0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push 0x103
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [0x442f2c]
and word [ebp - 0xa20], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1e]
rep stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 4
pop ebx
mov dword [ebp - 0xc], 1
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0xa20]
push 0x3ff
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call esi
add esp, 0x10
lea eax, [ebp - 0x18]
mov edi, str.isinit
mov esi, SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x414afa
cmp dword [ebp - 0x10], 1
je 0x414b0f
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x442690
pop edi
mov ecx, eax
pop esi
test ecx, ecx
pop ebx
je 0x414b34
cmp word [0x442690], 0
je 0x414b34
push 0xbb8
push eax
call fcn.00423d64
pop ecx
pop ecx
call fcn.0041c2f5
mov ecx, eax
call fcn.0041f4a6
lea ecx, [ebp - 4]
call fcn.00404bf2
lea ecx, [ebp - 8]
call fcn.00404bf2
leave
ret

Function at 0x414b52
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xaa4
jmp 0x417fd4
mov eax, dword [ecx + 4]
test eax, eax
je 0x417fe4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x414b5d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 0xbb8
cmp dword [esi + 0x6c8], edi
je 0x414b87
push ebx
push str.360sess.exe
call fcn.00423bd7
pop ecx
pop ecx
cmp dword [esi + 0x6c4], edi
je 0x414bd8
mov word [ebp - 0x218], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x43bb64
push edi
call fcn.0041c2f5
push dword [eax + 0x48]
lea eax, [ebp - 0x218]
push 0x439530
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push edi
call fcn.00423bd7
add esp, 0x1c
xor edi, edi
cmp dword [esi + 0x34], edi
je 0x414cee
cmp word [esi + 0x38], di
lea ebx, [esi + 0x38]
je 0x414cee
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414cee
mov eax, dword [esi + 0x34]
cmp eax, 1
jne 0x414c11
push ebx
call fcn.0042081e
pop ecx
jmp 0x414cee
cmp eax, 2
jne 0x414cee
call fcn.0041c2f5
add eax, 0x48
lea ecx, [ebp - 0xc]
push eax
call fcn.004046c8
push ebx
lea ecx, [ebp - 4]
call fcn.0040470e
mov eax, dword [0x4384ec]
push edi
push dword [ebp - 4]
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.00404a49
cmp eax, 0xffffffff
je 0x414cd6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [eax - 8]
sub eax, dword [ecx - 8]
lea ecx, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040480a
push eax
lea ecx, [ebp - 8]
call fcn.0040476f
lea ecx, [ebp - 0x10]
call fcn.00404bf2
push 1
push 0x43b434
lea ecx, [ebp - 8]
call fcn.00404a49
cmp eax, 0xffffffff
je 0x414cb4
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.004047bf
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00404d0d
lea ecx, [ebp - 0x10]
call fcn.00404bf2
jmp 0x414cc3
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00404d0d
push dword [ebp - 4]
mov eax, 0x43fcc4
push eax
push eax
push ebx
call fcn.00420b74
add esp, 0x10
lea ecx, [ebp - 8]
call fcn.00404bf2
lea ecx, [ebp - 4]
call fcn.00404bf2
lea ecx, [ebp - 0xc]
call fcn.00404bf2
call fcn.0041c2f5
mov ecx, eax
call fcn.0041fc44
mov ecx, esi
call fcn.00415d6d
push 0xc8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [esi + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x624]
call fcn.0041bac2
push 3
pop eax
push eax
mov dword [esi + 0x460], eax
call fcn.00407563
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, esi
call fcn.0041545e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415259
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0xe0c], eax
je 0x41531a
cmp dword [esi + 0x460], 3
jg 0x41531a
cmp dword [esi + 0x44c], eax
jne 0x41531a
cmp dword [esi + 0x34], eax
jne 0x41531a
push edi
mov ecx, 0x81
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041c2f5
push dword [eax + 0x48]
lea eax, [ebp - 0x20c]
push 0x438aa0
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.0041c2f5
add eax, 0x40
lea ecx, [ebp - 4]
push eax
call fcn.004046c8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4152ff
lea eax, [ebp - 0x20c]
push eax
call fcn.0042081e
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
pop edi
je 0x415312
push dword [ebp - 4]
call fcn.0042081e
pop ecx
lea ecx, [ebp - 4]
call fcn.00404bf2
mov ecx, esi
call fcn.0041533a
call fcn.004074a1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
leave
ret

Function at 0x41533a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.0042e5e0
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push str.SoftwareIEStub
push SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415455
push edi
mov ecx, 0x411
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x823
push eax
lea eax, [ebp - 0x1058]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], 1
call esi
test eax, eax
jne 0x415435
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea eax, [ebp - 0x1058]
push str.8CLSID
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x4153fd
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x4153fd
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x415400
inc dword [ebp - 0xc]
push 0
lea eax, [ebp - 0x1058]
push 0x1048
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x4153b8
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 3
pop edi
jne 0x415455
push str.SoftwareIEStub
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
leave
ret
Function at 0x41545e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x44c]
test eax, eax
je 0x415487
cmp eax, 1
je 0x415483
jle 0x415483
cmp eax, 3
jg 0x415483
push 0x12
jmp 0x415489
push 0x11
jmp 0x415489
push 3
call fcn.00407563
pop ecx
mov edi, 0x3e8
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x407
push dword [esi + 4]
call ebx
push 0
push eax
call edi
lea eax, [ebp - 0x10]
push 1
push eax
mov dword [ebp - 0x10], 0xfa
push dword [esi + 4]
mov dword [ebp - 0xc], 0x113
mov dword [ebp - 8], 0x19a
mov dword [ebp - 4], 0x177
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xa70]
push eax
mov dword [ebp - 0x20], 0x6c
push dword [esi + 4]
mov dword [ebp - 0x1c], 0x154
mov dword [ebp - 0x18], 0x202
mov dword [ebp - 0x14], 0x15d
call fcn.0041c1c9
push 5
pop ebx
push ebx
push dword [esi + 0xa74]
call edi
push 0
mov dword [esi + 0x460], ebx
push dword [esi + 4]
push 0x1402
call fcn.0040f95d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41558f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 4]
push eax
push ecx
push 0x41557e
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
leave
ret
Function at 0x4158aa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43bce0
lea ecx, [ebp - 4]
call fcn.0040470e
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
and word [ebp - 0x43c], 0
mov ebx, 0x3f7
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
push dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
lea ecx, [ebp - 0x43c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x1041
mov dword [ebp - 0x14], 0x415825
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x415988
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 4]
call fcn.00404bf2
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x416a27
Capabilities:
Hide graphical window
Set registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
call fcn.00407337
pop ecx
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.fuse
push str.Software360360se5default_foption
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 6
call fcn.00407563
pop ecx
mov ebp, 0x3e8
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x409
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x407
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.00414d52
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x417495
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x407
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov ebp, 0x3e9
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3ef
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x419
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3fc
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3e8
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x418
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x417
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x417534
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x417
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
cmp dword [esi + 0xdf8], 0
mov ebp, 0x3e8
je 0x4175f5
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x3ef
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x419
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x3fc
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x418
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0xd30]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push dword [esi + 4]
test eax, eax
je 0x4175dc
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41760d
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push 0
jmp 0x417619
push 1
mov ecx, esi
call fcn.00415632
push 0x416
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 5
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x417fbb
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov esi, ecx
push 0
call fcn.00418132
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4183f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push ebx
push esi
lea eax, [ebp - 0x58]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 4], ebx
je 0x4184d3
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [esi + 0x24], edi
jne 0x418440
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x24], eax
push dword [esi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x20]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfffffffffffffff0
xor ebx, ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
je 0x41846c
push 1
jmp 0x418472
test al, 2
je 0x418473
push 2
pop ebx
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov word [ebp - 0x858], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x856]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x858]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
or ebx, 0x20
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x858]
push 0xffffffffffffffff
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x58]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4189f9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x60]
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x814]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x418ae4
push 1
pop edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
mov dword [ebp - 4], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ah, 3
je 0x418a93
push edi
jmp 0x418aa3
test ah, 1
je 0x418a9c
xor edi, edi
jmp 0x418aa4
test ah, 2
je 0x418aa4
push 2
pop edi
mov eax, dword [esi + 0x40]
and eax, 4
cmp al, 4
jne 0x418abc
push 1
lea eax, [ebp - 0x14]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x64]
or edi, 0x24
sub dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x814]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x419d6c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x419da2
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x419e29
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0042e5e0
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x419e29
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x419e03
push 1
jmp 0x419e09
test al, 2
je 0x419e0a
push 2
pop ecx
test al, 0xb
je 0x419e11
push 0x24
pop ecx
or cx, 0x210
lea eax, [ebp - 0x18]
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 4