joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a831
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x43a85e
lea eax, [esp + 0xc]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x43a877
push 1
jmp 0x43a860
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
ret 8

Function at 0x43aed6
Capabilities:
Get token privileges

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
push esi
push 0
push eax
push 3
push edi
call ebx
test eax, eax
jne 0x43af27
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43af33
mov ecx, dword [esi]
push ecx
call fcn.0043ae30
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x43af33
mov edx, dword [esi]
push esi
push edx
push eax
push 3
push edi
call ebx
test eax, eax
je 0x43af33
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x43af7c
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
call fcn.0043ae5e
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
mov esi, eax
push 0
push esi
call edi
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call ebx
push 2
push 0
push 0
lea edx, [esi + 8]
push edx
call edi
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ecx
call edi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push 0
push 0
push esi
push 0x43af3c
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x43afe4
Capabilities:
Impersonate user

Disassembly:
movsx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
and eax, 2
or eax, 4
push 0
shr eax, 1
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
ret 0x14
Function at 0x43b1a0
Capabilities:
Create process on windows

Disassembly:
mov al, byte [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x1c], ecx
test al, 1
je 0x43b1bc
lea edi, [ecx + 1]
jmp 0x43b1c5
test al, 2
je 0x43b1c5
mov edi, 2
xor bl, bl
test al, 4
je 0x43b208
push ebp
lea eax, [esp + 0x28]
push eax
push 0xa
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 0x28]
push 1
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebp, eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
je 0x43b245
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
or esi, 0x400
push esi
push edx
mov edx, dword [esp + 0x28]
push 0
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43b254
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
pop esi
mov al, bl
pop ebx
ret 0x24
Function at 0x442f0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x184]
mov eax, dword [ebp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0x1c]
je 0x442fc8
mov edi, 3
cmp dword [esi + 0x84], edi
jl 0x442fbe
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
cmp dword [eax], 0
je 0x442fb5
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp dword [eax + 4], ecx
jne 0x442fb5
cmp byte [eax + 0x88], 0xb
je 0x442fb5
mov cl, byte [eax + 0x8b]
movzx edx, cl
cmp edx, dword [ebp + 0x184]
je 0x442f89
cmp byte [ebp + 0x18c], 0
je 0x442fb5
cmp cl, 0xff
je 0x442fb5
cmp byte [eax + 0x88], 0xa
je 0x442fb5
mov eax, dword [eax]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
test byte [eax + 0x8a], 0x40
je 0x442fb5
cmp byte [eax + 0x88], 0x1a
jne 0x442fb5
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, dword [esi + 0x84]
jle 0x442f42
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x184], ecx
mov edi, 3
cmp dword [esi + 0x84], edi
jl 0x443057
lea ecx, [ecx]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
cmp dword [eax], 0
je 0x44304e
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp dword [eax + 4], ecx
jne 0x44304e
cmp byte [eax + 0x88], 0xb
je 0x44304e
movzx edx, byte [eax + 0x8b]
cmp edx, dword [ebp + 0x184]
jne 0x44304e
test byte [eax + 0x8a], 0x20
jne 0x44304e
mov eax, dword [eax]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
mov ecx, dword [eax]
push 4
push ecx
call ebx
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
mov eax, dword [eax]
test byte [eax + 0x8a], 0x40
je 0x44304e
cmp byte [eax + 0x88], 0x1a
jne 0x44304e
mov ecx, dword [eax]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, dword [esi + 0x84]
jle 0x442fdc
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x17c]
push 0
push edx
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x44412f
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x214
push ebx
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
je 0x4441f9
mov ecx, dword [0x4a6dbc]
xor eax, eax
cmp byte [ecx + 0x2a], al
je 0x444184
mov eax, 0x100
lea edx, [esp + 0x14]
push edx
or eax, 0x20019
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444205
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044412f
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x444205
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x444205
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
jne 0x444172
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x214
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x214
ret
Function at 0x444885
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [esp + 0x14], 0
jne 0x4446db
mov dword [esp + 0x14], 0x400
cmp dword [esp + 0x10], 0
je 0x444734
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043661b
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x444762
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44472b
push eax
push edi
lea ecx, [esi + 0x44]
push ecx
call fcn.004365ad
mov eax, dword [esp + 0x10]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4446e2
jmp 0x444734
push edi
call fcn.0041293d
add esp, 4
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x444750
push edx
push 0xdeadbeef
push 0x21
push esi
call fcn.0044466e
pop edi
pop esi
pop ebx
ret 8
push 1
push 0
push 0
push esi
call fcn.0044466e
pop edi
pop esi
pop ebx
ret 8
push edi
call fcn.0041293d
add esp, 4
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044466e
pop edi
pop esi
pop ebx
ret 8
sub esp, 0x40c
push ebx
push esi
mov esi, dword [esp + 0x418]
mov eax, dword [esi + 0x34]
push edi
push 0x488468
push eax
mov dword [esp + 0x1c], fcn.004164cd
call fcn.0041643f
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x4447db
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.0044466e
mov bl, al
lea eax, [esp + 0x10]
push eax
call fcn.004364c3
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44485c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44482c
push edi
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00415d07
mov eax, dword [esp + 0x1c]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x4447e3
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x444872
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.0044466e
lea ecx, [esp + 0x10]
push ecx
mov bl, al
call fcn.004364c3
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044466e
lea edx, [esp + 0x10]
push edx
jmp 0x444847
push 1
push 0
push 0
push esi
call fcn.0044466e
lea edx, [esp + 0x10]
push edx
jmp 0x444847
mov eax, dword [esp + 4]
cmp byte [eax + 0x30], 0
mov ecx, dword [esp + 8]
je 0x4448a0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x4446a1
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x444780
Function at 0x444902
Capabilities:
Create http request

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp ecx, 1
jne 0x44491c
movzx eax, word [esi + 0x8c]
jmp 0x444920
movzx eax, word [esi + 0x58]
cmp ecx, 1
movsx edx, ax
lea ecx, [esi + 0xb0]
je 0x444931
lea ecx, [esi + 0x7c]
mov eax, dword [esi + 0xc0]
push 0
cmp edx, 1
jne 0x444945
push 0
push 0
push edx
jmp 0x44498f
cmp edx, 2
jne 0x444989
mov ecx, dword [ecx]
push str._local_
push ecx
push 3
jmp 0x44498f
cmp byte [esi + 0xdc], 0
je 0x444980
push 8
lea eax, [esp + 8]
push eax
push 0x32
push 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, 1
pop esi
add esp, 8
ret 8
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
jne 0x444956
xor al, al
pop esi
add esp, 8
ret 8

Function at 0x444c23
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov ebp, ecx
mov ecx, dword [esp + 0x268]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x444cb2
lea ebx, [ebx]
lea edx, [esp + 0x3c]
push 0x487f84
push edx
call fcn.004148f4
add esp, 8
test eax, eax
je 0x444ca2
lea eax, [esp + 0x3c]
push 0x48adf8
push eax
call fcn.004148f4
add esp, 8
test eax, eax
je 0x444ca2
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x26c]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0043889d
add esp, 0xc
test al, al
je 0x444cd4
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x444c53
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [esp + 0x274], 0
jne 0x444cea
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x48adf0
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x444d83
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x444d73
lea eax, [esp + 0x3c]
push 0x487f84
push eax
call fcn.004148f4
add esp, 8
test eax, eax
je 0x444d73
lea ecx, [esp + 0x3c]
push 0x48adf8
push ecx
call fcn.004148f4
add esp, 8
test eax, eax
je 0x444d73
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x26c]
push eax
mov eax, dword [esp + 0x26c]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00444c23
test al, al
je 0x444d95
push 0x48adf8
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x444d07
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x254
ret 0x10
Function at 0x4451e8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a56d8], 0
push esi
push edi
mov esi, 0x4a4d08
jne 0x445208
push 0
call fcn.00416328
push eax
call fcn.00436ea8
add esp, 8
mov dword [0x49323c], 0x270
mov dword [0x4a4d04], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x44521d
mov edx, 0x18c
mov edi, edi
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x445258
mov ecx, dword [0x4a4d08]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x4456de
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push esi
mov esi, dword [esp + 0x18]
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test al, 0x10
je 0x4457c3
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x445730
push 1
push esi
push eax
call fcn.004371af
mov eax, dword [esi]
add esp, 0xc
pop esi
add esp, 0xc
ret 0xc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x44579e
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x445773
cmp eax, 0xffffffff
jne 0x44571b
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 1
push accept
push 0x4883c4
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x445730
test eax, eax
je 0x445730
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.004371af
push esi
call fcn.004371df
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0xc
test al, 1
je 0x445760
mov eax, dword [esi]
test eax, eax
je 0x44573f
pop esi
add esp, 0xc
ret 0xc
Function at 0x4457d8
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test al, 0x10
je 0x4458bf
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44582d
push 1
push esi
push eax
call fcn.004371af
mov eax, dword [esi]
add esp, 0xc
pop esi
add esp, 0xc
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
add esp, 0xc
ret 0x14
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 8]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x44589a
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x44586f
cmp eax, 0xffffffff
jne 0x445818
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 2
push 0x40000000
push 0x4883c4
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44582d
test eax, eax
je 0x44582d
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004371af
push esi
call fcn.004371df
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0x14
test dword [esp + 0x18], eax
je 0x44585d
mov eax, dword [esi]
test eax, eax
je 0x44583c
pop esi
add esp, 0xc
ret 0x14

Function at 0x4458fd
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
push ecx
mov dword [esp + 0x18], edx
call fcn.004371f9
test al, al
je 0x44594f
test ebx, ebx
je 0x44594f
test edi, edi
je 0x44594f
push esi
push edx
lea eax, [esp + 0x1c]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x445945
push esi
call fcn.004371df
add esp, 4
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
pop edi
mov eax, edx
pop ebx
ret 0xc

Function at 0x445da1
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x445dbe
push esi
call fcn.00437ff6
add esp, 4
test al, al
jne 0x445dd7
push 1
jmp 0x445dc0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
ret
Function at 0x44604d
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
mov byte [0x494cb6], 0
test edi, edi
je 0x446094
mov byte [0x494cb7], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
push 0x445f2a
push esi
push esi
mov dword [esp + 0x24], edi
call fcn.00415797
add esp, 0x18
mov esi, eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x4460cb
push 0xffffffffffffffff
push esi
mov byte [0x494cb7], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x494cb6], 1
jne 0x4460dd
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x4461b6
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00446199
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
ret 0xc
Function at 0x446709
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [esp + 0x2c], 1
cmp word [eax], si
jne 0x446730
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x18
push ebp
push eax
or eax, 0xffffffff
call fcn.00410940
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x30]
push ebp
mov byte [ebx], 0
mov byte [eax], 0
mov byte [ecx], 0
mov byte [edx], 0
call fcn.00414ce0
inc eax
push eax
call fcn.00412c2a
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov al, byte [esi + ebp]
cmp al, 0x2b
je 0x446781
cmp al, 0x5e
je 0x44677d
cmp al, 0x21
je 0x44677d
cmp al, 0x23
jne 0x4467b1
cmp al, 0x2b
jne 0x44678b
mov eax, dword [esp + 0x24]
mov byte [eax], 1
inc esi
jmp 0x44676a
cmp al, 0x5e
jne 0x446799
mov edx, dword [esp + 0x28]
mov byte [edx], 1
inc esi
jmp 0x44676a
cmp al, 0x21
jne 0x4467a7
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
inc esi
jmp 0x44676a
cmp al, 0x23
jne 0x4467ae
mov byte [ebx], 1
inc esi
jmp 0x44676a
mov al, byte [esi + ebp]
inc esi
mov byte [esp + 0x14], al
mov dword [esp + 0x10], esi
cmp al, 0x7b
jne 0x446862
lea edx, [esp + 0x10]
push edx
push ecx
push ebp
push 0x7d
call fcn.00439333
test eax, eax
je 0x4467e9
mov byte [esp + 0x30], 0
jmp 0x44689e
mov esi, dword [esp + 0x1c]
mov eax, dword [edi*4 + 0x493b10]
push esi
push eax
call fcn.004278a3
add esp, 8
test eax, eax
je 0x446808
inc edi
cmp edi, 0x62
jl 0x4467e9
cmp edi, 0x62
jne 0x44684a
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov edx, dword [esp + 0x20]
cwde
mov dword [edx], eax
test eax, 0x200
je 0x44682c
mov ecx, dword [esp + 0x28]
mov byte [ecx], 1
test eax, 0x400
je 0x44683a
mov edx, dword [esp + 0x2c]
mov byte [edx], 1
test eax, 0x100
je 0x44689e
mov eax, dword [esp + 0x24]
mov byte [eax], 1
jmp 0x44689e
cmp byte [edi + 0x493c98], 0
jne 0x4467d7
mov ecx, dword [edi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
jmp 0x44689e
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [esp + 0x20]
cwde
mov dword [ecx], eax
test eax, 0x200
je 0x446882
mov edx, dword [esp + 0x28]
mov byte [edx], 1
test eax, 0x400
je 0x446890
mov ecx, dword [esp + 0x2c]
mov byte [ecx], 1
test eax, 0x100
je 0x44689e
mov edx, dword [esp + 0x24]
mov byte [edx], 1
mov eax, dword [esp + 0x20]
and dword [eax], 0xff
push ebp
call fcn.0041293d
mov eax, dword [esp + 0x20]
push eax
call fcn.0041293d
mov al, byte [esp + 0x38]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 0x18