joyce8/EMBER2024-capa huggingface dataset:
Function at 0x647680
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040594c
xor eax, eax
push ebp
push 0x64779e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x647771
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040595c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x64774e
test byte [ebp - 0x14c], 0x10
jne 0x647731
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.0040573c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0040a150
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x6476f4
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x64775a
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x647778
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x64c5c8
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
movzx eax, byte [ebx + 4]
sub al, 1
jb 0x64c5d7
je 0x64c5dc
jmp 0x64c600
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x64c5fb
lea eax, [ebx + 8]
push eax
movzx eax, byte [ebx + 0xc]
push eax
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x6514dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x651545
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x65fe7c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x65152f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.006514cc
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x650ddc]
call fcn.0065156c
mov dword [0x65fee0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65154c
lea eax, [ebp - 8]
call fcn.0040765c
ret

Function at 0x6521a0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
sub dl, 1
jb 0x6521ac
je 0x6521bd
jmp 0x6521c4
push 1
mov eax, ebx
call fcn.0040595c
push eax
call sub.kernel32.dll_WinExec
pop ebx
ret
mov eax, ebx
call fcn.0065219c
pop ebx
ret
Function at 0x401132
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x500
lea ecx, [ebp - 0x500]
push 0
push 0x500
push ecx
call fcn.00426a3c
add esp, 0xc
mov ecx, dword [0x500e28]
mov dword [ebp - 0x14], ecx
movzx eax, byte [ecx + 0x2b]
mov dword [ebp - 8], eax
movzx eax, byte [ecx + 0x2c]
mov dword [ebp - 0xc], eax
push ecx
call fcn.0040be7d
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
jmp loc.00539d3e

Function at 0x4027c9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
sub esp, 0xc
call fcn.0041c611
imul eax, eax, 3
mov dword [ebp - 0xc], eax
push 0
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + 0x1c]
inc eax
imul eax, eax, 0x14
mov dword [ebp - 0x14], eax
push 0
push eax
add ecx, 8
call fcn.0041921f
mov ecx, dword [ebp - 0x14]
sub dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 1
jne 0x40287e
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.004025fd
test eax, eax
je 0x40287e
mov dword [ebp - 0x14], eax
jmp 0x40282c
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1d]
mov edx, dword [ebp - 8]
cmp edx, ecx
jae 0x40284b
call fcn.0041d7bf
nop
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
jmp 0x402829
mov byte [ebp - 8], 0
jmp 0x402854
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1e]
mov edx, dword [ebp - 8]
cmp edx, ecx
jae 0x402877
call fcn.0041d7bf
nop
mov dword [eax + edx*4 + 0x400], ecx
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
jmp 0x402851
mov eax, 1
jmp 0x402880
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402a25
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 1
mov ecx, dword [ebp - 8]
call fcn.0040257a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004192c5
push 0
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00418f5c
test eax, eax
je 0x402a9e
push 1
mov ecx, dword [ebp - 8]
call fcn.0040369f
lea edx, [ebp - 4]
push edx
push 0
push dword [ebp - 8]
push 0x402541
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
test eax, eax
je 0x402a97
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
jmp 0x402aa0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484f4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
add ecx, 8
call fcn.004032b0
inc dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0043a93e
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0x1010ffff
xor ecx, ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], 0xfffffc18
mov dword [eax + 0x60], 0xfffffc18
dec dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4069b2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0
push str.AutoDll.ini
push 1
push dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.00418f5c
test eax, eax
je 0x406a21
push dword [ebp - 8]
call fcn.00418ed4
add esp, 4
push eax
push eax
push 0
push 0x500dea
push 0x500de2
call dword [0x4be042]
mov byte [0x500df9], al
push dword [ebp - 0xc]
push 0xa
push 0x500e03
push 0x500dfa
call dword [0x4be042]
cmp ax, 0xa
jae 0x406a10
mov ax, 0xa
mov word [0x500e0d], ax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406a2f
mov byte [0x500df9], al
mov word [0x500e0d], 0xa
mov esp, ebp
pop ebp
ret

Function at 0x406a33
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor byte [0x500e02], 1
mov eax, dword [0x4cea0c]
test eax, eax
je 0x406a7b
mov byte [0x500e0c], 1
push 0
push 0
push 0
push 0x406a7f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x406a6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 8
call fcn.00435bd6
mov byte [0x500e0c], 0
mov esp, ebp
pop ebp
ret

Function at 0x40971d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00409caa
push 2
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x409795
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 8]
call fcn.00409eec
and eax, 0xffff
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 4]
lea edx, [ecx + eax*4 + 0x28]
mov eax, dword [ebp - 8]
mov dword [eax + 4], edx
mov eax, 1
jmp 0x409797
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x40c49d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
cmp byte [0x5005a0], 0
je 0x40c4d1
jmp 0x40c4b0
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 2
jae 0x40c4d1
add eax, 0x848
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40c4ad
mov esp, ebp
pop ebp
ret 4

Function at 0x40c843
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
mov dword [ebp - 0xdc], ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xd0]
push ecx
call fcn.004571d0
add esp, 8
lea edx, [ebp - 0xd0]
push edx
push 0x42e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x492e28
push 0x3f9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 0xdc]
push 0x3f8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 8]
jmp loc.00584f34

Function at 0x40d5a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call fcn.004373c7
call fcn.00420275
push 0x566000
call fcn.004233ed
push 0x5669d8
call fcn.004233ed
push 0x4c3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_SetParent]
xor ecx, ecx
push ecx
movzx eax, byte [0x500c97]
push eax
mov ax, word [0x500c95]
push eax
push ecx
push ecx
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x4158ec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
imul eax, eax, 4
add eax, 0x4b5fd0
push dword [eax]
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4b6a68]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetParent]
mov esp, ebp
pop ebp
ret 4

Function at 0x418ed4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
call fcn.00418e90
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x419102
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x41915a
mov dword [ebp - 0xc], 0
jmp 0x419125
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x419154
cmp dword [ebp - 0xc], 5
jle 0x419152
xor eax, eax
jmp 0x419161
jmp 0x419156
jmp 0x419158
jmp 0x41911c
jmp 0x41915e
xor eax, eax
jmp 0x419161
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x41923c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x419274
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x419274
xor eax, eax
jmp 0x419277
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4193a5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4193db
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4193db
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x419704
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
xor eax, eax
mov dword [ebp - 0x6c], eax
call fcn.00426ae0
mov dword [ebp - 0x70], eax
cmp byte [0x4ac63c], 3
je 0x419744
cmp word [ebp + 0xc], 0x56b
jne 0x419744
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
test cx, cx
jne 0x419744
push dword [ebp + 8]
mov ecx, 0x496f38
call fcn.00438fc1
test eax, eax
jne 0x419749
jmp 0x41992a
push 0
call fcn.004759bc
add esp, 4
mov ecx, 0x496f38
call fcn.0045386e
call fcn.0041e5f6
push 0
call fcn.0058c02e
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x419775
jmp dword [eax*4 + 0x41992e]
cmp dword [0x496f54], eax
je 0x4197e7
cmp dword [ebp - 0x70], eax
je 0x4197e7
mov ecx, 0x4b0770
call fcn.0040d288
mov ecx, eax
call fcn.0041b7e2
call fcn.0048196d
mov dword [ebp - 0x68], eax
push eax
call fcn.00406764
add esp, 4
push eax
push 0x48b47c
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.00544747
nop
nop
nop
push 0
push dword [ebp - 0x68]
push 0x48b4c0
call fcn.0053ad1c
nop
nop
nop
xor eax, eax
mov dword [0x496f54], eax
push 1
jmp 0x41985f
cmp dword [0x496f50], 0
je 0x41985d
cmp dword [ebp - 0x70], 0
je 0x41985d
mov ecx, 0x4b0770
call fcn.0040d288
mov ecx, eax
call fcn.0041b7e2
nop
nop
nop
nop
nop
call fcn.0048196d
mov dword [ebp - 0x68], eax
push eax
call fcn.00406764
add esp, 4
push eax
push 0x48b494
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.00544747
nop
nop
nop
push 0
push dword [ebp - 0x68]
push 0x48b4c0
call fcn.0053ad1c
nop
nop
nop
xor eax, eax
mov dword [0x496f50], eax
push 0
call fcn.00461cf6
jmp 0x4198d9
cmp dword [0x496f4c], 0
je 0x4198d4
cmp dword [ebp - 0x70], 0
je 0x4198d4
mov ecx, 0x4b0770
call fcn.0040d288
mov ecx, eax
nop
call fcn.0041b7e2
call fcn.0045f670
mov dword [ebp - 0x68], eax
push eax
call fcn.00406764
add esp, 4
push eax
push 0x48b4ac
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00544747
nop
nop
nop
push 0
push dword [ebp - 0x68]
push 0x48b4c0
call fcn.0053ad1c
nop
nop
nop
xor eax, eax
mov dword [0x496f4c], eax
call fcn.00461c8f
nop
nop
jmp case.default.0x419775
push 1
mov ecx, 0x569000
call fcn.0041856a
mov dword [ebp - 0x6c], eax
test eax, eax
je case.default.0x419775
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.0042c858
add esp, 4
mov dword [0x4ae4c0], 1
jmp 0x58c05c
mov esp, ebp
pop ebp
ret
Function at 0x41993e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
call fcn.0045386e
mov ecx, 0x500a6e
mov dword [ecx], 0x496f30
mov dword [ecx + 4], 0x496f58
mov dword [ecx + 8], 0x496f5c
mov dword [ecx + 0xc], 0x496f34
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
inc ecx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
jmp 0x419989
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 4
jae 0x4199c1
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax*4], 0
jne 0x419986
push eax
push 0x4195aa
push dword [0x4b6a68]
push 0x129
push dword [0x4b6a60]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
jmp 0x419986
mov dword [ebp - 8], 0x1b8
mov dword [ebp - 0xc], 0x280
call fcn.00437c50
mov byte [ebp - 4], 0
jmp 0x4199dd
jmp 0x5435d7
Function at 0x41f13b
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x10], 0
je 0x41f160
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.0041f0cb
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x80000000
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
jmp 0x41f1a1
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 5
jge 0x41f1cc
lea edx, [ebp - 0x4c]
push edx
push 0x30200
push 0x803
push 0
call dword [sym.imp.WINMM.dll_mciSendCommandA]
test eax, eax
jne 0x41f1ca
mov dword [ebp - 4], 1
jmp 0x41f1cc
jmp 0x41f198
cmp dword [ebp - 4], 0
je 0x41f25e
mov ax, word [ebp - 0x48]
mov word [0x497ae0], ax
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x10], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 5
mov dword [ebp - 8], 0
lea edx, [ebp - 0x14]
push edx
push 0x40000
push 0x841
xor eax, eax
mov ax, word [0x497ae0]
push eax
call dword [sym.imp.WINMM.dll_mciSendCommandA]
mov dword [ebp - 0x24], 0x4001
lea ecx, [ebp - 0x2c]
push ecx
push 0x100
push 0x814
xor edx, edx
mov dx, word [0x497ae0]
push edx
call dword [sym.imp.WINMM.dll_mciSendCommandA]
mov eax, dword [ebp - 0x28]
mov dword [0x497a9c], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.0041f2da
jmp 0x41f282
push 0x30
push 0x48b720
push 0x48b734
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x10], 0
xor eax, eax
jmp 0x41f2d4
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4b6a68]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
mov ecx, dword [0x497a9c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
mov edx, dword [0x4b6a60]
push edx
push 0x41efbe
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x497a98], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x41fddc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push dword [ecx + 8]
push 0
push 0x5087fe
sub esp, 0x20
jmp 0x41fdf7
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp al, 3
jae 0x41fe39
add eax, 0x846
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0xc]
push 5
lea ecx, [ebp + ecx*8 - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 0xc]
cmp al, 2
jne 0x41fe2e
cmp byte [0x5005a0], 1
je 0x41fe39
lea ecx, [ebp + eax*8 - 0x30]
cmp byte [ecx], 0
je 0x41feaa
jmp 0x41fdf4
lea ecx, [ebp - 0x30]
push ecx
call fcn.00465c27
test al, al
jne 0x41fe4d
mov eax, 0x500e30
jmp 0x41feaf
push dword [0x505f58]
call fcn.00540200
push ecx
push 0
push 0x10
push ecx
call fcn.0047fd13
add esp, 0xc
pop ecx
mov byte [ecx], 2
inc ecx
push ebx
xor ebx, ebx
jmp 0x41fe71
inc ebx
cmp ebx, 3
jae 0x41fe86
lea edx, [ebp + ebx*8 - 0x30]
mov al, byte [edx]
mov byte [ecx], al
inc ecx
test al, al
je 0x41fe70
inc edx
jmp 0x41fe7a
mov eax, dword [0x505f58]
push eax
call fcn.004061e4
mov edx, ecx
push eax
call fcn.00540200
mov byte [ecx + 0xf], 0
xor ebx, ebx
call fcn.0054027b
pop ebx
xor eax, eax
inc eax
jmp 0x41feb9
mov eax, 0x500e1c
push eax
push 0
call fcn.0042f699
xor eax, eax
leave
ret 8
Function at 0x421897
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
movzx ecx, byte [ecx + 1]
call fcn.004061f9
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00473f4a
test eax, eax
jne 0x4218c8
push dword [ecx + 0xd]
push dword [ecx + 1]
call fcn.00435829
add esp, 8
jmp 0x4218d2
mov ecx, dword [ebp - 0x14]
mov al, 2
mov byte [ecx + 0xf], al
jmp 0x4218dd
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + 0xd]
call fcn.004061f9
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00403b96
push 8
mov ecx, 0x4b1b18
call fcn.0042c45f
push 1
push 8
mov ecx, 0x4b69b0
call fcn.0047467a
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x498]
and eax, 0xc0
cmp eax, 0xc0
je 0x421948
mov ecx, dword [ebp - 0x18]
call fcn.00403360
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x583
call fcn.0040659b
mov eax, dword [ebp - 0x10]
push dword [eax + 0x584]
push dword [eax + 0x583]
mov ecx, 0x4b4250
call fcn.0045503f
call fcn.00421aa3
mov ecx, 0x4b4250
call fcn.0045461c
mov ecx, dword [ebp - 0x14]
call fcn.0043fcc9
mov ecx, dword [ebp - 0x14]
call fcn.00403360
mov edx, dword [eax]
mov dword [ebp - 4], edx
push edx
lea ecx, [ebp - 0x20]
push ecx
call fcn.0044fa1f
add esp, 8
push dword [ebp - 4]
call fcn.0044fa7e
add esp, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
mov eax, 0x3000
call fcn.004015b1
mov dword [ebp - 8], eax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00406991
movzx eax, byte [ebp - 0x1f]
push eax
mov al, byte [ebp - 0x20]
push eax
call fcn.004036f9
call fcn.0040159c
mov ecx, dword [ebp - 0x10]
cmp byte [ecx + 2], 1
jne 0x421a02
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, 0x3000
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00406991
call fcn.0041e5f6
sub dword [ebp - 0x1c], 8
sub dword [ebp - 0x18], 8
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, 0x3000
push eax
mov ecx, dword [ebp - 0x10]
push dword [ecx + 1]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004238fe
jmp 0x421a25
sub dword [ebp - 0x1c], 8
sub dword [ebp - 0x18], 8
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 1]
push 0x40
push 0x40
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0045135a
call fcn.0041e5f6
call fcn.0042c4e0
call fcn.0047eb97
mov dword [ebp - 0x14], eax
push 1
push 0x27
mov ecx, 0x4b69b0
call fcn.0047467a
cmp byte [0x505fdc], 0
jne 0x421a64
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
call fcn.00484002
push ecx
push 0x48b8a8
push 2
call fcn.0042f699
add esp, 0xc
call fcn.0047eb97
sub eax, dword [ebp - 0x14]
mov ecx, 0x14
sub ecx, eax
cmp ecx, 0
jle 0x421a83
push ecx
mov ecx, 0x4b1b18
call fcn.0042c45f
call fcn.0042c4e0
push 0
push dword [ebp - 8]
push 0x40
push 0x40
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00451913
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x429898
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.0040b913
cmp al, 2
jne 0x4298dd
call fcn.00429ffb
call fcn.004298f7
movzx eax, ax
mov dword [ebp - 4], eax
and eax, 8
test eax, eax
je 0x4298d8
push 0
push dword [0x4ffa70]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
jmp 0x4298e3
mov ax, word [0x4abf9c]
mov esp, ebp
pop ebp
ret

Function at 0x429cae
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ecx
jmp 0x429cb9
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp al, 4
jae 0x429cd0
push 0
mov edx, dword [ebp - 8]
push dword [edx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x429cb6
leave
ret

Function at 0x429ed8
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push dword [0x4b6a60]
push 0x42ae62
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4cea0c], eax
leave
ret