joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4692f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4694a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x469484
mov dl, 1
mov eax, dword [0x417658]
call fcn.00403ccc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x469473
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045a1dc
test al, al
je 0x469466
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4694b4
lea eax, [ebp - 0x254]
call fcn.0040a4f8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x469466
xor eax, eax
push ebp
push 0x46945f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4694ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469448
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404de4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x469448
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469466
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469369
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b410
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4694aa
lea eax, [ebp - 0x260]
call fcn.00404b64
ret

Function at 0x469e1c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4bccd8]
cmp byte [eax + 0xad], 0
jne 0x469e8d
cmp dword [0x4bccf4], 0
jne 0x469e4e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469dd8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bccf4], eax
cmp dword [0x4bccf0], 0
jne 0x469e69
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bccf0], eax
cmp dword [0x4bccf8], 0
jne 0x469e8d
push esp
push 0
push 0
push 0x469d7c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4bccf8], eax
pop edx
ret
Function at 0x46a090
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a0a7
add esp, 0xfffffff0
call fcn.00404020
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f784
mov eax, dword [0x4b7200]
cmp word [eax + 2], 0
jne 0x46a0cf
mov eax, dword [0x4b7200]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bdf0
mov eax, dword [0x4b72c4]
cmp word [eax + 2], 0
jne 0x46a0e9
mov eax, dword [0x4b72c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bffc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417234]
call fcn.00403ccc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417234]
call fcn.00403ccc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417234]
call fcn.00403ccc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42549c]
call fcn.0042db8c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46a2a0
mov eax, dword [0x4b70ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042df60
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c6d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b70ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e170
test eax, eax
je 0x46a1f0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e9c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e1a4
test eax, eax
je 0x46a204
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404de4
mov byte [ebx + 0xd4], 0
push ebx
push 0x46b864
call fcn.00420900
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4b6f80]
cmp byte [eax], 0
jne 0x46a255
mov eax, ebx
call fcn.0046a3e4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046c8b4
mov eax, ebx
call fcn.0046d418
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a295
call fcn.00404078
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a664
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46a703
cmp dword [ebx + 0x94], 0
jne 0x46a6fd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46a5ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46a6fd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46a6c3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46a6fd
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419660
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46a6d2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46a91c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4bccd8]
cmp dword [eax + 0x30], 0
je 0x46aa79
test bl, bl
jne 0x46a9ca
cmp dword [esi + 0x9c], 0
jne 0x46a9bf
mov eax, esi
call fcn.0046d294
push eax
push 0x46a848
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46a990
mov eax, dword [0x4bccd8]
call fcn.0046d974
test al, al
je 0x46a990
mov eax, dword [0x4bccfc]
call fcn.00405f2c
mov edi, eax
cmp edi, 0
jl 0x46a990
push 0
mov eax, dword [0x4bccfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46a97a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46a9bf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419660
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46a99f
inc dword [esi + 0x9c]
jmp 0x46aa79
cmp dword [esi + 0x9c], 0
jle 0x46aa79
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46aa79
cmp dword [esi + 0x44], 0
je 0x46aa25
mov eax, dword [0x4bccd8]
call fcn.0046d974
test al, al
je 0x46aa25
mov eax, dword [0x4bccfc]
call fcn.00405f2c
mov edi, eax
cmp edi, 0
jl 0x46aa25
push 5
mov eax, dword [0x4bccfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46aa0f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46aa54
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419660
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46aa34
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4bccfc
mov ecx, 1
mov edx, dword [0x46a828]
call fcn.004060e0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46b560
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46b5ca
mov eax, ebx
call fcn.0046d974
test al, al
jne 0x46b5ca
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c54
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46b5b7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46b5d7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bb8
jmp 0x46b5d7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bb8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46ca98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46cb06
mov eax, esi
call fcn.00454dc8
test al, al
je 0x46cb06
mov eax, dword [ebx + 0x84]
call fcn.00454a28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cb06
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46cafa
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454a28
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044c864
jmp 0x46cb06
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046c8d4
pop esi
pop ebx
ret
Function at 0x4743c4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407d14]
call fcn.0040582c
xor eax, eax
push ebp
push 0x474565
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b6a1c], 0
jne 0x47441f
mov ecx, dword [0x4b6f94]
mov dl, 1
mov eax, dword [0x40843c]
call fcn.0040d3cc
call fcn.00404570
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403630
mov eax, ebx
call fcn.004054e4
mov dword [ebp - 0x24], eax
mov esi, 0x474574
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004067c4
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004054f4
test eax, eax
jle 0x474508
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4744f4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404de4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x47449a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404dfc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4744b0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404dfc
mov eax, dword [ebp - 0x54]
call fcn.00405004
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404de4
mov eax, dword [ebp - 0x58]
call fcn.00405004
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4744f6
xor eax, eax
test al, al
je 0x474501
mov ebx, 0x15
jmp 0x47450d
mov ebx, 0x10
jmp 0x47450d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4b6a1c]
call fcn.004741e8
mov eax, dword [ebp - 4]
call fcn.004741e8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004067dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47456c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b88
lea eax, [ebp - 0xc]
mov edx, dword [0x407d14]
call fcn.004058fc
ret
Function at 0x480850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48090a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405354
mov eax, dword [0x4b7008]
cmp byte [eax], 0
je 0x4808bf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004057c8
mov eax, dword [ebx]
call fcn.004054f4
push eax
mov eax, dword [ebx]
call fcn.004054e4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054f4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004057c8
jmp 0x4808f1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a088
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004054d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480911
lea eax, [ebp - 0x3f0]
call fcn.00404b64
ret

Function at 0x480918
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a088
add esp, 0x3ec
pop ebx
ret

Function at 0x480ad8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x480ba0
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00460d8c
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.00480794
mov edi, eax
test edi, edi
je 0x480b39
movzx eax, byte [0x480bac]
cmp al, bl
jne 0x480b39
mov edx, edi
mov eax, ebp
call fcn.004806cc
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x480ba0
cmp byte [ebp + 0x161], 2
jne 0x480b64
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4b73c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044dc34
test eax, eax
jne 0x480ba0
jmp 0x480b9b
mov edx, dword [0x4b72a8]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x480b9b
test byte [eax + 0x358], 8
jne 0x480b9b
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4b72a8]
mov eax, edx
mov edx, 0xb006
call fcn.0044dc34
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x486ec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4b73c0]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x486f66
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x486f05
cmp eax, dword [esp]
pop edx
pop eax
jae 0x486f41
jmp 0x486f09
pop edx
pop eax
jge 0x486f41
mov eax, dword [0x4b73c0]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004818dc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x486f66
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x486f66
cmp dword [ebx + 0x11c], 0
je 0x486f66
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043b0ec
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x48fd9c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48fe56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405354
mov eax, dword [0x4b7008]
cmp byte [eax], 0
je 0x48fe0b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004057c8
mov eax, dword [ebx]
call fcn.004054f4
push eax
mov eax, dword [ebx]
call fcn.004054e4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054f4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004057c8
jmp 0x48fe3d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a088
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004054d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fe5d
lea eax, [ebp - 0x3f0]
call fcn.00404b64
ret

Function at 0x492fc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49301e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.00493028
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493025
ret
Function at 0x49987c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4998b2
jmp 0x499958
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4998f6
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4998f6
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x499906
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x499906
mov eax, dword [edx + 0x14]
test eax, eax
je 0x49991f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00496208
jmp 0x499958
mov dl, 1
mov eax, dword [0x424c50]
call fcn.00426ef0
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042798c
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.004269bc
mov edx, esp
mov eax, esi
call fcn.00427600
mov eax, esi
call fcn.00403cfc
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x49c188
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00454a28
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.0044c864
pop ebx
ret
Function at 0x4a6800
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4a6826
push 0
mov eax, dword [ebx + 0x94]
call fcn.00454a28
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4a68e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a6a52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4a6a37
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040a088
mov dl, 1
mov eax, dword [0x47ded0]
call fcn.0047df28
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41795c]
call fcn.00403ccc
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.0047dfa4
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a6a33
mov dl, 1
mov eax, dword [0x47c9a8]
call fcn.0047ca10
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x4a6a68
call fcn.0047e718
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e8c
xor eax, eax
push ebp
push 0x4a6a2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.0047cd18
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004a6a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a33
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00403cfc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00403cfc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00403cfc
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a59
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b88
ret