joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43daf8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43db0f
add esp, 0xfffffff0
call fcn.00402f04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411540
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40b5d4]
call fcn.00402bf0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40b5d4]
call fcn.00402bf0
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x4132cc]
call fcn.0041a178
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x43dc80
mov eax, dword [0x442b14]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041a51c
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43f564
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x442b14]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.004092c0
test eax, eax
je 0x43dbff
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004079a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004092e8
test eax, eax
je 0x43dc13
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004039e4
mov eax, dword [0x442a2c]
cmp byte [eax], 0
jne 0x43dc44
mov eax, ebx
call fcn.0043dd6c
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43dc76
call fcn.00402f5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43dfc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4437a4]
cmp dword [eax + 0x24], 0
je 0x43e058
cmp dword [ebx + 0x7c], 0
jne 0x43e055
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43df5c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x43e055
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 0x43e024
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43e055
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040cbf8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43e030
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43e9a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x43e9dd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040389c
jmp 0x43e9e7
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403850
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43f894
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43f8cc
mov eax, esi
call fcn.00429360
test al, al
je 0x43f8cc
mov eax, dword [ebx + 0x6c]
call fcn.00428f80
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f8cc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00428f80
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x503060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xac000]
push edi
jmp 0x50307a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x503081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x503070
mov eax, 1
add ebx, ebx
jne 0x503093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5030a4
jne 0x5030c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5030c3
dec eax
add ebx, ebx
jne 0x5030b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x503088
add ebx, ebx
jne 0x5030bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x503115
xor ecx, ecx
sub eax, 3
jb 0x5030db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50314a
sar eax, 1
mov ebp, eax
jmp 0x5030e6
add ebx, ebx
jne 0x5030e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5030b4
inc ecx
add ebx, ebx
jne 0x5030f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5030b4
add ebx, ebx
jne 0x503101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5030f6
jne 0x503112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5030f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x503134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x503126
jmp 0x503076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x503134
add edi, ecx
jmp 0x503076
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x503152
cmp byte [edi], 0x11
jne 0x503152
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x503157
lea edi, [esi + 0xfc000]
mov eax, dword [edi]
or eax, eax
je 0x5031cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12d208]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12d384]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x503184
mov ecx, edi
jns 0x5031b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12d388]
or eax, eax
je 0x5031c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5031a1
call dword [esi + 0x12d398]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x503200
cmp al, 0xef
ja 0x5031f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5031d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5031e2
mov ebp, dword [esi + 0x12d38c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x503234
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401b5a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b99
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b99
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b99
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b99
cmp dword [ecx + 0x74], 0xe
jbe 0x401b99
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403824
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b8020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40389c
xor eax, eax
push ebp
push 0x403895
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4038d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40389c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4b8020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b8020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046b8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ba048], 0
je 0x404719
cmp word [0x4ba21c], 0xd7b2
jne 0x4046e1
cmp dword [0x4ba224], 0
jbe 0x4046e1
mov eax, 0x4ba218
call dword [0x4ba234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404740
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b802c], 0
jne 0x404735
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40826c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4082be
test eax, edx
je 0x4082c1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408281
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4082a7
add ecx, 4
js 0x408297
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4082a4
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4082cd
test edx, edx
jne 0x408274
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b494
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b4cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404928
jmp 0x40b4d6
mov eax, ebx
mov edx, esi
call fcn.0040488c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b4e0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b502
movzx eax, byte [esp]
jmp 0x40b504
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb94
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ba0c
mov eax, dword [0x4b9a00]
cmp byte [eax], 0
je 0x40bc10
mov eax, dword [0x4b982c]
call fcn.004031ec
call fcn.00402fac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408c14
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bc58
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bc46
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b97d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bc7f4]
call fcn.00405990
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c4bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c592
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048d0
lea eax, [ebp - 4]
call fcn.00404d20
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cc8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c57c
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c575
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cc8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c55f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c5a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c55f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c57c
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c599
lea eax, [ebp - 4]
call fcn.00404838
ret

Function at 0x41b0cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4be9e8
cmp dword [edi], 0
jne 0x41b148
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4be9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b8ad4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b0a4
lea eax, [esi + 5]
call fcn.0041b0c4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b0c4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b11d
mov dword [0x4be9e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404cc8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d6f8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b9b14]
mov dl, 1
mov eax, dword [0x41d1ac]
call fcn.0040bd54
call fcn.00404280
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d2b4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e554
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e55a
ret
Function at 0x42c30c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404838
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42c35a
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404aa8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4303dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43050f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41d20c]
call fcn.0041d2dc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4304e5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d37c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404aa8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x430524
call fcn.00404b50
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d3e0
lea ecx, [ebp - 4]
mov edx, 0x430560
mov eax, dword [ebp - 0xc]
call fcn.0041d628
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d6dc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4304c8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43056c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4b9488]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4304cf
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4305bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x430603
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4305e6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4305f7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x430603
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x435624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4bec48], 0
je 0x43576d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4b99a0]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43576d
mov eax, dword [0x4bec4c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bec48]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43573c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4bec48]
call fcn.00414160
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x435734
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x435734
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435734
mov eax, dword [ebp - 0x14]
call fcn.0043fdf4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x435734
push ebp
call fcn.004355e0
pop ecx
test al, al
jne 0x435734
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403c20
test al, al
je 0x435734
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403c20
cmp byte [ebp - 1], 0
je 0x435734
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435734
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bec4c]
call fcn.00434d50
inc edi
dec ebx
jne 0x435689
mov eax, dword [0x4bec4c]
cmp dword [eax + 8], 0
jle 0x435754
mov eax, dword [0x4bec4c]
call fcn.00434e08
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43576d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435444
pop ecx
test al, al
jne 0x43576d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ccf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406658
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004379ac
test ebx, ebx
jne 0x43cd43
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043cc2c
mov ebx, eax
test ebx, ebx
je 0x43ce2e
cmp esi, ebx
je 0x43cd6c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43cd81
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43cdb9
add eax, 0xffffff5f
sub eax, 2
jb 0x43cdd1
dec eax
sub eax, 2
jb 0x43cde5
dec eax
sub eax, 2
jb 0x43cddb
jmp 0x43cdef
add eax, 0xfffffdff
sub eax, 2
jb 0x43cdd1
dec eax
sub eax, 2
jb 0x43cde5
dec eax
sub eax, 2
jb 0x43cddb
jmp 0x43cdef
mov byte [esp + 0x120], 0
jmp 0x43cdf7
mov byte [esp + 0x120], 2
jmp 0x43cdf7
mov byte [esp + 0x120], 1
jmp 0x43cdf7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044ab50
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043916c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43ce30
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44503c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b9b08]
cmp byte [eax + 0xc], 0
je 0x4451a9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4451a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bec58], 0
jne 0x445090
push 0x4451b0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4451b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec58], eax
cmp dword [0x4b95cc], 0
jne 0x44518b
push 0x4451c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b95cc], eax
cmp dword [0x4b95cc], 0
je 0x44518b
push 0x4451d4
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec5c], eax
push 0x4451e4
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec60], eax
push 0x4451f8
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec64], eax
push 0x445210
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec68], eax
push 0x445228
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec6c], eax
push 0x44523c
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec70], eax
push 0x445254
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec74], eax
push 0x44526c
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec78], eax
push 0x445288
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec7c], eax
push 0x445294
mov eax, dword [0x4b95cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bec80], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4451a9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret