joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468da4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x468dd2
mov eax, ebx
call fcn.0046985c
cmp dword [ebx + 0x3c], 0
je 0x468dcb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x468e43
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x468e35
cmp dword [ebx + 8], 0
je 0x468df4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x468e06
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x468e35
cmp dword [ebx + 8], 0
je 0x468de7
cmp eax, 3
je 0x468e19
dec eax
jne 0x468de7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x468de7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x468de7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x468e61
cmp dword [ebx + 0x10], 0xcc
je 0x468e61
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00468e6c
pop ebx
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xe486faf
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x38dd7ced
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401020
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.004010a3
jae 0x40102e
xor ecx, ecx
call fcn.004010a3
jae 0x40105d
xor eax, eax
call fcn.004010a3
jae 0x40106d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.004010a3
adc al, al
jae 0x40104f
jne 0x401099
stosb byte es:[edi], al
jmp 0x401031
call fcn.004010af
sub ecx, ebx
jne 0x401076
call fcn.004010ad
jmp 0x401095
lodsb al, byte [esi]
shr eax, 1
je 0x4010bf
adc ecx, ecx
jmp 0x401092
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.004010ad
cmp eax, 0x7d00
jae 0x401092
cmp ah, 5
jae 0x401093
cmp eax, 0x7f
ja 0x401094
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x401031
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x4010d0
Capabilities:
Parse pe header

Disassembly:
call 0x4010d5
pop eax
add eax, 0x10000
shr eax, 0x10
shl eax, 0x10
sub eax, 0x10000
cmp word [eax], 0x5a4d
jne 0x4010db
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4010db
shr eax, 0x10
shl eax, 0x10
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov dword [0x402452], eax
mov edx, eax
xor edi, edi
push 2
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
push dword [0x403583]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401036
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret

Function at 0x10010f8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.010012dc
cmp dword [section..data], ebx
jne 0x10011bc
push fcn.010012dc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012ca
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001252
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001226
cmp al, 0x22
jne 0x1001218
cmp byte [esi], 0x22
jne 0x100122f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001239
cmp al, 0x20
jbe 0x100122b
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100125d
movzx eax, word [ebp - 0x48]
jmp 0x1001260
cmp byte [esi], 0x20
jbe 0x100122f
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001252
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100127d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10012b2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001319
ret
Function at 0x438ca4
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
inc esi
call fcn.00438cdc
or esi, ebx
add esi, 0xdeb9fdcd
xor dword [edx], eax
inc ebx
add ebx, 1
inc edx
or esi, ebx
add ebx, esi
mov esi, ebx
cmp edx, edi
jne fcn.00438ca4
mov ebx, esi
add esi, 0xac1a534
sub esi, 0x9551a742
ret
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x40123a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e8
push edi
and dword [ebp - 0xc], 0
mov byte [ebp - 0x110], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x390]
push eax
call sub.iphlpapi.DLL_GetAdaptersInfo
mov dword [ebp - 8], eax
push 0
call sub.KERNEL32.dll_DeleteFileA
cmp dword [ebp - 4], 0
jne 0x4013f1
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 8]
Function at 0x40357a
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4035a3
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40359b
cmp al, 0x22
jne 0x40358f
cmp byte [esi], 0x22
jne 0x4035ad
inc esi
jmp 0x4035ad
cmp al, 0x20
jle 0x4035ad
inc esi
cmp byte [esi], 0x20
jg 0x4035a7
mov al, byte [esi]
test al, al
je 0x4035b7
cmp al, 0x20
jle 0x4035a0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401e17
push 0x404004
push section..data
call fcn.00403560
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4035e7
movzx eax, word [ebp - 0x14]
jmp 0x4035ea
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040360d
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x218d39a6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, str.___bp
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x82031c0
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x40894b
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
call fcn.00408973
mov eax, eax
or eax, ecx
xor dword [ebx], edx
inc eax
add ebx, 1
sub ecx, eax
sub eax, 0x6b551abe
cmp ebx, esi
jne fcn.0040894b
ret

Function at 0x8de328
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de32e
pop ebp
sub ebp, 6
sub ebp, 0x4de328
jmp 0x8de38c
jmp 0x8de395
mov eax, 0x4de328
add eax, ebp
add eax, 0x93
mov ecx, 0x62e
mov edx, 0x90559a9f
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de3ac
jmp 0x8de3bf
cmc
fcompi st(7)
lahf
invalid
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ba10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov eax, 0x67
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0xc
movzx edx, byte [ecx + 0x739]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
imul dl
sar dl, 7
add esi, esi
mov ebx, eax
sar bx, 9
sub ebx, edx
call fcn.004a88b0
add ebx, 0x1e
mov dword [esp + 0x24], 0
mov ecx, ebp
sub eax, esi
movsx ebx, bl
add eax, ebx
test edi, edi
lea edx, [eax + 0x14]
cmovne eax, edx
mov dword [esp + 0x20], eax
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0040b820
Function at 0x4138f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.00413640
sub esp, 0x10
test eax, eax
je 0x413933
mov ecx, eax
call fcn.004e1850
test eax, eax
jne 0x4139b0
mov eax, dword [esp + 0x78]
movsx edx, di
movsx ebp, si
mov ecx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], 6
mov dword [esp + 0x3c], edx
call fcn.004163f0
sub esp, 0x10
test eax, eax
mov dword [esp + 0x4c], 0
mov edx, dword [esp + 0x3c]
jne 0x4139b8
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], 6
call fcn.00416490
sub esp, 0x18
test eax, eax
jne 0x4139b8
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x4c], 0
mov edx, dword [0x59ad30]
imul edx, edi
add edx, esi
imul edx, edx, 0xe
add edx, dword [0x5b39d0]
movzx ecx, word [edx]
and cx, 0xf00
cmp cx, 0x400
je 0x413a18
cmp cx, 0x300
jne 0x4139a3
movsx edx, word [edx + 4]
test edx, edx
jle 0x413b18
cmp dword [0x5b522c], edx
jl 0x413b18
sub edx, 1
imul edx, dword [0x5b5230]
mov ecx, dword [0x5b5239]
mov edx, dword [ecx + edx]
movsx edx, word [edx + 4]
jmp 0x413a47
movsx edx, word [edx + 4]
test edx, edx
jle 0x413b21
cmp dword [0x5b504c], edx
jl 0x413b21
sub edx, 1
imul edx, dword [0x5b5050]
mov ecx, dword [0x5b5059]
mov edx, dword [ecx + edx]
movsx edx, word [edx + 0xf]
movsx edi, di
movsx esi, si
mov dword [esp + 0x24], 0
mov ecx, ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00403f70
sub esp, 0x28
test eax, eax
je 0x4139a3
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x413b00
test eax, eax
jle 0x413b0f
cmp eax, dword [ebx + 0x66a]
jg 0x413b0f
sub eax, 1
imul eax, dword [ebx + 0x66e]
mov ecx, dword [ebx + 0x677]
movzx ecx, word [ecx + eax + 6]
test edx, edx
jle 0x413b2a
cmp edx, dword [0x5b522c]
jg 0x413b2a
sub edx, 1
imul edx, dword [0x5b5230]
mov eax, dword [0x5b5239]
mov eax, dword [eax + edx]
mov dword [eax + 0x26d], ecx
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
movzx eax, word [6]
ud2
movzx eax, word [4]
ud2
movzx eax, word [0xf]
ud2
mov dword [0x26d], 0
ud2
Function at 0x4163f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp word [ecx + 0x6dd], 0
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
jne 0x416428
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 0
movzx ebx, byte [ecx + 0x747]
mov eax, 0x67
mov dword [esp + 0x1c], ecx
imul bl
sar bl, 7
sar ax, 9
sub eax, ebx
add eax, 0xa
movsx eax, al
mov dword [esp], eax
call fcn.0040b820
sub esp, 8
test eax, eax
je 0x416415
movsx eax, word [esp + 0x18]
movsx esi, si
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00416120
Function at 0x423dc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x29c
lea eax, [esp + 0x150]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
sub esp, 8
mov edi, eax
cmp eax, 0xffffffff
je 0x423ebc
lea esi, [esp + 0x34]
lea ebx, [esp + 0x1c]
lea esi, [esi]
lea eax, [esp + 0x17c]
mov dword [esp], esi
mov ecx, 0x5ba360
mov dword [esp + 4], eax
call fcn.0049a250
sub esp, 8
mov eax, dword [esp + 0x170]
mov dword [esp + 4], ebx
mov dword [esp + 0x138], eax
lea eax, [esp + 0x164]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
sub esp, 8
lea eax, [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, ebp
sub esp, 8
movzx eax, word [esp + 0x24]
mov dword [esp], esi
mov dword [esp + 0x13c], eax
movzx eax, word [esp + 0x26]
mov dword [esp + 0x140], eax
movzx eax, word [esp + 0x2a]
mov dword [esp + 0x144], eax
movzx eax, word [esp + 0x2c]
mov dword [esp + 0x148], eax
movzx eax, word [esp + 0x2e]
mov dword [esp + 0x14c], eax
call fcn.00424000
sub esp, 4
lea eax, [esp + 0x150]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
sub esp, 8
test eax, eax
jne 0x423e00
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
mov eax, dword [esp + 0x2b4]
test eax, eax
jne 0x423ee8
mov eax, dword [ebp + 0xc]
add esp, 0x29c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp], 0x423d90
mov ecx, ebp
call fcn.00424780
mov eax, dword [ebp + 0xc]
sub esp, 4
add esp, 0x29c
pop ebx
pop esi
pop edi
pop ebp
ret 8

Function at 0x427260
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x1c
mov byte [0x5bc060], 1
test eax, eax
je 0x427270
call eax
mov dword [esp], str.Insufficient_Memory__execution_interrupt.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub esp, 4
cmp byte [0x5b9062], 0
je 0x4272d0
mov dword [esp + 0xc], 0xffffffff
mov ecx, 0x5b7cd4
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], str.Insufficient_Memory__execution_interrupt.
call fcn.00419fd0
sub esp, 0x10
mov ecx, 0x5b9060
call fcn.004e81c0
mov dword [esp], 0xfffffffe
call sub.msvcrt.dll_exit
lea esi, [esi]
nop
mov dword [esp + 8], str.Insufficient_Memory__execution_interrupt.
mov dword [esp + 4], 0x59c146
mov dword [esp], 0x5b9060
call fcn.004e8200
jmp 0x4272b5
Function at 0x427510
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x5bc060], 0
je 0x42751a
ret
push ebx
sub esp, 0x88
mov byte [0x5bc060], 1
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
test eax, eax
je 0x427537
call eax
lea eax, [esp + 0x98]
lea ebx, [esp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0057df20
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [0x5b9062], 0
push eax
je 0x427575
cmp dword [0x5b31e8], 0
jne 0x4275aa
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x59c146
mov dword [esp], 0x5b9060
call fcn.004e8200
mov ecx, 0x5b9060
mov byte [0x5b9063], 1
call fcn.004e81c0
mov dword [esp], 0xfffffffe
call sub.msvcrt.dll_exit
mov dword [esp + 0xc], 0xffffffff
mov ecx, 0x5b7cd4
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00419fd0
sub esp, 0x10
jmp 0x42758d

Function at 0x427be0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x28
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov byte [esp + 0x1c], al
mov eax, dword [ecx + 0x104]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebx + 0x104]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
mov edx, eax
mov eax, 1
test edx, edx
jne 0x427c38
add esp, 0x28
pop ebx
ret 4
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x427c2d
mov dword [esp + 8], ebx
mov dword [esp + 4], str._File::file_put_short__error_occured_while_writing_file:__s_n
mov dword [esp], 0x5bb380
call fcn.00427510
add esp, 0x28
xor eax, eax
pop ebx
ret 4

Function at 0x427c70
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x38
mov eax, dword [ecx + 0x104]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0x2f]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov eax, dword [ebx + 0x104]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
mov edx, eax
movzx eax, byte [esp + 0x2f]
test edx, edx
jne 0x427cc0
add esp, 0x38
pop ebx
ret
mov edx, dword [ebx + 0x108]
xor eax, eax
test edx, edx
je 0x427cb5
mov dword [esp + 8], ebx
mov dword [esp + 4], str._File::file_get_char__error_occured_while_reading_file:__s_n
mov dword [esp], 0x5bb380
mov byte [esp + 0x1f], al
call fcn.00427510
movzx eax, byte [esp + 0x1f]
add esp, 0x38
pop ebx
ret

Function at 0x427d00
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x28
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov word [esp + 0x1c], ax
mov eax, dword [ecx + 0x104]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebx + 0x104]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
mov edx, eax
mov eax, 1
test edx, edx
jne 0x427d58
add esp, 0x28
pop ebx
ret 4
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x427d4e
mov dword [esp + 8], ebx
mov dword [esp + 4], str._File::file_put_char__error_occured_while_writing_file:__s_n
mov dword [esp], 0x5bb380
call fcn.00427510
add esp, 0x28
xor eax, eax
pop ebx
ret 4
Function at 0x427d90
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x38
mov eax, dword [ecx + 0x104]
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
lea eax, [esp + 0x2e]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov eax, dword [ebx + 0x104]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
mov edx, eax
movzx eax, word [esp + 0x2e]
test edx, edx
jne 0x427de0
add esp, 0x38
pop ebx
ret
mov edx, dword [ebx + 0x108]
xor eax, eax
test edx, edx
je 0x427dd5
mov dword [esp + 8], ebx
mov dword [esp + 4], str._File::file_get_short__error_occured_while_reading_file:__s_n
mov dword [esp], 0x5bb380
mov dword [esp + 0x1c], eax
call fcn.00427510
mov eax, dword [esp + 0x1c]
add esp, 0x38
pop ebx
ret

Function at 0x427e20
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x28
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov word [esp + 0x1c], ax
mov eax, dword [ecx + 0x104]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebx + 0x104]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
mov edx, eax
mov eax, 1
test edx, edx
jne 0x427e78
add esp, 0x28
pop ebx
ret 4
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x427e6e
mov dword [esp + 8], ebx
mov dword [esp + 4], str._File::file_put_unsigned_short__error_occured_while_writing_file:__s_n
mov dword [esp], 0x5bb380
call fcn.00427510
add esp, 0x28
xor eax, eax
pop ebx
ret 4

Function at 0x427eb0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x14
cmp dword [ecx + 0x10c], 1
mov esi, dword [esp + 0x24]
je 0x427f10
mov eax, dword [ebx + 0x104]
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebx + 0x104]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
mov edx, eax
mov eax, 1
test edx, edx
jne 0x427f30
add esp, 0x14
pop ebx
pop esi
ret 8
cmp esi, 0xffff
jbe 0x427f60
mov dword [esp], 0
call fcn.00427e20
sub esp, 4
jmp 0x427ec4
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x427eff
mov dword [esp + 8], ebx
mov dword [esp + 4], str._File::file_write__error_occured_while_writing_file:__s_n
mov dword [esp], 0x5bb380
call fcn.00427510
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret 8
mov dword [esp], esi
call fcn.00427e20
sub esp, 4
jmp 0x427ec4