joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e6c76
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004d5a56
and dword [ebp - 4], 0
cmp dword [0x54d208], 0
mov ebx, eax
jne 0x4e6d27
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4e6dd8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4e6dd8
push eax
call fcn.004d59e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x54d208], eax
call esi
push eax
call fcn.004d59e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x54d20c], eax
call esi
push eax
call fcn.004d59e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x54d210], eax
call esi
push eax
call fcn.004d59e4
pop ecx
mov dword [0x54d218], eax
test eax, eax
je 0x4e6d27
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004d59e4
pop ecx
mov dword [0x54d214], eax
mov eax, dword [0x54d214]
cmp eax, ebx
je 0x4e6d7f
cmp dword [0x54d218], ebx
je 0x4e6d7f
push eax
call fcn.004d5a5f
push dword [0x54d218]
mov esi, eax
call fcn.004d5a5f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4e6d7f
test edi, edi
je 0x4e6d7f
call esi
test eax, eax
je 0x4e6d76
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4e6d76
test byte [ebp - 0xc], 1
jne 0x4e6d7f
or dword [ebp + 0x10], 0x200000
jmp 0x4e6db8
mov eax, dword [0x54d20c]
cmp eax, ebx
je 0x4e6db8
push eax
call fcn.004d5a5f
pop ecx
test eax, eax
je 0x4e6db8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4e6db8
mov eax, dword [0x54d210]
cmp eax, ebx
je 0x4e6db8
push eax
call fcn.004d5a5f
pop ecx
test eax, eax
je 0x4e6db8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x54d208]
call fcn.004d5a5f
pop ecx
test eax, eax
je 0x4e6dd8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4e6dda
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422e90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x42a14c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], eax
cmp dword [ebp + 0xc], esi
jle 0x422f6b
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp + 0xc], 0x2d
jne 0x422ef8
push 0
push str.wilebamigehuteyebayo_mumajuzokirigulonusu_zuhokinuligoloy_visusanedefubiluyikipukewafeju_seroz
call edi
push str.rowozemunuloc_jin
push str.cimuzenaherepixekojicodofunibug
push str.netigeyonakozodosunobe_tonocekacawuruzowajuxipunud_votocorumuxehis
push str.vevonaluvodupamajicepeloponebe_wixereyobetiliverofeyayutoru_jetob_tufuhavojofefegodatuwud_sadusarilatedabuyoyumulipib
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call fcn.00422de0
mov ecx, dword [esp + 0xc]
xor byte [ecx + esi], al
cmp dword [ebp + 0xc], 0xf
jne 0x422f61
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor eax, eax
push eax
lea edx, [esp + 0x24]
push edx
push 0x427f90
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
xor ecx, ecx
lea eax, [esp + 0x1c]
push eax
push ecx
push ecx
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0x427f94
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x422ecb
cmp dword [ebp + 0xc], 0x2d
jne 0x422f85
mov dword [0x42d8d0], 0xa62e7790
mov dword [0x42d8d4], 0xffffffff
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401a6c
mov esp, ebp
pop ebp
ret
Function at 0x423360
Capabilities:
Access the windows event log
Manipulate console buffer
Set file attributes

Disassembly:
sub esp, 0x14
mov eax, dword [0x42d8c4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push esi
mov dword [esp + 0x10], 0x1540b5
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xcc1
jne 0x42339a
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov eax, dword [0x42d8c4]
mov dword [0x42d52c], 0x8e468c60
cmp eax, 0x3dc
jne 0x4233f9
push 0
push str.dafesatalosolovatuboboyuhiseheyu
call ebx
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
call ebp
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push 0
push 0
push edi
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AccessCheckByTypeResultList]
push str.fudagugoholixihufeloko
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
mov eax, dword [0x42d8c4]
dec dword [esp + 0x14]
jne 0x423388
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
xor esi, esi
mov ebp, 0xec58acac
or ebx, 0xffffffff
nop
cmp eax, 0x997
jne 0x423422
push 0
push 0
call edi
mov eax, dword [0x42d8c4]
cmp esi, 0x846373
jne 0x423439
mov eax, dword [0x42bad0]
add eax, 0xa231
mov dword [0x42d8c4], eax
cmp eax, 0x141
jne 0x42344c
mov dword [0x42cd18], ebp
mov dword [0x42cd1c], ebx
inc esi
cmp esi, 0x123c962
jl 0x423410
call fcn.00422fe0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
Function at 0x401950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0xbc]
mov eax, dword [ecx + 0x14]
add esi, edi
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0xc], edx
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x18]
mov ecx, 1
mov dword [esi + 0xc], eax
mov eax, 0x100
mov dword [esi + 0x10], 1
test word [edi + 0x94], ax
jne 0x40199a
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
mov eax, dword [edi + 0x78]
mov dword [ebp - 8], eax
lea eax, [edx + 0x3a]
test byte [ebp - 8], 4
je 0x4019b5
test byte [eax], 1
je 0x4019ec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffb
mov dword [edi + 0x78], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 4]
or ecx, 0x200
mov edx, eax
mov dword [esi + 0x10], ecx
test byte [edx], 2
mov edx, dword [ebp - 0xc]
je 0x4019ec
mov eax, dword [edx + 0x46]
or ecx, 0x400
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], ecx
test dword [edi + 0x78], 0x400
je 0x4019fe
or ecx, 0x4000
mov dword [esi + 0x10], ecx
test byte [eax], 4
je 0x401a0c
or ecx, 0x100
mov dword [esi + 0x10], ecx
mov eax, dword [ebp + 8]
test byte [eax + 6], 2
je 0x401a39
or ecx, 0x80
mov eax, 1
mov dword [esi + 0x10], ecx
mov word [esi + 0x20], ax
cmp word [edi + 0x18], 3
jne 0x401a3e
mov eax, 0x2000
or word [edi + 0x7c], ax
jmp 0x401a3e
or word [esi + 0x20], 0x20
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x18], ecx
mov eax, dword [edx + 0x40]
mov dword [esi + 0x1c], eax
cmp cx, 0xd
jne 0x401aa3
mov ecx, dword [0x4b4b94]
movsx edx, word [edx]
cmp edx, dword [ecx + 0x194]
jge 0x401a96
mov eax, dword [ecx + 0x198]
movzx eax, word [eax + edx*2]
mov dword [ecx + 0x1a0], eax
mov eax, dword [0x4b4b94]
imul edx, dword [eax + 0x1a0], 0x2c
add edx, dword [eax + 0x400]
je 0x401a96
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x401a96
mov edx, dword [edx + 0xc]
call fcn.00439300
jmp 0x401a98
xor eax, eax
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x401aa3
mov word [esi + 0x18], ax
cmp dword [edi + 0xcc], 0
jne 0x401aca
or word [esi + 0x20], 2
mov eax, 1
or dword [esi + 0x10], 8
mov ecx, dword [esi + 0x10]
movzx ecx, cx
pop edi
mov word [esi + 0x22], cx
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, word [esi + 0x10]
mov word [esi + 0x22], ax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov eax, dword [0x4b4b94]
test eax, eax
je 0x402ce4
cmp dword [eax + 0x1fc], 0
jne 0x402e80
push 0
push 0
push 0
push 0
push esi
mov dword [0x4b4a50], 0
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x402e68
push edi
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
nop dword [eax]
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x402e1c
mov ecx, dword [0x4b4980]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x402d63
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
test eax, eax
je 0x402d63
lea eax, [ebp - 8]
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_536]
push esi
push eax
call edi
test eax, eax
jne 0x402e1c
cmp dword [ebp - 8], eax
je 0x402d63
mov ecx, dword [0x4b4980]
jmp 0x402d40
mov eax, dword [0x4b4b94]
test eax, eax
je 0x402e0e
mov ecx, 0x4000
test word [eax + 0x16], cx
je 0x402e0e
push dword [0x4b4b68]
call dword [sym.imp.MMFS2.dll_Ordinal_19]
test eax, eax
je 0x402da7
push esi
push eax
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
mov ecx, dword [ebp - 4]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [esi + 4]
cmp eax, 0x100
je 0x402db8
cmp eax, 0x104
jne 0x402e08
mov edi, dword [esi + 8]
cmp edi, 0x10
je 0x402e08
cmp edi, 0x11
je 0x402e08
mov ecx, dword [0x4b4b94]
test ecx, ecx
je 0x402e08
mov ecx, dword [ecx + 0xb4]
test ecx, ecx
je 0x402e08
cmp eax, 0x104
je 0x402def
mov eax, 0x2000
test word [esi + 0xe], ax
jne 0x402def
xor edx, edx
jmp 0x402df4
mov edx, 1
push ecx
mov ecx, dword [0x4b4b70]
push edi
call fcn.00458740
add esp, 8
test eax, eax
jne 0x402e1c
cmp dword [ebp - 4], 0
jne 0x402e1c
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x402e4a
test al, 1
je 0x402e30
cmp dword [esi + 4], 0x111
je 0x402e67
test al, 2
je 0x402e3d
cmp dword [esi + 4], 0x201
je 0x402e67
test al, 4
je 0x402e4a
cmp dword [esi + 4], 0x202
je 0x402e67
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x402d10
pop edi
push 0
call dword [sym.imp.USER32.dll_GetKeyState]
push 0x4b4a58
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov dword [0x4b4a50], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412490
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push edi
push eax
mov dword [ebp - 0x50], 0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x440
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4125b4
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x4125a2
call fcn.0042f180
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 2
je 0x412533
mov eax, dword [0x4b4b9c]
push 0
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x412533
push 0
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
nop dword [eax]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x412578
cmp dword [ebp + 8], 0x103
jne 0x412578
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.00402cb0
push 0x4ff
push 0xc8
push 0
push 0
push 0
call edi
jmp 0x412540
test bx, bx
je 0x41259d
mov eax, dword [0x4b4b9c]
push 5
push dword [eax + 0x10]
call esi
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x4c4]
test eax, eax
je 0x41259d
push 5
push eax
call esi
call fcn.0042f270
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4275c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov ecx, dword [eax + 0x404]
mov ebx, dword [eax + 0x400]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push edi
test edx, edx
jle 0x427628
nop word [eax + eax]
inc bl
movzx ebx, bl
mov edx, dword [eax + ebx*4]
mov cl, dl
add cl, byte [ebp - 4]
mov eax, dword [ebp - 8]
movzx ecx, cl
mov dword [ebp - 4], ecx
mov edi, dword [ebp - 4]
mov ecx, dword [eax + ecx*4]
mov dword [eax + ebx*4], ecx
mov dword [eax + edi*4], edx
add dl, cl
movzx ecx, dl
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + ecx*4]
xor byte [esi + edx], cl
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x4275f0
mov ecx, edi
pop edi
mov dword [eax + 0x400], ebx
pop esi
mov dword [eax + 0x404], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4284c0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 2
push 0x104
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00478e79
mov esi, eax
add esp, 8
test esi, esi
je 0x4285ea
push edi
push 2
push 0x104
call fcn.00478e79
mov edi, eax
add esp, 8
test edi, edi
je 0x42851d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4b3064
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.00478e8f
add esp, 4
cmp word [esi], bx
je 0x4285db
push esi
call fcn.0047a07a
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428534
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x428563
lea edi, [esi - 2]
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x428550
mov eax, dword [0x4a285c]
mov dword [edi], eax
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428570
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.00478e6e
mov edx, eax
add esp, 4
test edx, edx
jne 0x4285a5
call fcn.004821fd
push edi
call fcn.00478e6e
add esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [eax], edx
sub edx, esi
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4285b0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.00478e8f
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ebx, 0xe
call fcn.00478e8f
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4b1ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [0x4b4b9c]
add edi, 0x2c
cmp dword [0x4b4fa8], 0
mov dword [ebp - 0x44], edi
mov dword [edi], 0
je 0x431852
push ebx
push esi
xor esi, esi
xor edx, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
nop dword [eax]
mov eax, dword [0x4b4b94]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
mov esi, eax
test esi, esi
je 0x431834
cmp esi, 4
jbe 0x4317a5
cmp eax, 5
jne 0x431834
lea esi, [ecx + 0x16]
add esi, edx
lea edi, [ebx + 8]
movzx eax, word [esi]
add ebx, ebx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x431795
or ebx, 1
sub esi, 2
sub edi, 1
jne 0x431781
mov edi, dword [ebp - 0x44]
jmp 0x43182f
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x34
push eax
dec esi
mov dword [ebp - 0x34], 0x83
push esi
call dword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x43182f
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4b4bd0]
sub edx, eax
mov ecx, dword [esi + 0x4b4bd4]
sub ecx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x4317e9
mov ebx, 4
jmp 0x4317f9
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4b4bd8]
mov ecx, dword [esi + 0x4b4bdc]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x43181a
or ebx, 1
jmp 0x431827
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x431827
or ebx, 2
mov eax, dword [ebp - 0x18]
shl eax, 4
or ebx, eax
mov edx, dword [ebp - 0x3c]
mov byte [edi], bl
mov esi, dword [ebp - 0x40]
add edx, 0x10
add esi, 2
mov dword [ebp - 0x3c], edx
inc edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
cmp edx, 0x40
jl 0x431750
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0047539e
mov esp, ebp
pop ebp
ret

Function at 0x436610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x104], ecx
sub ecx, dword [esi + 0x58]
add eax, ecx
mov dword [esi + 0x108], edx
sub edx, dword [esi + 0x5c]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x64]
add eax, edx
mov dword [esi + 0x118], ecx
mov dword [esi + 0x124], eax
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0xe8]
mov dword [esi + 0x11c], edx
mov edx, 1
mov dword [esi + 0x110], eax
pop esi
pop ebp
jmp fcn.00436680
Function at 0x445ca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.00478e79
mov edi, eax
add esp, 8
test edi, edi
je 0x445ce6
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
mov esi, eax
call fcn.00478e8f
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x447080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x4b4b9c]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test edi, edi
jne 0x4470a0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
cmp edx, 0x100
jne 0x4470f7
cmp dword [ebp + 8], 9
jne 0x44715c
cmp dword [edi + 0x518], ecx
jle 0x44715c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4b4b9c]
test ax, ax
js 0x4470da
call fcn.00457060
jmp 0x4470df
call fcn.00457220
test eax, eax
je 0x4470ef
pop esi
pop ebx
mov eax, 4
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4b4b9c]
jmp 0x447157
cmp edx, 5
jne 0x44715c
mov eax, dword [0x4b4b94]
test byte [eax + 0x14], 0x10
je 0x44715c
cmp byte [edi + 0x4c8], cl
je 0x44715c
mov esi, dword [edi + 0x1278]
xor ebx, ebx
cmp dword [edi + 0x3c], ecx
jle 0x44715c
nop dword [eax]
mov eax, dword [esi]
test eax, eax
jne 0x447130
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x447126
test byte [eax + 0x7c], 4
jne 0x44714e
test dword [eax + 0x78], 0x2b0
je 0x44714e
push eax
mov eax, dword [eax + 0x8c]
call eax
mov edi, dword [0x4b4b9c]
inc ebx
add esi, 8
cmp ebx, dword [edi + 0x3c]
jl 0x447120
mov edx, dword [ebp - 4]
xor ecx, ecx
movsx eax, word [edi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x447199
xor esi, esi
test eax, eax
jle 0x447199
lea ebx, [edi + 0x1dc]
push dword [ebp + 0xc]
mov eax, dword [ebx]
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push edi
call eax
movsx ecx, ax
test cl, 0x5c
jne 0x447199
mov edx, dword [ebp - 4]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0xc]
jl 0x447176
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x447290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4b4b70]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x4472b7
push 0
push dword [0x4b4b70]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push edi
push 0x304
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x4b4b70]
call ebx
mov esi, eax
test esi, esi
je 0x447307
nop dword [eax + eax]
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x4472f0
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x1fc], 0
jne 0x44735e
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x44735e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x447340
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x447381
push 5
push dword [0x4b4b70]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x44ed10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, edx
push edi
push 0
mov edi, ecx
movzx eax, word [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
jne 0x44ed45
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x44ed8f
sub eax, 2
jne 0x44ed3c
mov eax, dword [esi]
sub eax, 0
je 0x44ed6b
sub eax, 2
je 0x44ed64
xorps xmm0, xmm0
jmp 0x44ed74
movsd xmm0, qword [esi + 8]
jmp 0x44ed74
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 8]
movsd qword [ebp - 0x18], xmm0
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x44eda6
sub eax, 2
je 0x44ed9f
xor eax, eax
jmp 0x44eda9
cvttsd2si eax, qword [esi + 8]
jmp 0x44eda9
mov eax, dword [esi + 8]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push edi
push 0
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
mov esi, edx
call ebx
test eax, eax
je 0x450cda
cmp dword [ebp - 8], 2
jb 0x450cda
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x450caf
sub eax, 1
je 0x450cda
sub eax, 1
jne 0x450cda
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x450cda
cmp dword [ebp - 8], 8
jb 0x450cda
movsd xmm0, qword [ebp - 0x18]
mov eax, 1
movsd qword [esi + 8], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
test eax, eax
je 0x450cda
cmp dword [ebp - 8], 4
jb 0x450cda
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push esi
push edi
push 0
push eax
push edx
mov ebx, ecx
call dword [0x4b4cd4]
mov edi, eax
cmp edi, 0xffffffff
je 0x4538c0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4538c0
push eax
call fcn.00478e6e
mov esi, eax
add esp, 4
test esi, esi
je 0x4538b9
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jne 0x4538b0
push edi
mov dword [ebx], eax
call dword [0x4b4ca4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00478e8f
add esp, 4
push edi
call dword [0x4b4ca4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret