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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x485250]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x420c34
cmp byte [ebx], 0xa
jne 0x420c34
or byte [eax + edi + 0x28], 4
jmp 0x420c39
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x420d37
mov al, byte [edx]
cmp al, 0x1a
je 0x420d19
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x420c68
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x420c8d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x420c97
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x420c4a
jmp 0x420d37
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420d14
cmp dword [ebp - 0xc], 0
je 0x420d14
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x485250]
test byte [eax + edi + 0x28], 0x48
je 0x420cee
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x420cd9
mov byte [esi], dl
jmp 0x420cea
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x485250]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x420d37
cmp byte [ebp - 1], 0xa
jne 0x420cfd
cmp esi, ebx
jne 0x420cfd
mov byte [esi], 0xa
jmp 0x420d36
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00421774
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x420d37
mov byte [esi], 0xd
jmp 0x420d36
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x485250]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420d33
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420d37
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420d40
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x485250]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x420d83
cmp word [esi], dx
jne 0x420d83
or byte [edi + eax + 0x28], 4
jmp 0x420d88
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x420edb
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x420ebb
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x420dca
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420e00
cmp eax, edx
jae 0x420e0c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x420da2
jmp 0x420edb
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420eb7
cmp dword [ebp - 0x14], 0
je 0x420eb7
mov eax, dword [ebx*4 + 0x485250]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420e8f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x420e58
mov word [esi], cx
jmp 0x420e8b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x485250]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x485250]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x485250]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x420edb
pop ebx
cmp word [ebp - 4], bx
jne 0x420ea0
cmp esi, dword [ebp + 0xc]
jne 0x420ea0
mov word [esi], bx
jmp 0x420ed8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00421774
add esp, 0x10
cmp word [ebp - 4], bx
je 0x420edb
push 0xd
jmp 0x420ed4
mov ecx, dword [ebx*4 + 0x485250]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420ed2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420edb
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x421e0d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x482800]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421e58
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421fac
test al, al
jne 0x421e52
sub edx, 2
cmp edx, edi
jne 0x421e38
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421e7a
lea eax, [edi + 2]
cmp edx, eax
je 0x421e7a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421d59
add esp, 0x10
jmp 0x421f74
push esi
lea ecx, [ebp - 0x255]
call fcn.00421fac
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421ebd
push dword [ebp - 0x25c]
jmp 0x421e6a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421efa
cmp word [ebp - 0x226], 0
je 0x421f1b
cmp word [ebp - 0x226], ax
jne 0x421efa
cmp word [ebp - 0x224], 0
je 0x421f1b
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421d59
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421f67
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421ed4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421f4f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421f74
push 0x421b89
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427780
add esp, 0x10
jmp 0x421f44
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ce32
leave
ret

Function at 0x429250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42927d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42927d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42b62a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42b6aa
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42b6a9
push ebx
mov ebx, 0x484650
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dfb
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dfb
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42c5b8
mov byte [edi + esi], al
call fcn.004123be
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42b64c
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00406602
pop edi
pop ebp
ret 0x14
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x5219625e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x7a832e96
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x13095b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xe19015
lea edi, [esi - 0xa18015]
push edi
or ebp, 0xffffffff
jmp 0x13095d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x13095d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13095c8
mov eax, 1
add ebx, ebx
jne 0x13095eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x13095fc
jne 0x130961b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130961b
dec eax
add ebx, ebx
jne 0x1309608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x13095e0
add ebx, ebx
jne 0x1309617
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x130966d
xor ecx, ecx
sub eax, 3
jb 0x1309633
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13096a2
sar eax, 1
mov ebp, eax
jmp 0x130963e
add ebx, ebx
jne 0x130963e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130960c
inc ecx
add ebx, ebx
jne 0x130964c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130960c
add ebx, ebx
jne 0x1309659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x130964e
jne 0x130966a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x130964e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x130968c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x130967e
jmp 0x13095ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x130968c
add edi, ecx
jmp 0x13095ce
pop esi
mov edi, esi
mov ecx, 0x27016
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x13096aa
cmp byte [edi], 0x57
jne 0x13096aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x13096af
lea edi, [esi + 0xee4000]
mov eax, dword [edi]
or eax, eax
je 0x130971e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf09000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf09028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x13096dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf09030]
or eax, eax
je 0x1309718
mov dword [ebx], eax
add ebx, 4
jmp 0x13096f9
call dword [esi + 0xf0902c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1309758
cmp al, 0xef
ja 0x1309742
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1309724
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x1309731
mov eax, dword [edi]
add edi, 4
jmp 0x1309731
mov ebp, dword [esi + 0xf09034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x130978c
sub esp, 0xffffff80
jmp 0x459150
Function at 0x40139d
Capabilities:
Create thread

Disassembly:
jmp 0x5d0fe0
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
push edi
je 0x5d108f
mov edi, dword [esp + 0x14]
test edi, edi
je 0x5d108f
push 0
push 1
push 0x7f8cc0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x5d108f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [0x7f8c6c], ecx
mov edx, dword [eax + 4]
mov dword [0x7f8c70], edx
mov eax, dword [eax + 8]
mov dword [0x7f8c74], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [0x7f8c60], ecx
mov edx, dword [eax + 4]
mov dword [0x7f8c64], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov dword [0x7f8c68], eax
mov ecx, dword [esi + 0x1f4]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x402036
push 0
push 0
mov dword [0x7f8cbc], ecx
mov dword [0x7f8cb8], edi
mov dword [0x7adc60], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x5d1096
push eax
push 0x7f8cc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
xor eax, eax
pop esi
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 0x10
Function at 0x4024b9
Capabilities:
Read file on windows

Disassembly:
jmp 0x609460
sub esp, 0x730
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x72c], eax
mov eax, dword [esp + 0x738]
push ebx
mov ebx, dword [esp + 0x738]
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x609499
xor eax, eax
jmp 0x60963c
test eax, eax
je 0x609492
push edi
push ebx
push 1
lea eax, [esp + 0x1a]
push 1
push eax
call fcn.00611708
push 0x200
xor edi, edi
lea ecx, [esp + 0x54c]
push edi
push ecx
add esi, 0x10
call fcn.00610b10
lea edx, [esp + 0x30]
push edx
push str._02X
push esi
call fcn.00613412
add esp, 0x28
test eax, eax
jle 0x60950e
lea esp, [esp]
cmp edi, 0x200
jge 0x60950e
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
add esi, 2
push str._02X
mov byte [esp + edi + 0x540], al
push esi
inc edi
call fcn.00613412
add esp, 0xc
test eax, eax
jg 0x6094e0
push ebp
push 0x100
lea edx, [esp + 0x540]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0040faa1
mov ebp, dword [esp + 0x758]
mov cl, byte [esp + 0x75c]
add esp, 0xc
xor edi, edi
mov byte [esp + 0x13], cl
test ebp, ebp
jle 0x6095ed
push ebx
push 0x10
lea edx, [esp + 0x144]
push 1
push edx
call fcn.00611708
add esp, 0x10
cmp eax, 0x10
jne 0x609616
lea eax, [esp + 0x13c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.0040f100
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [esp + 0x15], al
mov byte [esp + 0x14], al
lea esi, [ecx + edi + 1]
mov cl, byte [esp + eax + 0x13c]
add byte [esp + 0x13], cl
mov byte [esi + eax - 1], cl
mov cl, byte [esp + eax + 0x13d]
add byte [esp + 0x14], cl
mov byte [esi + eax], cl
mov cl, byte [esp + eax + 0x13e]
add byte [esp + 0x15], cl
mov byte [esi + eax + 1], cl
mov cl, byte [esp + eax + 0x13f]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x609591
add dl, byte [esp + 0x15]
mov ebx, dword [esp + 0x1c]
add dl, byte [esp + 0x14]
add edi, 0x10
add byte [esp + 0x13], dl
cmp edi, ebp
jl 0x609545
push ebx
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.00611708
mov al, byte [esp + 0x26]
add esp, 0x10
cmp al, byte [esp + 0x17]
jne 0x609624
cmp al, byte [esp + 0x13]
jne 0x609624
mov eax, 1
jmp 0x60963a
push 0
push 0x66f428
push 0x66f430
jmp 0x609630
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop edi
mov ecx, dword [esp + 0x734]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x730
ret 0x10
Function at 0x402946
Capabilities:
Read file on windows

Disassembly:
jmp 0x594640
sub esp, 0x208
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push edi
mov edi, dword [esp + 0x214]
mov esi, ecx
mov dword [esp + 8], edi
test edi, edi
jne 0x59466e
xor eax, eax
jmp 0x59472a
push 0x666574
push edi
call fcn.00610fd7
lea edx, [esi + 0x30]
add esp, 8
mov dword [esi + 4], eax
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x594686
mov eax, dword [esi + 4]
test eax, eax
je 0x594667
push ebx
push ebp
push 2
push 0
push eax
call fcn.00614a5c
mov eax, dword [esi + 4]
push eax
call fcn.00614da4
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
mov ebx, eax
call fcn.00614a5c
add esp, 0x1c
mov ecx, esi
call fcn.0040b3d4
mov edx, dword [esi + 4]
push edx
push 1
lea edi, [esi + 0x18]
push 0xc
push edi
call fcn.00611708
mov eax, dword [edi]
sub eax, dword [esi + 0x1c]
add esp, 0x10
sub eax, dword [esi + 0x20]
lea ecx, [esi + 0x148]
push eax
call fcn.00406f55
test eax, eax
jne 0x594743
push eax
push 0x38
push 0x666590
call fcn.0040aec0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str.Bin_File_Version_Error_____s
push edx
call fcn.00611035
add esp, 0x18
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x208
ret 4
lea ecx, [esi + 0x148]
call fcn.00401497
test eax, eax
je 0x5947e7
lea edi, [ebx - 0xe]
push edi
call fcn.0060fcba
add esp, 4
mov dword [esi + 0x28], eax
test eax, eax
jne 0x59477b
push eax
push 0x49
push 0x6665e0
call fcn.0040aec0
add esp, 0xc
jmp 0x594726
push edi
push 0
push eax
call fcn.00610b10
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 4]
add esp, 0xc
push ecx
push edi
push edx
push eax
lea ecx, [esi + 0x148]
call fcn.004024b9
test eax, eax
jne 0x5947c7
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push str.File_Open_Error_:__s
push edx
call fcn.00611035
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x1c]
jmp 0x59471d
mov ecx, dword [esi + 4]
push ecx
call fcn.00610cd6
mov eax, 1
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 0x2c], eax
jmp 0x594728
mov edx, dword [esi + 4]
push edx
push 1
lea eax, [esi + 0x24]
push 1
push eax
call fcn.00611708
mov eax, dword [esi + 0x20]
add esp, 0x10
test eax, eax
je 0x59481e
push eax
call fcn.0060fcba
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
push 1
push eax
mov dword [esi + 0x28], eax
call fcn.00611708
add esp, 0x14
mov eax, dword [esi + 4]
push eax
push 1
lea ecx, [esi + 0x25]
push 1
push ecx
call fcn.00611708
mov edx, dword [esi + 4]
push edx
call fcn.00610cd6
add esp, 0x14
mov ecx, esi
mov dword [esi + 4], 0
call fcn.0040b1b8
test eax, eax
je 0x594726
call fcn.0040fadd
test eax, eax
je 0x594726
mov eax, 1
mov dword [esi + 0x2c], eax
jmp 0x594728
Function at 0x402a04
Capabilities:
Create directory
Write file on windows

Disassembly:
jmp 0x4250c0
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
mov esi, 0x1d4
lea ebx, [edi + 1]
call fcn.00402365
mov dword [eax + esi + 0xbc], ebx
call fcn.00402365
mov dword [eax + esi], edi
cmp ebp, 5
jge 0x42510f
call fcn.00402365
mov dword [eax + esi - 0x88], edi
call fcn.00402365
mov dword [eax + esi - 0x34], edi
call fcn.00402365
mov dword [eax + esi + 0x88], ebx
cmp ebp, 4
jge 0x425136
call fcn.00402365
mov dword [eax + esi - 0x74], edi
call fcn.00402365
mov dword [eax + esi - 0x20], edi
call fcn.00402365
mov dword [eax + esi + 0x9c], 5
cmp ebp, 2
jge 0x42517f
call fcn.00402365
mov dword [eax + esi - 0x64], edi
call fcn.00402365
mov dword [eax + esi - 0x5c], edi
call fcn.00402365
mov dword [eax + esi - 0x10], edi
call fcn.00402365
mov dword [eax + esi + 0xac], 5
call fcn.00402365
mov dword [eax + esi - 8], edi
call fcn.00402365
mov dword [eax + esi + 0xb4], 5
add esi, 4
add ebp, ebx
cmp esi, 0x1ec
jl 0x4250d5
call fcn.00402365
mov dword [eax + 0x240], 0x1e
call fcn.00402365
mov dword [eax + 0x180], ebx
call fcn.00402365
mov dword [eax + 0x184], ebx
call fcn.00402365
mov esi, 0xfa
mov dword [eax + 0x228], esi
call fcn.00402365
mov dword [eax + 0x22c], esi
call fcn.00402365
mov dword [eax + 0x188], ebx
call fcn.00402365
mov dword [eax + 0x18c], ebx
call fcn.00402365
mov dword [eax + 0x250], ebx
call fcn.00402365
mov ebp, 3
mov dword [eax + 0x254], ebp
call fcn.00402365
mov dword [eax + 0x190], ebx
call fcn.00402365
mov dword [eax + 0x12c], ebx
call fcn.00402365
mov dword [eax + 0xf0], edi
call fcn.00402365
mov dword [eax + 0xf4], edi
call fcn.00402365
mov dword [eax + 0xf8], edi
call fcn.00402365
mov dword [eax + 0x194], edi
call fcn.00402365
mov dword [eax + 0x198], edi
call fcn.00402365
mov esi, 5
mov dword [eax + 0x218], esi
call fcn.00402365
mov dword [eax + 0x220], esi
call fcn.00402365
mov dword [eax + 0x21c], esi
call fcn.00402365
mov dword [eax + 0x258], ebp
call fcn.00402365
mov dword [eax + 0x204], esi
call fcn.00402365
mov dword [eax + 0x19c], edi
call fcn.00402365
mov dword [eax + 0xfc], edi
call fcn.00402365
mov dword [eax + 0x10c], ebx
call fcn.00402365
mov dword [eax + 0x110], ebx
call fcn.00402365
mov dword [eax + 0x118], ebx
call fcn.00402365
mov dword [eax + 0x120], ebx
call fcn.00402365
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x2a8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.00405ba0