joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4896c0
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x4896e2
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x4896f6
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x48970a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x48989d
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x48986e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x48976c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x4897d6
mov eax, dword [esp + 0x14]
push eax
call fcn.0048cb87
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.0048ca9e
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x489883
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x489883
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x4898a4
jmp 0x48975c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.0048ec35
add esp, 8
push 1
call fcn.0048e3ce
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x4a03b1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a03e9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049e465
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049e43d
jmp 0x4a03f5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a1aa3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a1ae5
call fcn.004a7b51
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a1ae5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a1adc
xor eax, eax
jmp 0x4a1aed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a1af3
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a8081
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a80af
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a80cd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a7fe7
jmp 0x4a80cd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a80cd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a7fe7
test edi, edi
mov eax, edi
jne 0x4a80b7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x403203
pop dword [ebp - 0xc]
mov eax, 0xeda5c67
sub eax, 0xe9a2a64
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x35f8a554
add dword [ebp - 0x1c], 0x18599ff7
mov dword [ebp - 0x18], 0x59dccbef
sub dword [ebp - 0x18], 0x27a97faa
mov dword [ebp - 0x14], 0xe6de6e73
add dword [ebp - 0x14], 0x656dd5bb
mov dword [ebp - 0x10], 0xe01b4916
sub dword [ebp - 0x10], 0xe01b4916
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xa8ab8194
sub eax, 0xa86b1130
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x21916380
add dword [ebp - 0x1c], 0x52e105d6
mov dword [ebp - 0x18], 0x1384e7b1
sub dword [ebp - 0x18], 0xd218863c
mov dword [ebp - 0x14], 0xb550376e
sub dword [ebp - 0x14], 0x51e0cb02
mov dword [ebp - 0x10], 0x58ffdae
add dword [ebp - 0x10], 0xfa700252
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x38cf1
push 0
call eax
mov ecx, 0x3d0cd5a1
add ecx, 0xc2f37b3b
xor edx, edx
add edx, eax
mov edi, 0x378501ba
sub edi, 0x374401ba
add edi, dword [ebp - 0xc]
mov esi, 0xf926b18c
sub esi, 0xdec97966
sub dword [ebp - 8], 0x9db9675a
mov ebx, dword [edi]
mov dword [ebp - 8], 0x263fa1e6
xor ebx, esi
add dword [ebp - 4], 0x6e624c36
mov dword [edx], ebx
sub dword [ebp - 8], 0xc00aade7
add edx, 0x6c856de2
add edx, 0x937a9222
add edi, 0xa44c99bc
sub edi, 0xa44c99b8
loop 0x403322
add eax, 0x8fe19ff5
sub eax, 0x8fe069b2
mov ebx, eax
add eax, 0x8b008f65
add eax, 0x74ff70a0
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
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 [0x4599ec]
cmp byte [eax], 0
je 0x40bbbc
mov eax, dword [0x45981c]
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 [0x4597c8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c7f4]
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, 0x45e9e8
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 [0x45e9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x458ad4
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 [0x45e9e4], 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 0x41d64c
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 0x41d6a4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x459b08]
mov dl, 1
mov eax, dword [0x41d158]
call fcn.0040bd00
call fcn.0040425c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d260
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 0x4297c8
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 0x429816
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 0x42e8f8
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 0x42ea2b
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 [0x41d1b8]
call fcn.0041d288
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x42ea01
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d328
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, 0x42ea40
call fcn.00404b2c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d38c
lea ecx, [ebp - 4]
mov edx, 0x42ea7c
mov eax, dword [ebp - 0xc]
call fcn.0041d5d4
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d69c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42e9e4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x42ea88
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 [0x459404]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e9eb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x42ead8
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 0x42eb1f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42eb02
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42eb13
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x42eb1f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43368c
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 [0x45ec40], 0
je 0x4337d5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x459990]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4337d5
mov eax, dword [0x45ec44]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45ec40]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4337a4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45ec40]
call fcn.00414120
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43379c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43379c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43379c
mov eax, dword [ebp - 0x14]
call fcn.0043de20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43379c
push ebp
call fcn.00433648
pop ecx
test al, al
jne 0x43379c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403bfc
test al, al
je 0x43379c
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 0x43379c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43379c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45ec44]
call fcn.00432db8
inc edi
dec ebx
jne 0x4336f1
mov eax, dword [0x45ec44]
cmp dword [eax + 8], 0
jle 0x4337bc
mov eax, dword [0x45ec44]
call fcn.00432e70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4337d5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004334ac
pop ecx
test al, al
jne 0x4337d5
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 0x43acf4
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.00435a14
test ebx, ebx
jne 0x43ad47
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043ac30
mov ebx, eax
test ebx, ebx
je 0x43ae32
cmp esi, ebx
je 0x43ad70
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 0x43ad85
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 0x43adbd
add eax, 0xffffff5f
sub eax, 2
jb 0x43add5
dec eax
sub eax, 2
jb 0x43ade9
dec eax
sub eax, 2
jb 0x43addf
jmp 0x43adf3
add eax, 0xfffffdff
sub eax, 2
jb 0x43add5
dec eax
sub eax, 2
jb 0x43ade9
dec eax
sub eax, 2
jb 0x43addf
jmp 0x43adf3
mov byte [esp + 0x120], 0
jmp 0x43adfb
mov byte [esp + 0x120], 2
jmp 0x43adfb
mov byte [esp + 0x120], 1
jmp 0x43adfb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00449674
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004371b0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43ae34
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x443000
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x459afc]
cmp byte [eax + 0xc], 0
je 0x44316d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443166
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ec50], 0
jne 0x443054
push 0x443174
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44317c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec50], eax
cmp dword [0x45954c], 0
jne 0x44314f
push 0x44318c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45954c], eax
cmp dword [0x45954c], 0
je 0x44314f
push 0x443198
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec54], eax
push 0x4431a8
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec58], eax
push 0x4431bc
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec5c], eax
push 0x4431d4
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec60], eax
push 0x4431ec
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec64], eax
push 0x443200
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec68], eax
push 0x443218
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec6c], eax
push 0x443230
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec70], eax
push 0x44324c
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec74], eax
push 0x443258
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44316d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4491b8
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 0x4491d9
test edi, 0x40000
je 0x4491f3
test bl, bl
jne 0x449274
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x449274
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 0x449226
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x44923b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44924a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x44925b
cmp byte [esp + 2], 0
je 0x449274
cmp byte [esp + 2], 0
je 0x44926c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x449274
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret