joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410280
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x410295
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
ret
cmp eax, 4
push edi
jle 0x41030c
mov edi, 4
mov eax, 4
sub eax, edi
push eax
lea ecx, [edi + esi + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
call fcn.00415e60
mov eax, dword [esi + 0x58]
sub eax, edi
mov edx, esi
push edi
lea ecx, [eax + esi + 0x14]
sub edx, edi
push ecx
add edx, 0x14
push edx
call fcn.00412960
mov eax, dword [esi + 4]
push eax
push 0x40
lea ecx, [esi + 0x14]
push 1
push ecx
mov dword [esi + 0x54], edi
call fcn.00415c17
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
pop edi
test eax, eax
jne 0x410288
mov edx, dword [esi + 4]
push edx
call fcn.00415c34
add esp, 4
test eax, eax
je 0x429b18
or eax, 0xffffffff
ret
mov edi, eax
jmp 0x4102a0
je 0x429b61
fistp dword [edi + 0x17]
inc esi
push ds
int1
add byte [edx - 0x3e85f4e5], al
ror byte [edx - 0xfde99dd], 1
cmp al, 0x88
wait
sub ebp, ebx
call 0xfe4402e3
push esp
dec ecx
sti
push ecx
aaa
cli
aas
jmp dword [eax]
jmp dword [eax]

Function at 0x410310
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
call fcn.00410280
cmp eax, 0xffffffff
je 0x41040c
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
lea edi, [ebx + 1]
call fcn.004101e0
mov edi, dword [esp + 0x18]
dec edi
test edi, edi
jle 0x410386
jmp 0x410340
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x410393
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xd
je 0x410378
cmp eax, 0xffffffff
je 0x410386
cmp eax, 0xa
je 0x410386
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jl 0x410340
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
call fcn.00410280
cmp eax, 0xa
jne 0x429b63
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
cmp eax, 4
jle 0x429b2d
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov edx, 4
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
call fcn.00415e60
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
mov ecx, esi
sub ecx, eax
lea ecx, [ecx + edx + 0x14]
push eax
mov edx, esi
sub edx, eax
push ecx
add edx, 0x14
push edx
call fcn.00412960
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
push ecx
push 0x40
lea edx, [esi + 0x14]
push 1
push edx
mov dword [esi + 0x54], eax
call fcn.00415c17
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x410348
jmp 0x429b36
xor al, al
pop esi
ret 8
mov byte [ebx - 0x521714d5], bl
add esi, edi
mov word [edi], es
invalid
Function at 0x410a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp]
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
test al, 0x14
jne 0x410a96
test al, al
js 0x429b7b
test al, 0x20
jne 0x429b87
test al, 0x40
jne 0x429b93
mov eax, dword [esp + 0xc]
push 0x481d68
push eax
call fcn.0041550c
add esp, 8
test eax, eax
je 0x410a96
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00415c17
push esi
mov edi, eax
call fcn.004158fb
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x410a8c
cmp al, 0xff
je 0x429b9f
cmp al, 0xfe
je 0x429bba
cmp al, 0xef
je 0x429bd5
pop edi
pop esi
pop ebp
ret 8
enter 0xdba, 0xffffffffffffffdb
ud0
enter 0xdba, 0xffffffffffffffde
ud0
enter 0xdba, 0xffffffffffffffdd
ud0
inc dword [ecx]
scasd eax, dword es:[edi]
xchg ecx, eax
jmp dword [eax]
pop dword [ebx - 0xf0e31db]
test byte [0x18fe0161], bh
dec edx
add bh, bl
ud0
pop edi
jae 0x429b98
adc byte [eax], ah
add byte [edx - 0x3a], bh
mov cl, 0xf1
add dh, al
lcall 0x390f, 0xdf01fd03
inc esp
xlatb
push cs
push ss
mov esi, 0x8200f1b1
and byte [eax + esi*8], cl
sub dword [ecx + 0x61], 1
and byte [eax], 0xc
lock sub dword [ecx + 0x61], 1
invalid

Function at 0x410d10
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00414350
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x411770
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x48e910]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push bind
push bind
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x48e910]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x48e908], eax
call esi
mov edx, dword [0x48e908]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x48e904], eax
call esi
mov eax, dword [0x48e908]
push 0
push eax
call esi
pop esi
ret

Function at 0x411c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
lea eax, [esp]
push eax
xor edx, edx
push 1
push edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov word [esi], dx
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411cda
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x14], 0
je 0x411cd0
shr dword [esp + 0x14], 1
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x435a73
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a0898
call fcn.00414350
push 0x10
push 0
push 0x4a0888
call fcn.00414350
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a0888
push 0x4a0898
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a0898], 0x44
mov dword [0x4a08c4], 1
mov word [0x4a08c8], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x435ae6
mov edx, dword [0x4a0888]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret 4

Function at 0x43603f
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x436183
nop
lea edx, [esp + 0x3c]
push 0x481e54
push edx
call fcn.0041455e
add esp, 8
test eax, eax
je 0x4360c4
lea eax, [esp + 0x3c]
push 0x484c38
push eax
call fcn.0041455e
add esp, 8
test eax, eax
je 0x4360c4
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x43617c
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x43606f
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x436171
lea edx, [esp + 0x10]
push edx
push 0x484c30
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x43616a
mov edi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x43615a
lea eax, [esp + 0x3c]
push 0x481e54
push eax
call fcn.0041455e
add esp, 8
test eax, eax
je 0x43615a
lea ecx, [esp + 0x3c]
push 0x484c38
push ecx
call fcn.0041455e
add esp, 8
test eax, eax
je 0x43615a
lea edx, [esp + 0x3c]
push edx
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.0043603f
test al, al
je 0x43617c
push 0x484c38
call edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4360ff
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x436907
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49e930], eax
mov edx, 1
mov eax, 0x49e930
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x49f2ec
jl 0x43691b
mov dword [0x48caac], 1
mov dword [0x49f300], 1
pop edi
ret
Function at 0x4388eb
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xa5c
push ebx
push ebp
mov ebp, dword [esp + 0xa68]
push esi
mov esi, dword [esp + 0xa74]
push edi
push 0
push 2
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.DLL_Process32FirstW
push ebp
mov byte [esi], 0
call fcn.00438755
add esp, 4
cmp byte [esi], 0
mov ebx, eax
jne 0x4389d3
lea ecx, [ecx]
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.DLL_Process32NextW
cmp eax, 1
jne 0x4389d3
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x65c]
push ecx
lea edx, [esp + 0x86c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00415060
lea ecx, [esp + 0x45c]
push ecx
lea edx, [esp + 0x254]
push edx
call fcn.00412518
lea eax, [esp + 0x258]
push ebp
push eax
call fcn.00412485
add esp, 0x24
test eax, eax
jne 0x4389b2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa74]
mov dword [edx], ecx
jmp 0x4389c7
test ebx, ebx
je 0x4389ca
mov eax, dword [esp + 0x18]
cmp ebx, eax
jne 0x4389ca
mov ecx, dword [esp + 0xa74]
mov dword [ecx], eax
mov byte [esi], 1
cmp byte [esi], 0
je 0x43893b
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xa5c
ret

Function at 0x4389e7
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 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 0x438a49
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 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
add esp, 8
ret
Function at 0x439120
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ecx
push ebp
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, dword [esp + 0x10]
mov esi, eax
cmp ebp, esi
jne 0x43913e
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
test esi, esi
jne 0x439150
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x439164
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x439257
push ebx
push edi
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
push ebp
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebp, eax
push ebp
push ebx
call esi
push 1
push edi
push ebx
call esi
push 1
push ebp
push edi
call esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x439231
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 ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x439239
mov dword [esp + 0x10], 4
jmp 0x439239
mov dword [esp + 0x10], 3
push 0
push ebp
push ebx
call esi
push 0
push edi
push ebx
call esi
push 0
push ebp
push edi
call esi
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 4
pop esi
mov eax, 2
pop ebp
pop ecx
ret 4
Function at 0x4443a2
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x30], 0
lea esi, [edi + 0x30]
je 0x44440a
mov eax, dword [edi + 0x34]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
lea ebx, [edi + 0x34]
push eax
push ebx
call ebp
cmp eax, 0x1f6
je 0x444408
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [esi]
push 0x1f6
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov edx, dword [esi]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call fcn.00436ed6
add esp, 4
push 0x1f6
push ebx
call ebp
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x444548
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 0x44462d
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44459a
push 1
push esi
push eax
call fcn.00436ea6
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 0x444608
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 0x4445dd
cmp eax, 0xffffffff
jne 0x444585
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 1
push bind
push 0x4822a0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44459a
test eax, eax
je 0x44459a
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00436ea6
push esi
call fcn.00436ed6
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0xc
test al, 1
je 0x4445ca
mov eax, dword [esi]
test eax, eax
je 0x4445a9
pop esi
add esp, 0xc
ret 0xc
Function at 0x444642
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 0x444729
push ecx
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x444697
push 1
push esi
push eax
call fcn.00436ea6
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 0x444704
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 0x4446d9
cmp eax, 0xffffffff
jne 0x444682
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 2
push 0x40000000
push 0x4822a0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x444697
test eax, eax
je 0x444697
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00436ea6
push esi
call fcn.00436ed6
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 0x4446c7
mov eax, dword [esi]
test eax, eax
je 0x4446a6
pop esi
add esp, 0xc
ret 0x14

Function at 0x444779
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x20], 0
jne 0x4447a3
push esi
call fcn.00436f38
test al, al
je 0x4447a3
mov eax, dword [esi + 8]
push eax
call fcn.0044440f
add esp, 4
push eax
mov dword [esi + 0x20], eax
call fcn.00436e7d
cmp dword [esi + 0x24], 0
jne 0x4447d6
push esi
call fcn.00436f1c
test al, al
je 0x4447d6
push esi
call fcn.00436f0c
test al, al
jne 0x4447d6
mov ecx, dword [esi + 0x10]
push ecx
call fcn.0044440f
add esp, 4
mov dword [esi + 0x24], eax
pop esi
mov dword [esp + 4], eax
jmp fcn.00436e7d
pop esi
ret 4

Function at 0x444801
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.00436ef0
test al, al
je 0x444853
test ebx, ebx
je 0x444853
test edi, edi
je 0x444853
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 0x444849
push esi
call fcn.00436ed6
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 0x444ab1
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x444ace
push esi
call fcn.00437e30
add esp, 4
test al, al
jne 0x444ae7
push 1
jmp 0x444ad0
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 0x446894
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4468b0
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 1
jne 0x446908
push 0
push 0
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x4468c8
mov edi, 0x7fff
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412288
add esp, 4
mov esi, eax
push esi
push ebp
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebp
test eax, eax
jg 0x446913
push esi
call fcn.00412949
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xc], 0
jne 0x44692e
push esi
call fcn.004143ca
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.004148ec
add esp, 8
push esi
test eax, eax
je 0x446900
mov byte [edi + 0xb8], 1
call fcn.00412949
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x446da6
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.00446a58
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x18], 0
push eax
jge 0x446e09
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call ebp
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 0x446e38
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call ebp
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 ebp
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.00446a58
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x449c4f
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x49f310
call fcn.0044363a
test al, al
je case.0x449cbb.5
mov eax, dword [esp + 0x18]
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov ebx, dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x49f384]
mov edx, dword [ecx + eax*4]
mov esi, dword [edx]
mov edi, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], ebx
call fcn.004376fe
movzx eax, byte [esi + 0x78]
dec eax
add esp, 4
cmp eax, 0x1a
ja case.0x449cbb.5
movzx ecx, byte [eax + 0x449e0f]
jmp dword [ecx*4 + 0x449def]
mov ebx, dword [esp + 0x1c]
cmp ebx, 0xfe000000
jne 0x449cde
mov dword [esi + 0x44], ebx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0
push 0x1001
push edi
call ebp
push ebx
push 0
push 0x1026
push edi
call ebp
mov edx, dword [esp + 0x18]
push 1
push esi
push edx
call fcn.00435ae9
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x1c]
push 1
push 0
push eax
mov dword [esi + 0x44], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esp + 0x1c]
push 1
push esi
push ebx
mov dword [esi + 0x44], ecx
call fcn.00435ae9
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jl case.0x449cbb.5
test byte [esi + 0x7a], 0x20
mov dword [esi + 0x44], eax
jne 0x449dd6
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
mov edx, dword [esi]
push 5
push edx
call edi
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8

Function at 0x44b8e7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
sub dword [0x48caac], 1
jne 0x44b8f6
call fcn.00443eef
mov ecx, dword [0x49e92c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49e92c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
test edx, edx
jge 0x44b93f
fadd qword [0x487210]
fmul qword [0x487208]
pop ecx
ret