joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410980
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x404
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push edi
mov al, byte [ebx + 0x874]
lea ebp, [ebx + 0x874]
test al, al
je 0x410b1d
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x4109c2
push ebp
call fcn.00445110
add esp, 4
test eax, eax
jne 0x410ad4
lea eax, [esp + 0x10]
push eax
push str.Type
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x410ad4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0x49f190
push edx
call fcn.0047e1c0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, 0x20
je 0x410a0a
mov dword [esp + 0xc], 0x199
jmp 0x410adc
lea eax, [esp + 0x10]
push eax
push str.Filename
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x410ad4
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x100
ja 0x410ad4
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [ebx + 0x6e8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push 0x4af
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1a0]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea edx, [esp + 0x10]
push edx
push str.Async
push ebp
call fcn.00444e60
add esp, 0xc
test eax, eax
pop esi
jne 0x410a9d
mov eax, dword [esp + 0xc]
test eax, eax
je 0x410aa3
cmp eax, 1
jne 0x410ad4
jmp 0x410aa3
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [ebx + 0x1a0]
xor ecx, ecx
test eax, eax
setne cl
push ecx
push 0x527
push edx
mov dword [ebx + 0x690], eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
push ebx
call fcn.0045ff60
add esp, 4
test eax, eax
jne 0x410b57
mov dword [esp + 0xc], 0x19a
mov eax, dword [ebx + 0x1b0]
push 0
push 0
push 0x402
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [esp + 0xc]
push 0x30
push 0x4d44b8
push ebp
push ecx
call fcn.0046b4e0
mov edx, dword [ebx + 0x18]
add esp, 8
push eax
push edx
call fcn.0046b480
add esp, 0x10
mov byte [ebp], 0
lea eax, [ebx + 0x6e8]
push eax
push 0x4af
mov byte [eax], 0
mov eax, dword [ebx + 0x1a0]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebx + 0x1a0]
push 0x527
push ecx
mov dword [ebx + 0x690], 0
call fcn.004714d0
add esp, 8
mov edx, dword [ebx + 0x1a0]
push 0
push 0x104af
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
call fcn.0045b0a0
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x410b90
Capabilities:
Delete file

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov edi, dword [esp + 0x814]
mov ebp, eax
lea esi, [edi + 0x874]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00444ee0
add esp, 4
test eax, eax
jne 0x410c8e
mov eax, dword [0x4d44b4]
mov ecx, dword [0x4d44b0]
mov edx, dword [0x4d44ac]
push eax
push ecx
push edx
push 0x4d44b8
lea eax, [esp + 0x20]
push str._s__d._d._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x28]
push ecx
push str.Version
push esi
call fcn.00444bf0
add esp, 0x24
test eax, eax
jne 0x410c8e
mov edx, dword [edi + 4]
lea eax, [esp + 0x10]
push edx
push str._02d__Zulu_DiscImage_Document_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x1c]
push ecx
push str.Type
push esi
call fcn.00444bf0
add esp, 0x18
test eax, eax
jne 0x410c8e
lea edx, [edi + 0x6e8]
push edx
push str.Filename
push esi
call fcn.00444bf0
add esp, 0xc
test eax, eax
jne 0x410c8e
mov eax, dword [edi + 0x690]
push eax
push str.Async
push esi
call fcn.00444de0
add esp, 0xc
test eax, eax
jne 0x410c8e
push edi
call fcn.00460570
add esp, 4
test eax, eax
je 0x410c8e
push esi
call fcn.00445090
add esp, 4
test eax, eax
je 0x410cca
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call ebx
push 0x30
push 0x4d44b8
push esi
push 0x198
call fcn.0046b4e0
mov ecx, dword [edi + 0x1a0]
add esp, 8
push eax
push ecx
call fcn.0046b480
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret
push 0
push edi
call fcn.0045b0a0
add esp, 8
push ebp
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x800
ret
Function at 0x413590
Capabilities:
Create thread

Disassembly:
mov eax, 0x31ac
call fcn.0047e4b0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
mov ecx, 0xc59
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x318c]
push eax
call esi
lea ecx, [esp + 0x31a4]
push ecx
call esi
mov ebx, dword [esp + 0x31c0]
xor ebp, ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x60], ebx
cmp dword [ebx + 4], 0x20
jne 0x413617
lea edi, [ebx + 0x6e8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x26c], 2
mov dword [esp + 0x270], ebp
jmp 0x41363a
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor esi, esi
mov edx, dword [ebx + 0x1a0]
lea ecx, [esi + 0x539]
push 0x4b32f0
push ecx
push edx
call edi
inc esi
cmp esi, 8
jl 0x41361f
mov eax, dword [ebx + 0x1c4]
xor esi, esi
cmp eax, ebp
jle 0x4136a0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esp + 0x18]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
push 0
push ecx
push 0x411a70
push 0x5000
push 0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x70], 0
call ebp
mov dword [edi], eax
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x413692
push 0x64
call fcn.00445c60
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
je 0x413680
mov eax, dword [ebx + 0x1c4]
inc esi
add edi, 4
cmp esi, eax
jl 0x413650
push ebx
push 0x3e8
call fcn.0045b860
mov eax, dword [ebx + 0x1c4]
add esp, 8
xor esi, esi
xor ebp, ebp
test eax, eax
jle 0x4136eb
lea edi, [esp + 0x18]
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x4136d9
inc ebp
mov eax, dword [ebx + 0x1c4]
inc esi
add edi, 4
cmp esi, eax
jl 0x4136c0
test ebp, ebp
jne 0x4136a0
cmp dword [ebx + 4], 0x29
jne 0x413700
lea ecx, [esp + 0x58]
push 1
push ecx
call fcn.00411960
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [esp + 0x318c]
push edx
call esi
lea eax, [esp + 0x31a4]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x31ac
ret
Function at 0x421fe0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x404
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push edi
mov al, byte [ebx + 0x874]
lea ebp, [ebx + 0x874]
test al, al
je 0x4221d4
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x422022
push ebp
call fcn.00445110
add esp, 4
test eax, eax
jne 0x42218b
lea eax, [esp + 0x10]
push eax
push str.Type
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x42218b
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0x49f190
push edx
call fcn.0047e1c0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, 0x21
je 0x42206a
mov dword [esp + 0xc], 0x199
jmp 0x422193
lea eax, [esp + 0x10]
push eax
push str.Filename
push ebp
call fcn.00444cd0
add esp, 0xc
test eax, eax
jne 0x42218b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x100
ja 0x42218b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [ebx + 0x6e8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push 0x4af
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1a0]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea edx, [esp + 0x10]
push edx
push str.Blocking
push ebp
call fcn.00444e60
add esp, 0xc
test eax, eax
pop esi
jne 0x42218b
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x1a0]
push 0x800
push eax
push 0x4a5
push ecx
call fcn.00471c30
lea edx, [esp + 0x1c]
push edx
push str.RecType
push ebp
call fcn.00444e60
add esp, 0x1c
test eax, eax
jne 0x42218b
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x1a0]
push 0xb
push eax
push 0x4a4
push ecx
call fcn.00471c30
lea edx, [esp + 0x1c]
push edx
push str.Closed
push ebp
call fcn.00444e60
add esp, 0x1c
test eax, eax
jne 0x42218b
mov eax, dword [esp + 0xc]
test eax, eax
je 0x422160
cmp eax, 1
jne 0x42218b
mov edx, dword [ebx + 0x1a0]
xor ecx, ecx
test eax, eax
setne cl
push ecx
push 0x4a8
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
push ebx
call fcn.0045ff60
add esp, 4
test eax, eax
jne 0x422238
mov dword [esp + 0xc], 0x19a
mov eax, dword [ebx + 0x1b0]
push 0
push 0
push 0x402
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [esp + 0xc]
push 0x30
push 0x4d44b8
push ebp
push ecx
call fcn.0046b4e0
mov edx, dword [ebx + 0x18]
add esp, 8
push eax
push edx
call fcn.0046b480
add esp, 0x10
mov byte [ebp], 0
lea eax, [ebx + 0x6e8]
push eax
push 0x4af
mov byte [eax], 0
mov eax, dword [ebx + 0x1a0]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebx + 0x1a0]
push 0
push 0
push 0x14e
push 0x4a5
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [ebx + 0x1a0]
push 0
push 0x104a5
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x1a0]
push 1
push 0x4a8
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
push ebx
call fcn.00421ef0
push 0
push ebx
call fcn.0045b0a0
add esp, 0xc
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x422260
Capabilities:
Delete file

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov edi, dword [esp + 0x814]
mov ebp, eax
lea esi, [edi + 0x874]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00444ee0
add esp, 4
test eax, eax
jne 0x4223be
mov eax, dword [0x4d44b4]
mov ecx, dword [0x4d44b0]
mov edx, dword [0x4d44ac]
push eax
push ecx
push edx
push 0x4d44b8
lea eax, [esp + 0x20]
push str._s__d._d._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x28]
push ecx
push str.Version
push esi
call fcn.00444bf0
add esp, 0x24
test eax, eax
jne 0x4223be
mov edx, dword [edi + 4]
lea eax, [esp + 0x10]
push edx
push str._02d__Zulu_Image_Document_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x1c]
push ecx
push str.Type
push esi
call fcn.00444bf0
add esp, 0x18
test eax, eax
jne 0x4223be
lea edx, [edi + 0x6e8]
push edx
push str.Filename
push esi
call fcn.00444bf0
add esp, 0xc
test eax, eax
jne 0x4223be
mov eax, dword [edi + 0x1a0]
push 0x4a5
push eax
call fcn.00471d00
push eax
push str.Blocking
push esi
call fcn.00444de0
add esp, 0x14
test eax, eax
jne 0x4223be
mov ecx, dword [edi + 0x1a0]
push 0x4a4
push ecx
call fcn.00471d00
push eax
push str.RecType
push esi
call fcn.00444e20
add esp, 0x14
test eax, eax
jne 0x4223be
mov edx, dword [edi + 0x1a0]
push 0x4a8
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push eax
push str.Closed
push esi
call fcn.00444de0
add esp, 0xc
test eax, eax
jne 0x4223be
push edi
call fcn.00460570
add esp, 4
test eax, eax
je 0x4223be
push esi
call fcn.00445090
add esp, 4
test eax, eax
je 0x4223fa
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call ebx
push 0x30
push 0x4d44b8
push esi
push 0x198
call fcn.0046b4e0
add esp, 8
push eax
mov eax, dword [edi + 0x1a0]
push eax
call fcn.0046b480
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret
push 0
push edi
call fcn.0045b0a0
add esp, 8
push ebp
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x800
ret
Function at 0x42f760
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4d4214]
push ebx
push ebp
push esi
test eax, eax
push edi
jne 0x42f779
pop edi
pop esi
pop ebp
mov eax, 0x17
pop ebx
pop ecx
ret
mov eax, dword [0x4d4218]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42f799
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
pop ecx
ret
mov al, byte [0x4d3d40]
xor ebp, ebp
test al, al
je 0x42f7eb
mov edx, dword [esp + 0x18]
mov esi, 0x4d3d40
mov edi, esi
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x42f7d5
test cl, cl
je 0x42f7d1
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x42f7d5
add eax, 2
add esi, 2
test cl, cl
jne 0x42f7b1
xor eax, eax
jmp 0x42f7da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42f7eb
mov al, byte [edi + 0x24]
add edi, 0x24
inc ebp
mov esi, edi
test al, al
jne 0x42f7af
lea ecx, [ebp + ebp*8]
mov al, byte [ecx*4 + 0x4d3d40]
test al, al
jne 0x42f812
mov edx, dword [0x4d4218]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
pop ecx
ret
lea eax, [ebp + ebp*8]
lea eax, [eax + eax*8]
lea ebx, [ebp + eax*2]
lea ebx, [ebx + ebx*4]
shl ebx, 2
mov eax, dword [ebx + 0x4c0b88]
test eax, eax
je 0x42f845
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x4c0b8c]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x42f8a0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x4c1820], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x4c0b90]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0
push ebp
push 0x42e1e0
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x4c0bd0], eax
mov edx, dword [0x4d4218]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x42fa20
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0
push eax
push 0x42fa00
push 0x20000
push 0
mov dword [eax + 0xcc7c], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
ret

Function at 0x42fa80
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0
push eax
push 0x42fa60
push 0x20000
push 0
mov dword [eax + 0x25194], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret
Function at 0x42fde0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0x3e9
js 0x42fe44
cmp eax, 0x20
jge 0x42fe44
mov eax, dword [eax*4 + 0x4d4180]
test eax, eax
je 0x42fe44
cmp eax, 0xffffffff
je 0x42fe44
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x42fe0b
xor eax, eax
ret
lea edx, [esp + 4]
push 0
push edx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42fe33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042fab0
add esp, 4
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42fe41
mov edx, dword [esp + 4]
mov dword [eax], edx
xor eax, eax
ret
mov eax, 0x16
ret

Function at 0x42fe50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0x3e9
js 0x42feb4
cmp eax, 0x20
jge 0x42feb4
mov eax, dword [eax*4 + 0x4d4180]
test eax, eax
je 0x42feb4
cmp eax, 0xffffffff
je 0x42feb4
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x42fe7b
xor eax, eax
ret
lea edx, [esp + 4]
push 0
push edx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42fea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042fab0
add esp, 4
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42feb1
mov edx, dword [esp + 4]
mov dword [eax], edx
xor eax, eax
ret
mov eax, 0x16
ret

Function at 0x42ff30
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42ff4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042fab0
add esp, 4
ret
xor eax, eax
ret
Function at 0x430a70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x34]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
cmp edx, ebp
jae 0x430aaf
sub ecx, eax
add ecx, ebp
jmp 0x430ab1
xor ecx, ecx
push 0xff
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0x102
je 0x430b00
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x430a97
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
jne 0x430add
jmp 0x430a97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4312e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push 0x7b
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x43134c
push ebx
mov ebx, dword [esp + 0x108]
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push edi
mov esi, 0xf
mov byte [esp + 0x10], 0
xor eax, eax
lea edi, [esp + 0x10]
mov al, byte [esi + ebx]
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x4a05bc
lea ecx, [esp + ecx + 0x18]
push ecx
call ebp
add esp, 0xc
dec esi
jns 0x43130e
push 0
lea edx, [esp + 0x14]
push 0x4b32f0
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
Function at 0x431a00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [eax]
mov dword [0x4c0b20], esi
push edi
mov ecx, dword [eax + 4]
mov dword [0x4c0b24], ecx
mov edx, dword [eax + 8]
mov dword [0x4c0b28], edx
mov eax, dword [eax + 0xc]
mov dword [0x4c0b2c], eax
xor eax, eax
xor ecx, ecx
mov edi, eax
xor edx, edx
mov dl, byte [ecx + 0x4c0b20]
and edi, 0xffff
shr edi, 8
xor edx, edi
xor ebx, ebx
mov bh, al
mov ax, word [edx*2 + 0x4ac260]
xor ax, bx
inc ecx
cmp ecx, 0xe
jl 0x431a31
cmp word [0x4c0b2e], ax
jne 0x431b25
xor eax, eax
mov ecx, 2
mov edi, eax
xor edx, edx
mov dl, byte [ecx + 0x4c0b20]
and edi, 0xffff
shr edi, 8
xor edx, edi
xor ebx, ebx
mov bh, al
mov ax, word [edx*2 + 0x4ac260]
xor ax, bx
inc ecx
cmp ecx, 0xe
jl 0x431a6f
cmp si, ax
jne 0x431b25
mov eax, 9
xor cl, cl
mov dl, 0x80
mov bl, byte [eax + 0x4c0b20]
shl cl, 1
test dl, bl
je 0x431aba
or cl, 1
dec eax
shr dl, 1
cmp eax, 2
jge 0x431aab
mov byte [esp + 0x5c], cl
and cl, 0xf
cmp cl, 0xd
je 0x431b3f
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x14]
and edi, 0xff
push eax
mov esi, edi
shr esi, 4
add esi, 0x7d3
call fcn.00430bb0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x20]
push str._04d__02d
push eax
call fcn.0047e1c0
mov eax, dword [esp + 0x70]
add esp, 0x14
cmp eax, esi
jg 0x431b1e
jne 0x431b3f
mov eax, dword [esp + 0x10]
and edi, 0xf
cmp eax, edi
jle 0x431b3f
mov esi, 0x5c
jmp 0x431b2a
mov esi, 0x5b
push 0x3e8
call fcn.00430a40
add esp, 4
test esi, esi
jne 0x431c33
push 0x4c0b20
call fcn.004312e0
mov eax, dword [0x4b34fc]
add esp, 4
test eax, eax
je 0x431b62
pop edi
pop esi
pop ebp
mov eax, 0x17
pop ebx
add esp, 0x44
ret
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042a6d0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x431c3d
mov ecx, 0x80
mov edi, 0x4b63e0
rep stosd dword es:[edi], eax
xor ebx, ebx
mov esi, 0x4c0ac0
push 0x18
call fcn.0042f9c0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
je 0x431c0c
or eax, 0xffffffff
add esi, 4
mov ecx, 6
inc ebx
cmp esi, 0x4c0b20
rep stosd dword es:[edi], eax
jl 0x431b8c
mov edx, dword [esp + 0x60]
mov ecx, 0x28b0
xor eax, eax
mov edi, 0x4b6800
test edx, edx
rep stosd dword es:[edi], eax
je 0x431bea
mov edi, str.2.0.308
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x4a0ad4], 0xffffffff
jne 0x431bf8
call fcn.004544f0
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword [0x4b34fc], 1
pop ebx
add esp, 0x44
ret
test ebx, ebx
jle 0x431c26
mov esi, 0x4c0ac0
mov edx, dword [esi]
push edx
call fcn.0042f9f0
add esp, 4
add esi, 4
dec ebx
jne 0x431c15
pop edi
pop esi
pop ebp
mov eax, 0x19
pop ebx
add esp, 0x44
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x445090
Capabilities:
Encode data using xor

Disassembly:
push ecx
lea eax, [esp + 8]
push ebp
mov ebp, dword [esp + 0xc]
lea ecx, [esp + 4]
push eax
push ecx
push ebp
call fcn.00444ae0
add esp, 0xc
test eax, eax
jne 0x44510a
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x10]
test esi, esi
jbe 0x4450e4
mov ecx, ebx
xor edx, edx
mov dl, byte [eax + edi]
and ecx, 0xffff
shr ecx, 8
xor edx, ecx
xor ecx, ecx
mov ch, bl
mov bx, word [edx*2 + 0x4ac260]
xor bx, cx
inc eax
cmp eax, esi
jb 0x4450be
push edi
call fcn.0042f9f0
not ebx
and ebx, 0xffff
lea edx, [ebx + ebx*4]
lea eax, [ebx + edx*8]
push eax
push str.CheckKey
push ebp
call fcn.00444de0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x445110
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10]
push eax
push str.CheckKey
push esi
call fcn.00444e60
add esp, 0xc
test eax, eax
je 0x445139
mov eax, 0x5b
pop esi
add esp, 8
ret
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
push esi
call fcn.00444ae0
add esp, 0xc
test eax, eax
jne 0x44520c
push ebp
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x5b
cmp edi, 1
mov esi, edi
je 0x4451ff
cmp byte [esi], 0x20
jne 0x445177
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x44516f
push 8
push esi
push str.CheckKey
call fcn.0047fbf0
add esp, 0xc
test eax, eax
je 0x4451b4
push 0xa
push esi
call fcn.0047e290
add esp, 8
inc eax
mov esi, eax
cmp esi, 1
jne 0x44516a
mov edi, dword [esp + 0x18]
push edi
call fcn.0042f9f0
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
add esp, 8
ret
mov edi, dword [esp + 0x18]
xor ecx, ecx
sub esi, edi
xor eax, eax
test esi, esi
jle 0x4451ea
push ebx
mov ebx, ecx
xor edx, edx
mov dl, byte [eax + edi]
and ebx, 0xffff
shr ebx, 8
xor edx, ebx
xor ebx, ebx
mov bh, cl
mov cx, word [edx*2 + 0x4ac260]
xor cx, bx
inc eax
cmp eax, esi
jl 0x4451c3
pop ebx
mov eax, 0xc7ce0c7d
mul dword [esp + 0xc]
shr edx, 5
not ecx
cmp dx, cx
jne 0x4451ff
xor ebp, ebp
push edi
call fcn.0042f9f0
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
add esp, 8
ret