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

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, 0x105
push edi
jg 0x40774f
cmp eax, 0x106
je 0x40774f
push 0x106
call fcn.00404e70
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x10]
push 0
push 0x434980
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x40777a
mov edx, edi
nop
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x407770
xor edx, edx
mov word [edi + ecx*2], dx
pop edi
mov dword [esi + 4], ecx
pop esi
ret 4

Function at 0x407f50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42fb40
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [eax + 4], ecx
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
movzx eax, word [ebp]
xor edi, edi
cmp ax, cx
je 0x407f9e
inc edi
cmp word [ebp + edi*2], cx
jne 0x407f96
cmp edi, 1
movzx ebx, ax
jl 0x408109
cmp bx, 0x5c
je 0x408109
cmp bx, 0x2e
jne 0x407fd2
cmp edi, 1
je 0x408109
cmp edi, 2
jne 0x407fd2
cmp word [ebp + 2], bx
je 0x408109
push 4
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
call fcn.00404e70
cmp edi, 3
mov dword [esp + 0x4c], 0
jle 0x408019
cmp word [ebp + 2], 0x3a
jne 0x408019
cmp word [ebp + 4], 0x5c
jne 0x408019
cmp bx, 0x61
jb 0x408010
cmp bx, 0x7a
jbe 0x408081
add ebx, 0xffffffbf
cmp bx, 0x19
jbe 0x408081
mov eax, dword [esp + 0x1c]
cmp eax, 0x105
jg 0x408039
cmp eax, 0x106
je 0x408039
push 0x106
lea esi, [esp + 0x18]
call fcn.00404e70
mov eax, dword [esp + 0x14]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea esi, [esp + 0x14]
mov edi, eax
call fcn.00405f90
test edi, edi
je 0x408121
cmp edi, 0x104
ja 0x408121
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp word [edx + ecx*2 - 2], 0x5c
je 0x408081
push 0x5c
mov eax, esi
call fcn.00404c40
mov ebx, str.__
lea eax, [esp + 0x38]
call fcn.00404b30
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
mov edi, eax
mov byte [esp + 0x54], 1
call fcn.00407a30
push ebp
lea ecx, [esp + 0x24]
mov bl, 2
push ecx
mov edi, eax
mov byte [esp + 0x54], bl
call fcn.00408390
mov edi, eax
mov eax, dword [esp + 0x58]
mov byte [esp + 0x4c], 3
call fcn.00404bf0
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0x20]
push edx
call fcn.00421bde
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x30]
push eax
call fcn.00421bde
mov byte [esp + 0x54], 0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00421bde
mov dword [esp + 0x58], 0xffffffff
mov edx, dword [esp + 0x20]
push edx
call fcn.00421bde
add esp, 0x10
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
call fcn.00421bde
add esp, 4
xor al, al
jmp 0x40810b
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x4484c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x4484d6
pop dword [ebp - 0x30]
mov eax, 0xf9168f1f
add eax, 0x72df5b7
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x57f76
push 0
mov eax, 0xb83d7a9c
add eax, 0x48073820
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x6848
xor esi, esi
add esi, eax
mov edx, 0x487e00
add edx, dword [ebp - 0x30]
mov edi, 0xacad6e9f
sub edi, 0x875a0a03
sub dword [ebp - 0x2c], 0x4edc57c9
mov ebx, dword [edx]
xor dword [ebp - 4], 0x8e8fc6ef
sub ebx, edi
sub dword [ebp - 0x28], edx
mov dword [esi], ebx
xor dword [ebp - 0xc], edx
add esi, 0x5e8639bf
sub esi, 0x5e8639bb
add edx, 0xfad9b3f4
sub edx, 0xfad9b3f0
loop 0x44852b
add eax, 0x193f3
xor ebx, ebx
add ebx, eax
add eax, 0x2e606b00
add eax, 0xd19f9505
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x408218
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40826a
test eax, edx
je 0x40826d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40822d
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 0x408253
add ecx, 4
js 0x408243
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408250
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 0x408279
test edx, edx
jne 0x408220
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b440
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 0x40b479
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404904
jmp 0x40b482
mov eax, ebx
mov edx, esi
call fcn.00404868
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b48c
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 0x40b4ae
movzx eax, byte [esp]
jmp 0x40b4b0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb40
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b9b8
mov eax, dword [0x45ba24]
cmp byte [eax], 0
je 0x40bbbc
mov eax, dword [0x45b850]
call fcn.004031c8
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.00408bc0
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 0x40bc04
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bbf2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45b7fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45e7f4]
call fcn.0040596c
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 0x40c47c
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 0x40c552
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048ac
lea eax, [ebp - 4]
call fcn.00404cfc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c53c
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c535
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.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c51f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c564
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c51f
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 0x40c53c
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c559
lea eax, [ebp - 4]
call fcn.00404814
ret

Function at 0x41b08c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4609e8
cmp dword [edi], 0
jne 0x41b108
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4609e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45aad4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b064
lea eax, [esi + 5]
call fcn.0041b084
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b084
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 0x41b0dd
mov dword [0x4609e4], 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 0x41d654
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.00404ca4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d6ac
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45bb40]
mov dl, 1
mov eax, dword [0x41d160]
call fcn.0040bd00
call fcn.0040425c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d268
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 0x41e508
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 0x41e50e
ret
Function at 0x42af7c
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.00404814
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42afca
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.00404a84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4300ac
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 0x4301df
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 [0x41d1c0]
call fcn.0041d290
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4301b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d330
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404a84
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4301f4
call fcn.00404b2c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d394
lea ecx, [ebp - 4]
mov edx, 0x430230
mov eax, dword [ebp - 0xc]
call fcn.0041d5dc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d69c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x430198
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43023c
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 [0x45b438]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43019f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x43028c
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 0x4302d3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4302b6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4302c7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4302d3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x434fd4
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 [0x460c40], 0
je 0x43511d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45b9c8]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43511d
mov eax, dword [0x460c44]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x460c40]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4350ec
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x460c40]
call fcn.00414120
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4350e4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x4350e4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4350e4
mov eax, dword [ebp - 0x14]
call fcn.0043f888
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4350e4
push ebp
call fcn.00434f90
pop ecx
test al, al
jne 0x4350e4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403bfc
test al, al
je 0x4350e4
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.00403bfc
cmp byte [ebp - 1], 0
je 0x4350e4
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4350e4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x460c44]
call fcn.00434700
inc edi
dec ebx
jne 0x435039
mov eax, dword [0x460c44]
cmp dword [eax + 8], 0
jle 0x435104
mov eax, dword [0x460c44]
call fcn.004347b8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43511d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00434df4
pop ecx
test al, al
jne 0x43511d
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 0x43c75c
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.00406634
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.0043735c
test ebx, ebx
jne 0x43c7af
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043c698
mov ebx, eax
test ebx, ebx
je 0x43c89a
cmp esi, ebx
je 0x43c7d8
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 0x43c7ed
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 0x43c825
add eax, 0xffffff5f
sub eax, 2
jb 0x43c83d
dec eax
sub eax, 2
jb 0x43c851
dec eax
sub eax, 2
jb 0x43c847
jmp 0x43c85b
add eax, 0xfffffdff
sub eax, 2
jb 0x43c83d
dec eax
sub eax, 2
jb 0x43c851
dec eax
sub eax, 2
jb 0x43c847
jmp 0x43c85b
mov byte [esp + 0x120], 0
jmp 0x43c863
mov byte [esp + 0x120], 2
jmp 0x43c863
mov byte [esp + 0x120], 1
jmp 0x43c863
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044b1e4
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00438b08
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43c89c
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x444b48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45bb34]
cmp byte [eax + 0xc], 0
je 0x444cb5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444cae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460c50], 0
jne 0x444b9c
push 0x444cbc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444cc4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c50], eax
cmp dword [0x45b580], 0
jne 0x444c97
push 0x444cd4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45b580], eax
cmp dword [0x45b580], 0
je 0x444c97
push 0x444ce0
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c54], eax
push 0x444cf0
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c58], eax
push 0x444d04
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c5c], eax
push 0x444d1c
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c60], eax
push 0x444d34
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c64], eax
push 0x444d48
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c68], eax
push 0x444d60
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c6c], eax
push 0x444d78
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c70], eax
push 0x444d94
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c74], eax
push 0x444da0
mov eax, dword [0x45b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460c78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444cb5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ad28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x44ad49
test edi, 0x40000
je 0x44ad63
test bl, bl
jne 0x44ade4
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x44ade4
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x44ad96
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x44adab
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44adba
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x44adcb
cmp byte [esp + 2], 0
je 0x44ade4
cmp byte [esp + 2], 0
je 0x44addc
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x44ade4
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret