joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427004]
jne 0x4010be
repz ret
jmp fcn.004014a1

Function at 0x4072a7
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.00401a33
and dword [ebp - 4], 0
cmp dword [0x42fdf0], 0
mov ebx, eax
jne 0x407358
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407409
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407409
push eax
call fcn.004019c1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42fdf0], eax
call esi
push eax
call fcn.004019c1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42fdf4], eax
call esi
push eax
call fcn.004019c1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42fdf8], eax
call esi
push eax
call fcn.004019c1
pop ecx
mov dword [0x42fe00], eax
test eax, eax
je 0x407358
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004019c1
pop ecx
mov dword [0x42fdfc], eax
mov eax, dword [0x42fdfc]
cmp eax, ebx
je 0x4073b0
cmp dword [0x42fe00], ebx
je 0x4073b0
push eax
call fcn.00401a3c
push dword [0x42fe00]
mov esi, eax
call fcn.00401a3c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4073b0
test edi, edi
je 0x4073b0
call esi
test eax, eax
je 0x4073a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4073a7
test byte [ebp - 0xc], 1
jne 0x4073b0
or dword [ebp + 0x10], 0x200000
jmp 0x4073e9
mov eax, dword [0x42fdf4]
cmp eax, ebx
je 0x4073e9
push eax
call fcn.00401a3c
pop ecx
test eax, eax
je 0x4073e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4073e9
mov eax, dword [0x42fdf8]
cmp eax, ebx
je 0x4073e9
push eax
call fcn.00401a3c
pop ecx
test eax, eax
je 0x4073e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42fdf0]
call fcn.00401a3c
pop ecx
test eax, eax
je 0x407409
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40740b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100692f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1007aa78]
jne 0x10069303
repz ret
jmp fcn.1006b52c

Function at 0x1006d233
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.10067104
and dword [ebp - 4], 0
cmp dword [0x1007c8bc], 0
mov ebx, eax
jne 0x1006d2e4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1006d395
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1006d395
push eax
call fcn.10067092
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1007c8bc], eax
call esi
push eax
call fcn.10067092
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1007c8c0], eax
call esi
push eax
call fcn.10067092
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1007c8c4], eax
call esi
push eax
call fcn.10067092
pop ecx
mov dword [0x1007c8cc], eax
test eax, eax
je 0x1006d2e4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10067092
pop ecx
mov dword [0x1007c8c8], eax
mov eax, dword [0x1007c8c8]
cmp eax, ebx
je 0x1006d33c
cmp dword [0x1007c8cc], ebx
je 0x1006d33c
push eax
call fcn.1006710d
push dword [0x1007c8cc]
mov esi, eax
call fcn.1006710d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1006d33c
test edi, edi
je 0x1006d33c
call esi
test eax, eax
je 0x1006d333
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1006d333
test byte [ebp - 0xc], 1
jne 0x1006d33c
or dword [ebp + 0x10], 0x200000
jmp 0x1006d375
mov eax, dword [0x1007c8c0]
cmp eax, ebx
je 0x1006d375
push eax
call fcn.1006710d
pop ecx
test eax, eax
je 0x1006d375
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1006d375
mov eax, dword [0x1007c8c4]
cmp eax, ebx
je 0x1006d375
push eax
call fcn.1006710d
pop ecx
test eax, eax
je 0x1006d375
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1007c8bc]
call fcn.1006710d
pop ecx
test eax, eax
je 0x1006d395
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1006d397
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1006e560
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x10079ffc], 0xc3a
mov dword [ebp - 4], 0
mov dword [0x1007a000], 0x969
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [0x10079ffc], 0x13b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [0x1007a000], 0x3b0
mov dword [ebp - 0xc], 0
jmp 0x1006e605
jmp 0x1006e63d
mov dword [0x10079ffc], 0x58
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x1006e662
jmp 0x1006e6f5
mov dword [0x10079ffc], 0x9f4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1006e6d8
jmp 0x1006e6eb
cmp dword [ebp - 0xc], 0x104
jge 0x1006e63d
mov eax, dword [0x1007a000]
sub eax, 0x5f3
mov dword [0x10079ffc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x1006e5b6
jmp 0x1006e630
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1006e605
mov dword [0x10079ffc], 0x3e7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x1006e5bb
jmp 0x1006e6f7
mov dword [0x10079ffc], 0x964
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x1006e6f3
mov dword [0x10079ffc], 0x22b9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1006e6f1
mov dword [0x1007a000], 0x1401
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x1006e6ef
mov dword [0x10079ffc], 0x1e25
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x1006e5e0
jmp 0x1006e6ed
mov dword [0x10079ffc], 0x375
mov dword [ebp - 8], 1
jmp 0x1006e708
jmp 0x1006e6ed
jmp 0x1006e6ef
jmp 0x1006e6f1
jmp 0x1006e6f3
jmp 0x1006e6f5
jmp 0x1006e6f7
mov dword [0x10079ffc], 0xafd
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x10
pop ebp
ret

Function at 0x1006ea60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.1006ea60]
mov dword [0x1007a000], 0x1db2
mov dword [ebp - 8], eax
jmp 0x1006ea93
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
mov al, 1
test al, 1
jne 0x1006ea93
jmp 0x1006ead0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1006ea7b
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1006eab4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1006ea8b
jmp 0x1006eab4
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x10079ffc], 0x1f68
jmp 0x1006ea83
mov dword [0x10079ffc], 0xe3c
mov dword [ebp - 4], 0
jmp 0x1006ea7b
Function at 0x402012
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x200
call fcn.0040210c
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x200
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40206a
push 0x4f
push 0x401f072
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x461244]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401f94
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.00456500
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x46124c
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401fbb
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4020d6
push ebx
call fcn.00455437
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0040215b
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4020fe
push ebx
call fcn.00455437
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x402106
mov esp, ebp
pop ebp
ret 4

Function at 0x40210c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x402150
push 0x12
push 0x401f010
push 6
call fcn.0045543d
add esp, 0xc
jmp 0x402155
mov esp, ebp
pop ebp
ret 4
Function at 0x4050cb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x40511d
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x405115
push 0x4f
push 0x4020e8a
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x405156
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x405153
push 0x7d
push 0x4020e8a
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40516a
mov eax, 0
jmp 0x4051d2
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40519b
push 0x10b
push 0x4020e8a
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4051ca
push 0x12f
push 0x4020e8a
push 6
call fcn.0045543d
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x4051d2
mov esp, ebp
pop ebp
ret 8

Function at 0x40ae04
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x40ae3b
push 0x12
push 0x4020def
push 6
call fcn.0045543d
add esp, 0xc
jmp 0x40ae40
mov esp, ebp
pop ebp
ret 4
Function at 0x40b379
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40b3c1
mov eax, 0x4627a1
push eax
push 1
mov ebx, 0x194
call fcn.00456d60
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x40b3e6
jmp 0x40b56e
push dword [ebp + 8]
call fcn.0040b17d
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x461244]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.00401f94
push eax
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40b43a
push 0x129
push 0x40219de
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x461244]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401f94
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40b53f
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401f94
push eax
call fcn.0040b35d
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x40b4dd
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40b4d3
push 0x222
push 0x40219de
push 6
call fcn.0045543d
add esp, 0xc
jmp 0x40b53f
cmp word [ebp - 0x14], 0x5c
jne 0x40b526
cmp dword [ebp - 0x18], 0
jle 0x40b523
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40b523
push 0x2c3
push 0x40219de
push 6
call fcn.0045543d
add esp, 0xc
inc dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.0040b574
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x40b463
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40b56e
push 0x374
push 0x40219de
push 6
call fcn.0045543d
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x4144f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00456550
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41456c
push 0x39
push 0x40203a9
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4145e9
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00456550
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4145df
push 0xc7
push 0x40203a9
push 6
call fcn.0045543d
add esp, 0xc
jmp 0x4145f1
mov eax, dword [ebp - 4]
jmp 0x4145f1
mov esp, ebp
pop ebp
ret 8
Function at 0x43a33e
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x43a388
push 0x19
push 0x401f168
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43a4d7
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456580
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 0x10]
push 0x800
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x43a3ef
push 0xa5
push 0x401f168
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x43a402
push ebx
call fcn.00455437
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x184
call fcn.004564c0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x43a43b
push ebx
call fcn.00455437
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x800
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x43a476
push 0x100
push 0x401f168
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x43a4a5
push 0x131
push 0x401f168
push 6
call fcn.0045543d
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call fcn.0043a4f9
test eax, eax
je 0x43a4d7
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43a4d2
push eax
mov ebx, eax
call fcn.00401123
inc eax
push eax
call fcn.00455431
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x43a4e1
mov eax, 0x461210
jmp 0x43a4e1
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x43a4f2
push ebx
call fcn.00455437
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x44f143
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
nop
cmp dword [ebp - 8], esp
je 0x44f181
push 0
push 0x4020662
push 6
call fcn.0045543d
add esp, 0xc
push 0x80000005
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x44f196
mov eax, 0x4627a1
push eax
push 1
mov ebx, 0x194
call fcn.00456d60
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x44f1cf
add eax, 8
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
cmp dword [ebp - 8], esp
je 0x44f1f9
push 0x50
push 0x4020662
push 6
call fcn.0045543d
add esp, 0xc
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 8], esp
je 0x44f222
push 0x9c
push 0x4020662
push 6
call fcn.0045543d
add esp, 0xc
jmp 0x44f227
mov esp, ebp
pop ebp
ret 8

Function at 0x456be0
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret
Function at 0x4571d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x457251
je 0x457242
cmp eax, 0x80000101
ja 0x45723b
je 0x457242
cmp eax, 0x80000004
je 0x45721c
cmp eax, 0x80000005
jne 0x457266
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x4572b3
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x4572b3
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x63a218]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x4572b3
cmp eax, 0x80000201
jne 0x457266
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x4572b3
cmp eax, 0x80000401
je 0x45729e
cmp eax, 0x80000501
je 0x457286
cmp eax, 0x80000601
je 0x45726e
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x4572af
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x4572af
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.00459530
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x63a218]
add esp, 8
test esi, esi
je 0x45738c
test eax, eax
je 0x45738c
inc eax
push edi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45732e
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x457382
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x457377
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4573a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x457432
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x457424
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x45741c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4573e5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x457460
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x4574e0
push edi
call dword [0x63a218]
add esp, 4
test eax, eax
jbe 0x4574e0
test esi, esi
je 0x45749e
cmp esi, 0xffffffff
je 0x45749e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x457522
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x4574cc
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x4574e0
jmp 0x4574db
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x4574e0
mov ebp, 1
test esi, esi
je 0x457522
cmp esi, 0xffffffff
je 0x457522
test ebp, ebp
jne 0x457559
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x45752f
call edi
test eax, eax
je 0x457522
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x457559
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x45750a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x457522
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x457559
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x45753c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x63a218]
inc eax
push eax
call fcn.00455770
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret