joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434485
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0
push 2
mov dword [ebp - 0x234], 0x22c
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
mov ecx, dword [ebp + 8]
push ecx
mov byte [esi], 0
call fcn.00434304
add esp, 4
cmp byte [esi], 0
mov ebx, eax
jne 0x434563
lea ecx, [ecx]
lea edx, [ebp - 0x234]
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp eax, 1
jne 0x434563
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00413bbe
lea edx, [ebp - 0x63c]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.004116d6
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x438]
push edx
call fcn.0041164b
add esp, 0x24
test eax, eax
jne 0x434544
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x434557
test ebx, ebx
je 0x43455a
mov eax, dword [ebp - 0x22c]
cmp ebx, eax
jne 0x43455a
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov byte [esi], 1
cmp byte [esi], 0
je 0x4344d5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434573
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x4345d4
lea ecx, [ebp - 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 4]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4349fb
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp + 8]
mov esi, eax
cmp edi, esi
jne 0x434a1f
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test esi, esi
jne 0x434a31
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x434a45
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x434b3f
push ebx
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [ebp - 4], eax
call esi
push 1
push edi
push ebx
call esi
mov ecx, dword [ebp - 4]
push 1
push ecx
push edi
call esi
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x434b14
push eax
push eax
push eax
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x434b1b
mov dword [ebp - 8], 4
jmp 0x434b1b
mov dword [ebp - 8], 3
mov ecx, dword [ebp - 4]
push 0
push ecx
push ebx
call esi
push 0
push edi
push ebx
call esi
mov edx, dword [ebp - 4]
push 0
push edx
push edi
call esi
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434b65
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x434bfd
jne 0x434b88
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
cmp esi, 0xf
jae 0x434bf5
mov edi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
je 0x434bf5
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x434bae
fadd qword [0x48bd70]
fstp qword [ebp - 0x28]
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 8]
push ecx
call edi
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0040df40
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x434bb5
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x434db8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [ebp + 0xf], al
cmp byte [ebp + 0x10], al
je 0x434e0d
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
push esi
call fcn.00434d00
push esi
call fcn.00434d5f
push 2
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
push esi
call fcn.00434d00
push esi
call fcn.00434d8c
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x436167
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 8]
je 0x436184
mov eax, dword [eax]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop ebp
ret 8
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop ebp
ret 8

Function at 0x436238
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x436265
lea eax, [ebp + 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 0x43627e
push 1
jmp 0x436267
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
pop ebp
ret 8
Function at 0x436936
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push esi
push 0
push ecx
push 3
push edi
call ebx
test eax, eax
jne 0x436987
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x436993
mov edx, dword [esi]
push edx
call fcn.0043691e
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x436993
mov edx, dword [esi]
push esi
push edx
push eax
push 3
push edi
call ebx
test eax, eax
je 0x436993
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x4369df
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0043688a
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 [ebp + 8]
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 [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call edi
push eax
call ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push 0
push 0
push esi
push 0x43699c
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x436a48
Capabilities:
Impersonate user

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp + 0x14], ecx
test al, 1
je 0x436c22
lea edi, [ecx + 1]
jmp 0x436c2b
test al, 2
je 0x436c2b
mov edi, 2
xor bl, bl
test al, 4
je 0x436c6a
lea eax, [ebp + 0x1c]
push eax
push 0xa
mov dword [ebp + 0x1c], ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [ebp + 0x1c]
push 1
push ecx
lea edx, [ebp + 0x14]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], 0
je 0x436c9f
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
or esi, 0x400
push esi
push edx
mov edx, dword [ebp + 8]
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 [ebp + 0x14]
test eax, eax
je 0x436cad
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4425ab
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea eax, [ebp - 0x258]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x44263a
jmp 0x4425db
lea edx, [ebp - 0x22c]
push 0x486cfc
push edx
call fcn.004132dc
add esp, 8
test eax, eax
je 0x442628
lea eax, [ebp - 0x22c]
push 0x489b88
push eax
call fcn.004132dc
add esp, 8
test eax, eax
je 0x442628
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.004341ad
add esp, 0xc
test al, al
je 0x442654
mov bl, 1
lea ecx, [ebp - 0x258]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4425db
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x442666
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x258]
push edx
push 0x489b80
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x4426f8
mov ebx, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test byte [ebp - 0x258], 0x10
je 0x4426e6
lea eax, [ebp - 0x22c]
push 0x486cfc
push eax
call fcn.004132dc
add esp, 8
test eax, eax
je 0x4426e6
lea ecx, [ebp - 0x22c]
push 0x489b88
push ecx
call fcn.004132dc
add esp, 8
test eax, eax
je 0x4426e6
lea edx, [ebp - 0x22c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
call fcn.004425ab
test al, al
je 0x442706
push 0x489b88
call ebx
lea ecx, [ebp - 0x258]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x442681
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442b75
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a7f10], 0
push esi
push edi
mov esi, 0x4a7540
jne 0x442b95
push 0
call fcn.00414a63
push eax
call fcn.00432848
add esp, 8
mov dword [0x49205c], 0x270
mov dword [0x4a753c], 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
dec edx
mov dword [esi - 4], edi
jne 0x442baa
mov edx, 0x18c
lea esp, [esp]
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
dec edx
mov dword [esi - 4], edi
jne 0x442be5
mov ecx, dword [0x4a7540]
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 0x443099
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x443177
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4430e9
push 1
push esi
push eax
call fcn.00432ba7
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x443154
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x44312a
cmp eax, 0xffffffff
jne 0x4430d4
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 1
push SysReAllocString
push 0x487108
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4430e9
test eax, eax
je 0x4430e9
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.00432ba7
push esi
call fcn.00432bdb
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
test al, 1
je 0x443117
mov eax, dword [esi]
test eax, eax
je 0x4430f8
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44318c
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x44326b
push ecx
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4431de
push 1
push esi
push eax
call fcn.00432ba7
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x443248
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x44321e
cmp eax, 0xffffffff
jne 0x4431c9
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x487108
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4431de
test eax, eax
je 0x4431de
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0x14]
push ecx
push edx
call fcn.00432ba7
push esi
call fcn.00432bdb
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
test dword [ebp + 0xc], eax
je 0x44320c
mov eax, dword [esi]
test eax, eax
je 0x4431ed
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4432ab
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
push ecx
mov dword [ebp + 0x10], edx
call fcn.00432bf8
test al, al
je 0x4432fb
test ebx, ebx
je 0x4432fb
test edi, edi
je 0x4432fb
push esi
push edx
lea eax, [ebp + 0x10]
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 0x4432f1
push esi
call fcn.00432bdb
add esp, 4
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
mov eax, edx
pop ebx
pop ebp
ret 0xc

Function at 0x44370a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x443728
push esi
call fcn.0043393f
add esp, 4
test al, al
jne 0x443741
push 1
jmp 0x44372a
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
pop ebp
ret
Function at 0x4439cd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4974ee], 0
test edi, edi
je 0x443a12
mov byte [0x4974ef], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x4438a7
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00413f2f
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x443a45
push 0xffffffffffffffff
push esi
mov byte [0x4974ef], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4974ee], 1
jne 0x443a57
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x443b7c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00443b5f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
pop ebp
ret 0xc
Function at 0x44548a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4454a6
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 1
jne 0x445501
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x4454be
mov edi, 0x7fff
push ebx
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411777
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
push esi
push ebx
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebx
test eax, eax
jg 0x44550c
push esi
call fcn.0041137c
add esp, 4
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
mov edi, dword [ebp + 8]
cmp byte [edi + 0xc], cl
jne 0x445525
push esi
call fcn.00411361
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.0041366c
add esp, 8
push esi
test eax, eax
je 0x4454f9
mov byte [edi + 0xe8], 1
call fcn.0041137c
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x445a6c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.004456c1
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
shl eax, 0x10
or eax, 1
cmp dword [ebp + 0xc], 0
push eax
jge 0x445acd
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x445b00
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.004456c1
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x44a5b6
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x44a5df
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call fcn.0044a489
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 0x70]
mov ecx, dword [edi + 0x54]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x10]
push 0
push 0
push ebx
push eax
movzx eax, word [esi + 0x78]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, dword [edi + 4]
push eax
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
push 0
test eax, eax
jne 0x44a626
push 0xdeadbeef
push 0x15
push edi
call fcn.00441ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x60]
push edx
push SysReAllocString
push esi
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov esi, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
jne 0x44a655
push esi
push 0xdeadbeef
push 0x16
jmp 0x44a69d
lea edx, [ebp + 0x10]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
xor eax, eax
or eax, dword [ebp + 0xc]
xor edx, edx
or ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
cmp byte [ebp + 0x14], dl
je 0x44a697
push esi
push edi
call fcn.00442218
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.00431d9a
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push edi
call fcn.00441ff0
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00431d9a
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10