joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407460
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebp
mov ebp, ecx
mov eax, dword [ebp]
cmp dword [eax + 0xd0], 1
jle 0x407691
push ebx
push esi
lea esi, [ebp + 4]
push edi
push esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
lea edi, [ebp + 0x104]
mov ecx, esi
xor ebx, ebx
sub ecx, edi
mov dword [esp + 0x10], ecx
lea eax, [edi + ebx]
xor edx, edx
mov dl, byte [ecx + eax]
mov esi, edx
xor edx, edx
mov dl, byte [eax]
shr esi, 7
shr edx, 7
cmp esi, edx
je 0x40750d
push 2
mov ecx, ebp
call fcn.00407410
test esi, esi
jne 0x4074da
mov eax, dword [ebp + 0x204]
mov ecx, dword [ebp + 0x20c]
mov byte [eax + ecx], 3
mov edx, dword [ebp + 0x204]
mov eax, dword [ebp + 0x20c]
mov byte [edx + eax + 1], bl
jmp 0x4074fa
mov ecx, dword [ebp + 0x204]
mov edx, dword [ebp + 0x20c]
mov byte [ecx + edx], 2
mov eax, dword [ebp + 0x204]
mov ecx, dword [ebp + 0x20c]
mov byte [eax + ecx + 1], bl
mov eax, dword [ebp + 0x20c]
mov ecx, dword [esp + 0x10]
add eax, 2
mov dword [ebp + 0x20c], eax
inc ebx
cmp ebx, 0x100
jl 0x407493
mov ecx, 0x40
lea esi, [ebp + 4]
rep movsd dword es:[edi], dword [esi]
call fcn.0041dd80
mov esi, dword [ebp]
add esi, 0x2c
xor eax, eax
mov dl, byte [eax + ebp + 0x210]
mov cl, byte [esi + eax]
cmp dl, cl
jne 0x407547
inc eax
cmp eax, 4
jl 0x407531
jmp 0x407593
cmp eax, 4
jge 0x407593
push 5
mov ecx, ebp
call fcn.00407410
mov eax, dword [ebp + 0x204]
mov ecx, dword [ebp + 0x20c]
mov byte [eax + ecx], 4
xor eax, eax
mov edx, dword [ebp + 0x204]
mov edi, dword [ebp + 0x20c]
mov cl, byte [esi + eax]
add edx, edi
mov byte [edx + eax + 1], cl
mov dl, byte [esi + eax]
mov byte [eax + ebp + 0x210], dl
inc eax
cmp eax, 4
jl 0x407567
add dword [ebp + 0x20c], 5
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x1d0]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp + 0x214]
mov eax, dword [esp + 0x14]
pop edi
pop esi
cmp edx, eax
pop ebx
jne 0x4075d9
mov eax, dword [ebp + 0x218]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x40766b
push 5
mov ecx, ebp
call fcn.00407410
mov ecx, dword [ebp + 0x204]
mov edx, dword [ebp + 0x20c]
mov byte [ecx + edx], 5
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0x204]
mov edx, dword [ebp + 0x20c]
sar eax, 8
mov byte [ecx + edx + 1], al
mov eax, dword [ebp + 0x204]
mov ecx, dword [ebp + 0x20c]
mov dl, byte [esp + 8]
mov byte [eax + ecx + 2], dl
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x204]
mov edx, dword [ebp + 0x20c]
sar eax, 8
mov byte [ecx + edx + 3], al
mov eax, dword [ebp + 0x204]
mov ecx, dword [ebp + 0x20c]
mov dl, byte [esp + 0xc]
mov byte [eax + ecx + 4], dl
mov eax, dword [ebp + 0x20c]
mov ecx, dword [esp + 0xc]
add eax, 5
mov dword [ebp + 0x20c], eax
mov eax, dword [esp + 8]
mov dword [ebp + 0x214], eax
mov dword [ebp + 0x218], ecx
push 1
mov ecx, ebp
call fcn.00407410
mov edx, dword [ebp + 0x204]
mov eax, dword [ebp + 0x20c]
mov byte [edx + eax], 1
mov eax, dword [ebp + 0x20c]
inc eax
mov dword [ebp + 0x20c], eax
pop ebp
add esp, 0xc
ret
Function at 0x4165a0
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x453a3c]
test eax, eax
je 0x416606
mov eax, dword [0x453a34]
push esi
xor esi, esi
test eax, eax
jle 0x4165e4
push edi
mov edi, dword [sym.imp.MSVCRT.dll_remove]
mov eax, dword [0x453a3c]
mov ecx, dword [eax + esi*4]
push ecx
call edi
mov edx, dword [0x453a3c]
lea eax, [edx + esi*4]
push eax
call fcn.0041dfb0
mov eax, dword [0x453a34]
add esp, 8
inc esi
cmp esi, eax
jl 0x4165bc
pop edi
push 0x453a3c
call fcn.0041dfb0
add esp, 4
mov dword [0x453a34], 0
mov dword [0x453a38], 0
pop esi
ret

Function at 0x416c10
Capabilities:
Delete file

Disassembly:
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
test edx, edx
push edi
je 0x416d7f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x416d7c
cmp byte [ecx], 0
je 0x416d7c
push ecx
call fcn.00432430
mov esi, eax
add esp, 4
test esi, esi
je 0x416d62
mov eax, dword [esi + 0x108]
test eax, eax
je 0x416d7f
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x416c7c
inc dword [esi + 0x110]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x416c66
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
push 1
push 0x104
call dword [sym.imp.MSVCRT.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
je 0x416d7f
push edi
push 0
push 0x451884
call fcn.0042ecc0
add esp, 0xc
test eax, eax
je 0x416d4f
push edi
call dword [0x453524]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x416d45
mov eax, dword [0x453a0c]
push 0
mov ecx, dword [eax + 0x84]
push ecx
call dword [0x453484]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x416d3e
mov edx, dword [esi + 0x10c]
push edx
push ebx
call dword [0x453474]
mov eax, dword [esi + 0x108]
push eax
push ebx
push ebp
call fcn.004174b0
add esp, 0xc
test eax, eax
push ebx
jne 0x416d38
mov ebx, dword [0x453468]
call ebx
push ebp
call ebx
mov dword [esi + 0x104], edi
mov dword [esi + 0x110], 1
mov ecx, dword [esp + 0x18]
mov eax, edi
sub ecx, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x416d22
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
call dword [0x453468]
push ebp
call dword [0x453468]
push edi
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, ecx
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x416d66
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
mov byte [edx], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x417830
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
push esi
push 1
push 0x104
xor ebp, ebp
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x4178e6
push esi
push ebp
push 0x451888
call fcn.0042ecc0
mov al, byte [esi]
add esp, 0xc
test al, al
je 0x4178d7
push ebx
push edi
push esi
call dword [sym.imp.MSVCRT.dll_remove]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi - 1], 0x5c
je 0x417895
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ax, word [0x451918]
mov word [edi - 1], ax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ebx
push ecx
call fcn.0041dee0
mov edx, dword [ebx]
add esp, 8
mov ecx, esi
pop edi
pop ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4178b5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebp
pop esi
pop ebp
ret
push esi
mov ebp, 0xe
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebp
pop esi
pop ebp
ret
Function at 0x417d50
Capabilities:
Delete directory
Get common file path
Set current directory

Disassembly:
push esi
push 1
push 0x104
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x417d91
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x451920
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call dword [sym.imp.MSVCRT.dll__rmdir]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 8
pop esi
ret
push 0x451920
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop esi
ret

Function at 0x417da0
Capabilities:
Delete file

Disassembly:
push ebx
push 1
push 0x118
call dword [sym.imp.MSVCRT.dll_calloc]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x417e2c
mov eax, dword [esp + 8]
push ebp
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__findfirst]
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x417e21
push esi
push edi
test byte [ebx], 0x10
jne 0x417e06
lea eax, [ebx + 0x14]
mov edi, 0x451924
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x417e06
mov edi, 0x451920
mov esi, eax
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x417e06
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
push ebx
push ebp
call dword [sym.imp.MSVCRT.dll__findnext]
add esp, 8
test eax, eax
je 0x417dd0
push ebp
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
pop edi
pop esi
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop ebp
pop ebx
ret
Function at 0x41cea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
mov ecx, dword [0x453a14]
push edi
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x3c]
mov edi, dword [ecx + 0x1278]
test eax, eax
mov dword [esp + 4], edi
jle 0x41cf99
push ebx
push ebp
push esi
cmp dword [edi], 0
jne 0x41cedd
mov eax, dword [edi + 8]
add edi, 8
test eax, eax
je 0x41cecf
mov dword [esp + 0x10], edi
mov esi, dword [edi]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x84]
je 0x41cef4
cmp eax, 0xffffffff
jne 0x41cf7b
mov eax, dword [esi + 0x78]
test ah, 2
je 0x41cf7b
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x41cf11
push 1
push eax
mov eax, dword [ecx]
push eax
call fcn.0044b792
mov ebx, dword [esi + 0xbc]
mov eax, dword [esp + 0x20]
add ebx, esi
test eax, eax
je 0x41cf66
test byte [ebx + 0x20], 0x20
je 0x41cf6f
mov ecx, dword [esi + 0x84]
mov edx, dword [0x453a10]
push esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x30]
mov ebp, dword [eax + ecx*4 + 0x2c]
lea edi, [eax + ecx*4]
mov ecx, ebp
and ecx, 0xfff9ffff
or ecx, 0x10
mov dword [edi + 0x2c], ecx
call fcn.00402110
mov dword [edi + 0x2c], ebp
mov edi, dword [esp + 0x14]
jmp 0x41cf6c
push esi
call fcn.004020a0
add esp, 4
mov dword [ebx], 0
mov ecx, dword [0x453a14]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0x3c]
add edi, 8
inc eax
cmp eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jl 0x41ceca
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x41dd80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
push ebp
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [0x453a14]
xor ebp, ebp
add ecx, 0x2c
mov dword [ecx], ebp
mov edx, dword [0x453a14]
cmp eax, dword [edx + 0xc]
je 0x41ddac
cmp eax, dword [edx + 0x10]
jne 0x41decd
push ebx
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov edx, dword [0x453a0c]
xor eax, eax
xor ebx, ebx
mov ecx, dword [edx + 0x254]
mov edx, dword [esp + 0x14]
mov ax, word [edx + ecx]
test eax, eax
jle 0x41deab
cmp eax, 4
jle 0x41de14
cmp eax, 5
jne 0x41deab
lea esi, [ecx + ebp + 0x16]
mov edi, 8
xor eax, eax
add ebx, ebx
mov ax, word [esi]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x41de03
or ebx, 1
sub esi, 2
dec edi
jne 0x41dded
mov ecx, dword [esp + 0x10]
mov byte [ecx], bl
jmp 0x41deab
lea edx, [esp + 0x18]
lea esi, [eax - 1]
push edx
push esi
mov dword [esp + 0x20], 0x34
mov dword [esp + 0x24], 0x83
call dword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x41dea5
mov ecx, dword [esp + 0x20]
shl esi, 5
mov edx, dword [esi + 0x453a48]
mov eax, dword [esi + 0x453a4c]
sub eax, edx
sub ecx, edx
mov edx, eax
shr edx, 2
cmp ecx, edx
ja 0x41de5e
mov ebx, 4
jmp 0x41de6d
lea eax, [eax + eax*2]
shr eax, 2
cmp ecx, eax
jb 0x41de6d
mov ebx, 8
mov edx, dword [esi + 0x453a50]
mov eax, dword [esi + 0x453a54]
mov ecx, dword [esp + 0x24]
sub eax, edx
sub ecx, edx
mov edx, eax
shr edx, 2
cmp ecx, edx
ja 0x41de8f
or ebx, 1
jmp 0x41de9c
lea eax, [eax + eax*2]
shr eax, 2
cmp ecx, eax
jb 0x41de9c
or ebx, 2
mov ecx, dword [esp + 0x38]
shl ecx, 4
or ebx, ecx
mov edx, dword [esp + 0x10]
mov byte [edx], bl
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ebp, 0x10
add edx, 2
inc ecx
cmp ebp, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jl 0x41ddb6
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3c
ret

Function at 0x423990
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
cmp eax, 3
ja case.default.0x4239a0
jmp dword [eax*4 + 0x423a74]
mov ecx, dword [0x453a0c]
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [ecx + 0x1c4]
push edx
call fcn.0044c1a0
add esp, 0x18
ret
mov ecx, dword [0x453a0c]
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [ecx + 0x1c4]
push edx
call fcn.0044ba1a
add esp, 0x18
ret
mov ecx, dword [0x453a0c]
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [ecx + 0x1c4]
push edx
call fcn.0044c18e
add esp, 0x18
ret
mov ecx, dword [0x453a0c]
push edi
mov edi, dword [esp + 0x24]
lea eax, [esp + 4]
mov dword [esp + 8], 0
mov edx, dword [ecx + 0x1c4]
push eax
push edi
push edx
call fcn.0044c17c
cmp dword [esp + 8], 1
jne 0x423a5c
push esi
push 1
push 0x208
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
mov eax, dword [0x453a0c]
add esp, 8
mov ecx, dword [eax + 0x1c4]
push esi
push edi
push ecx
call fcn.0044c16a
push esi
call dword [sym.imp.MSVCRT.dll_remove]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 8
pop esi
mov edx, dword [0x453a0c]
push edi
mov eax, dword [edx + 0x1c4]
push eax
call fcn.0044c18e
pop edi
add esp, 0x18
ret
Function at 0x42ec40
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
xor edx, edx
and ecx, 0xffff
mov dh, al
shr ecx, 8
and edx, 0xffff
lea eax, [esp]
or ecx, edx
push eax
mov dword [0x4539d4], ecx
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42eca7
cmp dword [esp + 0x10], 2
jne 0x42eca7
mov ecx, dword [esp + 4]
mov eax, 1
cmp ecx, 5
mov dword [0x4539d0], eax
jb 0x42eca7
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x42eca7
mov dword [0x4539cc], eax
call fcn.0042ec20
call fcn.00417300
xor eax, eax
add esp, 0x94
ret

Function at 0x42ecc0
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push 1
push 0x104
xor edi, edi
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x42ed08
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
mov edi, eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x42f880
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x48]
push esi
xor esi, esi
cmp ebx, esi
je 0x42f935
mov eax, dword [0x453970]
cmp eax, esi
je 0x42f8d7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42f8ba
cmp dword [esp + 0x4c], 0x103
je 0x42f8cf
mov edx, dword [0x453970]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x453970], esi
jmp 0x42f8d7
cmp dword [0x453970], esi
jne 0x42f935
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x3c
push eax
mov dword [esp + 0x14], 0x440
mov dword [esp + 0x1c], str.open
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x453810
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 1
mov dword [0x453974], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
je 0x42f935
mov ecx, dword [esp + 0x40]
mov dword [0x453970], ecx
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x42fff0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4539e8]
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebp, eax
test ebp, ebp
je 0x430018
mov ecx, dword [0x4539e8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
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 edx, dword [0x4539e8]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push edx
call ebx
mov esi, eax
test esi, esi
je 0x43005e
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x430047
mov eax, dword [0x453a0c]
mov ecx, dword [eax + 0x1fc]
test ecx, ecx
jne 0x4300b3
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
je 0x4300b3
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x10]
push eax
call ebx
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
jne 0x430092
mov edx, dword [0x4539e4]
push edx
call fcn.0044c67a
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x4300d5
mov eax, dword [0x4539e8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x1c
ret

Function at 0x4302a0
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x45399c]
test eax, eax
je 0x42ef97
mov ecx, dword [0x453998]
test ecx, ecx
je 0x42ef8a
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x45399c
call fcn.0041dfb0
add esp, 4
mov eax, dword [0x453a24]
test eax, eax
je 0x42efb4
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [0x453a24], 0
mov eax, dword [0x453978]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42efc7
push eax
call esi
mov eax, dword [0x45397c]
test eax, eax
je 0x42efd3
push eax
call esi
pop esi
ret
call fcn.00418370
call fcn.004165a0
mov eax, dword [0x453994]
test eax, eax
je 0x4302c2
push 0
push 2
push eax
call fcn.0044be52
call fcn.0041d5f0
call fcn.0042ed40
call fcn.0043f400
call fcn.004026c0
call fcn.00432420
call fcn.0042f6a0
jmp 0x42ef70
Function at 0x434290
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov ax, word [esi]
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x28]
push 2
push edx
push edi
mov dword [esp + 0x34], eax
call ebx
test eax, eax
jne 0x4342c7
pop edi
pop esi
pop ebx
add esp, 0xc
ret
movsx eax, word [esp + 0x20]
sub eax, 0
je 0x434317
sub eax, 2
je 0x4342df
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esi]
sub eax, 0
je 0x4342f8
sub eax, 2
je 0x4342f3
fld qword [0x44d498]
jmp 0x4342fb
fld qword [esi + 8]
jmp 0x4342fb
fild dword [esi + 8]
fstp qword [esp + 0x10]
lea eax, [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x18]
push 8
push ecx
push edi
call ebx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esi]
sub eax, 0
je 0x434331
sub eax, 2
je 0x434327
xor eax, eax
jmp 0x434334
fld qword [esi + 8]
call sub.MSVCRT.dll__ftol
jmp 0x434334
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
mov dword [esp + 0xc], eax
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x435af0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
lea eax, [esp]
lea ecx, [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push eax
push 2
push ecx
push esi
call edi
test eax, eax
je 0x435b9b
cmp dword [esp + 0xc], 2
jb 0x435b9b
movsx eax, word [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [ebx], eax
sub eax, 0
je 0x435b6c
dec eax
je 0x435b9b
dec eax
jne 0x435b9b
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [esp + 0x1c]
push 8
push eax
push esi
call edi
test eax, eax
je 0x435b9b
cmp dword [esp + 0xc], 8
jb 0x435b9b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push esi
call edi
test eax, eax
je 0x435b9b
cmp dword [esp + 0xc], 4
jb 0x435b9b
mov edx, dword [esp + 0x10]
pop edi
mov dword [ebx + 8], edx
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x438770
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
mov eax, dword [eax + 0x1fc]
test eax, eax
jne 0x43878c
mov eax, 1
add esp, 0xc
ret 8
mov ecx, dword [eax + 0x1c]
push 0
mov dword [esp + 4], ecx
mov edx, dword [eax + 0x20]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 8]
push 0xc
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
ret 8

Function at 0x4387c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x1fc]
test eax, eax
jne 0x4387de
mov eax, 1
pop esi
add esp, 0xc
ret 8
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0xc]
push 0xc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x438836
cmp dword [esp + 0x14], 0xc
jne 0x438836
mov eax, dword [esp + 4]
push 0
push eax
push esi
call fcn.00438840
push 0
mov ecx, dword [esp + 0xc]
push ecx
push esi
call fcn.004388c0
push 0
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.00438940
mov eax, 1
pop esi
add esp, 0xc
ret 8
xor eax, eax
pop esi
add esp, 0xc
ret 8

Function at 0x43c1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
test esi, esi
je 0x43c2c8
mov ebp, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ax, word [esp + 0x1c]
cmp ax, word [esi + 2]
jne 0x43c25f
mov al, byte [esi]
and al, 0x10
je 0x43c221
test ebp, ebp
jne 0x43c229
test al, al
jne 0x43c25f
test ebp, ebp
jne 0x43c25f
push 0x11
call ebx
test byte [esi], 8
movsx eax, ax
je 0x43c23b
test eax, eax
jge 0x43c25f
jmp 0x43c23f
test eax, eax
jl 0x43c25f
push 0x10
call ebx
test byte [esi], 4
movsx eax, ax
je 0x43c251
test eax, eax
jge 0x43c25b
jmp 0x43c255
test eax, eax
jl 0x43c25b
xor edi, edi
mov di, word [esi + 4]
test edi, edi
jne 0x43c269
cmp byte [esi], 0
js 0x43c2c8
add esi, 8
jmp 0x43c20c
mov al, byte [esi]
mov esi, dword [esp + 0x14]
test al, 0x40
jne 0x43c27d
cmp edi, 0x7d0
jl 0x43c2a3
jmp 0x43c285
cmp edi, 0x7d0
jge 0x43c2a3
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x43c2c8
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x43c2c8
test al, 1
jne 0x43c2c8
and edi, 0xffff
push 0
or edi, 0x10000
push edi
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret