joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4132aa
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x48e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x44
pop edi
push edi
mov dword [ebp - 0x60], eax
mov esi, edx
lea eax, [ebp - 0x5c]
mov ebx, ecx
push 0
push eax
call fcn.0042c5f0
xor eax, eax
mov dword [ebp - 0x5c], edi
push eax
mov dword [ebp - 0x30], 0x101
mov word [ebp - 0x2c], ax
call fcn.00437bcd
push 1
mov dword [ebp - 0x24], eax
call fcn.00437bcd
push 2
mov dword [ebp - 0x20], eax
call fcn.00437bcd
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x18]
xor eax, eax
add esp, 0x18
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 8], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push ecx
push ecx
push 1
push ecx
push ecx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x60]
mov esi, eax
call fcn.00417349
pop ecx
test esi, esi
je 0x413362
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042a75e
leave
ret

Function at 0x413384
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, ecx
push 0
push edi
call fcn.0042c127
pop ecx
pop ecx
lea esi, [eax - 2]
jmp 0x4133ae
movzx ecx, word [esi]
push ecx
push 0x4848f4
call fcn.0042c127
pop ecx
pop ecx
test eax, eax
jne 0x4133b4
sub esi, 2
cmp esi, edi
jae 0x413397
jmp 0x4133dc
push ebx
movzx ebx, word [esi]
xor eax, eax
push eax
push edi
mov word [esi], ax
call fcn.00437703
pop ecx
pop ecx
test eax, eax
je 0x4133d8
mov ecx, edi
call fcn.00413384
push edi
call fcn.004377d9
pop ecx
mov word [esi], bx
pop ebx
pop edi
pop esi
ret

Function at 0x413628
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push ebx
mov ebx, 0x40000
push ebx
call fcn.00436cf5
pop ecx
test eax, eax
jne 0x413645
cmp dword [0x48fd28], eax
je 0x413655
jmp 0x413649
pop ebx
pop edi
pop esi
ret
push 1
push 0x48fce8
call fcn.0042c115
mov ecx, ebx
call fcn.00413628
mov ecx, ebx
mov edi, eax
call fcn.00413628
push ebx
push str.ERROR:_cant_alloc__lu_memory_bytes
push edi
mov esi, eax
call fcn.0040d1ac
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
add esp, 0x14
push 2
call fcn.004370bd
int3
Function at 0x414ae7
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4b4448]
push esi
push edi
cmp eax, 0x3e8
jb 0x414b00
cmp dword [0x48fd28], 0
je 0x414b25
jmp 0x414b19
mov dword [eax*8 + 0x4b4450], ecx
mov dword [eax*8 + 0x4b4454], edx
inc eax
pop edi
mov dword [0x4b4448], eax
xor eax, eax
pop esi
ret
push 1
push 0x48fce8
call fcn.0042c115
call fcn.00413628
mov esi, eax
call fcn.00413628
push str.Too_much_external_compression_methods_defined
push esi
mov edi, eax
call fcn.0040d1ac
mov edx, edi
mov ecx, esi
call fcn.004130ba
push edi
push 0x484838
call fcn.00412708
add esp, 0x10
push 2
call fcn.004370bd
int3

Function at 0x414f89
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4b2504], 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
jne 0x414fef
xor edx, edx
push 8
mov ecx, edx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x414fa3
mov dword [edx*4 + 0x4b0508], ecx
inc edx
cmp edx, 0x100
jb 0x414f9e
mov edi, 0x800
jmp 0x414feb
mov ecx, dword [edx*4 + 0x4b0108]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4b0508]
mov dword [edx*4 + 0x4b0508], ecx
inc edx
cmp edx, edi
jb 0x414fcf
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4c7edc]
cmp eax, dword [ecx + 4]
jle 0x415031
mov edi, 0x4c7edc
push edi
call fcn.0042aba3
cmp dword [0x4c7edc], 0xffffffff
pop ecx
jne 0x415031
xor edx, edx
mov ecx, str.CrcUpdate
call fcn.00414c08
push edi
mov dword [0x4c7ee4], eax
call fcn.0042ab59
pop ecx
mov eax, dword [0x4c7ee4]
test eax, eax
je 0x41504e
push 0x4b0508
push esi
push ebx
push dword [ebp + 8]
call eax
add esp, 0x10
jmp 0x4150dd
mov edx, dword [ebp + 8]
test esi, esi
je 0x415072
test bl, 3
je 0x415072
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x4b0508]
inc ebx
sub esi, 1
jne 0x415055
cmp esi, 4
jb 0x4150bf
mov edi, esi
shr edi, 2
xor edx, dword [ebx]
sub esi, 4
mov eax, edx
add ebx, 4
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4b0908]
xor ecx, dword [eax*4 + 0x4b0d08]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x4b0508]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4b1108]
mov edx, ecx
sub edi, 1
jne 0x41507c
test esi, esi
je 0x4150db
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx ecx, al
xor edx, dword [ecx*4 + 0x4b0508]
inc ebx
sub esi, 1
jne 0x4150c3
mov eax, edx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x416b6c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [ecx + 0xc]
call fcn.004398d2
test eax, eax
pop ecx
pop ecx
setne al
pop ebp
ret 4

Function at 0x416b92
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffa
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
ret

Function at 0x416c48
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x48e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4c6108]
push edi
xor edi, edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x6c], eax
test ecx, ecx
jne 0x416cc7
mov ecx, 0x40000
call fcn.00412734
push eax
push 0x10000
mov dword [0x4c6108], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [0x4c6108]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x416c95
sub ecx, edx
sar ecx, 1
push 2
pop edx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push ebx
call fcn.0042e7bb
mov eax, dword [ebp - 0x6c]
pop ecx
pop ecx
mov ecx, dword [0x4c6108]
mov edx, eax
call fcn.00412fdf
push dword [esi + 0x10]
mov ecx, esi
call fcn.004169ed
call fcn.00413429
movsd qword [ebp - 0x70], xmm0
mulsd xmm0, qword [0x485df8]
call fcn.00449bf0
movsd xmm0, qword [ebp - 0x70]
mov ebx, eax
call fcn.00449bf0
add ebx, eax
imul ebx, ebx, 0x33ce519
lea eax, [ebp - 0x68]
add ebx, 0x89
push ebx
push str.freearc_u.tmp
push eax
call fcn.0040d1ac
add esp, 0xc
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.00416a58
mov ecx, dword [esi + 0xc]
call fcn.00413384
push dword [esi + 0xc]
call fcn.004377d9
pop ecx
test eax, eax
je 0x416d48
inc edi
cmp edi, 0x3e8
jb 0x416cfd
xor al, al
jmp 0x416d51
mov ecx, esi
call fcn.004169c8
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a75e
leave
ret
Function at 0x4184f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea esi, [eax*4 + 4]
mov dword [ebp - 8], edx
push 0
push esi
mov edi, ecx
call fcn.004128b1
mov ebx, eax
mov dword [ebp - 4], ebx
pop ecx
pop ecx
test ebx, ebx
jne 0x41852c
or eax, 0xffffffff
jmp 0x418622
push esi
push 0
push ebx
call fcn.0042c5f0
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
add ecx, edi
mov dword [ebp - 0x14], esi
mov dword [esi], eax
add esi, 4
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
shl edx, 8
add edx, eax
mov dword [ebp - 0x10], ecx
movzx eax, byte [edi + 2]
shl edx, 8
add edx, eax
movzx eax, byte [edi + 3]
shl edx, 8
add edi, 4
add edx, eax
cmp edi, ecx
jae 0x418616
mov eax, edx
shr eax, 0xc
xor eax, edx
shr eax, 3
xor eax, edx
and eax, dword [ebp + 0x10]
mov ecx, dword [ebx + eax*4]
mov dword [ebx + eax*4], esi
mov al, byte [edi]
inc edi
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x418602
cmp al, 0xf2
jne 0x418602
xor ebx, ebx
mov cl, byte [edi]
movzx eax, cl
xor eax, 0xc
add ebx, eax
inc edi
cmp cl, 0xf3
je 0x41859b
mov dword [ebp - 0xc], edi
test ebx, ebx
je 0x4185f1
mov ecx, dword [ebp + 0xc]
dec ecx
add ecx, ebx
je 0x4185cd
mov edi, dword [ebp - 8]
sub edi, esi
mov al, byte [edi + esi]
mov byte [esi], al
inc esi
sub ecx, 1
jne 0x4185bf
mov edi, dword [ebp - 0xc]
movzx edx, byte [esi - 4]
movzx eax, byte [esi - 3]
mov ebx, dword [ebp - 4]
shl edx, 8
add edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
add edx, eax
movzx eax, byte [esi - 1]
shl edx, 8
add edx, eax
jmp 0x41860d
mov ebx, dword [ebp - 4]
shl edx, 8
mov byte [esi], 0xf2
or edx, 0xf2
jmp 0x41860c
mov byte [esi], al
movzx eax, al
shl edx, 8
or edx, eax
inc esi
cmp edi, dword [ebp - 0x10]
jb 0x418576
mov ecx, ebx
call fcn.004129a9
sub esi, dword [ebp - 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c00b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x41c02f
xor eax, eax
jmp 0x41c176
add dword [ebp + 8], 5
lea eax, [edx - 4]
or ecx, 0xffffffff
add eax, ebx
mov dword [ebp - 4], eax
lea edx, [edi + ebx]
mov dword [ebp - 8], edx
cmp edx, eax
jae 0x41c05e
mov ebx, dword [ebp - 4]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x41c058
inc edx
cmp edx, ebx
jb 0x41c04b
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov edi, edx
sub edi, ebx
mov eax, edi
sub eax, ecx
cmp edx, dword [ebp - 4]
jae 0x41c15f
cmp eax, 3
jbe 0x41c096
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x18], ecx
test al, al
je 0x41c0d2
cmp al, 0xff
je 0x41c0d2
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x41c158
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x41c076
cmp byte [esi + 0x469e30], 0
je 0x41c0bf
movzx eax, byte [esi + 0x469e38]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x41c0bf
cmp al, 0xff
jne 0x41c076
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x41c03e
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 8]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, edx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x41c12d
movzx eax, byte [esi + 0x469e38]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x41c11c
cmp al, 0xff
jne 0x41c12d
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0x10]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0x14]
jmp 0x41c0f3
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [ebp - 0x18]
shr eax, 0x18
and al, 1
neg al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0xc]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x41c0ca
lea ecx, [eax - 1]
shl esi, cl
xor ecx, ecx
and esi, 7
cmp eax, 3
mov eax, dword [ebp + 0xc]
cmova esi, ecx
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fa5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
test edx, edx
jle 0x41fb9b
push ebx
push esi
push edi
and dword [ebp - 4], 0
test eax, eax
jle 0x41fb8c
mov edi, dword [ebp + 8]
lea ebx, [edi + eax*4]
mov dword [ebp - 8], ebx
mov eax, dword [ebx]
mov ebx, dword [eax + ecx*4]
mov eax, ebx
cdq
mov ecx, 0x2000
mov esi, eax
and ebx, 0x80000000
mov eax, dword [ebp - 4]
xor esi, edx
sub esi, edx
dec esi
mov edx, esi
mov edi, dword [edi + eax*4]
mov eax, esi
and eax, 0x4000
shr edx, 2
and edx, ecx
or edx, eax
mov eax, esi
and eax, ecx
shr edx, 2
or edx, eax
mov ecx, esi
shr edx, 2
mov eax, esi
and eax, 0x1000
and ecx, 1
or edx, eax
shl ecx, 2
shr edx, 2
mov eax, esi
and eax, 0x800
or edx, eax
mov eax, esi
and eax, 0x400
shr edx, 2
or edx, eax
mov eax, esi
and eax, 0x200
shr edx, 2
or edx, eax
mov eax, esi
and eax, 0x100
shr edx, 2
or edx, eax
mov eax, esi
and eax, 2
shr edx, 1
or ecx, eax
mov eax, esi
shl ecx, 2
and eax, 4
or ecx, eax
mov eax, esi
shl ecx, 2
and eax, 8
or ecx, eax
mov eax, esi
shl ecx, 2
and eax, 0x10
or ecx, eax
mov eax, esi
shl ecx, 2
and eax, 0x20
or ecx, eax
mov eax, esi
shl ecx, 2
and eax, 0x40
or ecx, eax
and esi, 0x80
shl ecx, 2
or ecx, esi
add ecx, ecx
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + ecx*4]
add eax, 0x3f80
shl eax, 0x10
or edx, eax
or edx, ebx
mov dword [edi + ecx*4], edx
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
inc edx
mov eax, dword [ebp - 0x10]
add ebx, 4
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
cmp edx, eax
jl 0x41fa8f
mov edx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, edx
jl 0x41fa7a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x423d18
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [ebp + 8]
shr dword [esi + 0x28], cl
mov eax, dword [esi + 0x2c]
div dword [esi + 0x28]
xor edx, edx
inc edx
shl edx, cl
pop esi
cmp eax, edx
jae 0x423d3a
pop ebp
ret 4
push str.data_error_n
push 2
call fcn.0043719b
pop ecx
push eax
call fcn.0041f161
pop ecx
pop ecx
push 1
call fcn.004370bd
int3
Function at 0x423f09
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0
push 0
mov ecx, 0x4bb7c8
call fcn.00423ea9
xor esi, esi
mov edi, 0x200
xor ebx, ebx
mov ecx, dword [ebx*4 + 0x48ead0]
xor edx, edx
inc edx
mov dword [ebx*4 + 0x4bfbcc], ecx
shl edx, cl
mov dword [ebx*4 + 0x4bffcc], esi
test edx, edx
je 0x423f54
xor eax, eax
test esi, esi
cmovg eax, esi
inc esi
mov byte [eax + 0x4bb7c8], bl
sub edx, 1
jne 0x423f41
inc ebx
cmp esi, edi
jl 0x423f23
sar esi, 8
cmp esi, edi
jge 0x423fab
mov ecx, dword [ebx*4 + 0x48ead0]
mov eax, esi
shl eax, 8
mov dword [ebx*4 + 0x4bfbcc], ecx
mov dword [ebx*4 + 0x4bffcc], eax
cmp ecx, 8
jb 0x424008
xor edi, edi
add ecx, 0xfffffff8
inc edi
shl edi, cl
test edi, edi
je 0x423fa2
push edi
lea eax, [esi + 0x4bb9c8]
push ebx
push eax
call fcn.0042c5f0
add esp, 0xc
add esi, edi
inc ebx
cmp esi, 0x200
jl 0x423f60
shr esi, 8
jmp 0x423ff8
mov ecx, dword [ebx*4 + 0x48ead0]
mov eax, esi
shl eax, 0x10
mov dword [ebx*4 + 0x4bfbcc], ecx
mov dword [ebx*4 + 0x4bffcc], eax
cmp ecx, 0x10
jb 0x424008
xor edi, edi
add ecx, 0xfffffff0
inc edi
xor edx, edx
shl edi, cl
test edi, edi
je 0x423ff7
lea eax, [esi + 0x400]
cmp eax, 0x4401
jae 0x423ff7
mov byte [esi + 0x4bbbc8], bl
inc esi
inc eax
inc edx
cmp edx, edi
jb 0x423fe3
inc ebx
cmp ebx, 0x20
jb 0x423fb0
pop edi
pop esi
mov eax, 0x4bb7c8
pop ebx
ret 8
cmp dword [0x48fd28], 0
je 0x42401d
push 1
push 0x48fce8
call fcn.0042c115
call fcn.00413628
mov esi, eax
call fcn.00413628
push dword [ebx*4 + 0x48ead0]
mov edi, eax
push ebx
push str.Fatal_error:_DistanceCoder::_extra_bits__d____d_is_lower_than_minimum_allowed_value_8
push esi
call fcn.0040d1ac
mov edx, edi
mov ecx, esi
call fcn.004130ba
push edi
push 0x484838
call fcn.00412708
add esp, 0x18
push 2
call fcn.004370bd
int3
Function at 0x42421f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
push 0xc
pop edx
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 0xc]
jb 0x4242a1
mov eax, dword [esi]
add eax, eax
mov dword [esi], eax
imul eax, eax, 0xc
test eax, eax
jne 0x424243
xor edi, edi
jmp 0x424258
push 4
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esi + 8]
mov edi, eax
sub ecx, dword [esi + 4]
push ecx
push dword [esi + 4]
push edi
call fcn.0042db80
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x424280
push 0x8000
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, ecx
mov dword [esi + 4], edi
push 0xc
pop ecx
cdq
idiv ecx
push 0xc
imul ecx, eax, 0xc
imul eax, dword [esi], 0xc
pop edx
add ecx, edi
add eax, edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0x100
jle 0x4242b7
cmp dword [0x48fd28], 0
je 0x4242e1
jmp 0x4242d5
mov eax, dword [ebp + 0xc]
mov dword [ecx], ebx
mov ecx, dword [esi + 8]
pop edi
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
add dword [esi + 8], edx
pop esi
pop ebx
pop ebp
ret 0xc
push 1
push 0x48fce8
call fcn.0042c115
call fcn.00413628
mov esi, eax
call fcn.00413628
push 0x100
push ebx
push str.Fatal_error:_DataTables::add___called_with__table_type_d_that_is_larger_than_maximum_allowed__d
push esi
mov edi, eax
call fcn.0040d1ac
mov edx, edi
mov ecx, esi
call fcn.004130ba
push edi
push 0x484838
call fcn.00412708
add esp, 0x18
push 2
call fcn.004370bd
int3

Function at 0x424498
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [ebp + 8], edi
ja 0x4244b6
cmp dword [0x48fd28], 0
je 0x42450a
jmp 0x424541
mov esi, dword [ebx + 4]
lea eax, [esi + 0xc]
cmp dword [ebx + 8], eax
jbe 0x4244fe
cmp dword [0x48fd28], 0
jne 0x424541
call fcn.00413628
mov esi, eax
call fcn.00413628
mov edi, eax
push str.Fatal_error:_DataTables::shift___called_when_list_of_tables_contains_more_than_one_entry
jmp 0x42451d
mov edx, dword [esi + 4]
mov eax, edi
mov ecx, edx
sub ecx, dword [ebp + 8]
add ecx, edi
sub eax, ecx
mov dword [esi + 4], ecx
push eax
push edx
push ecx
call fcn.0042db80
add esp, 0xc
add esi, 0xc
cmp esi, dword [ebx + 8]
jb 0x4244df
pop edi
pop esi
pop ebx
pop ebp
ret 8
call fcn.00413628
mov esi, eax
call fcn.00413628
mov edi, eax
push str.Fatal_error:_DataTables::shift___was_called_with_reversed_arguments_order
push esi
call fcn.0040d1ac
mov edx, edi
mov ecx, esi
call fcn.004130ba
push edi
push 0x484838
call fcn.00412708
add esp, 0x10
push 2
call fcn.004370bd
push 1
push 0x48fce8
call fcn.0042c115
int3
Function at 0x4277b7
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x48e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [ebp - 0x2c]
call fcn.00427710
lea ecx, [ebp - 0x2c]
call fcn.0042776b
mov esi, dword [ebp - 0x10]
cmp eax, esi
jae 0x4277fa
lea ecx, [ebp - 0x2c]
call fcn.0042776b
mov esi, eax
push 0x8000
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
lea eax, [esi - 0x500000]
xor ecx, ebp
pop esi
call fcn.0042a75e
leave
ret

Function at 0x42781d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00416bad
test al, al
jne 0x42783c
cmp dword [0x48fd28], 0
je 0x427851
jmp 0x427845
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 1
push 0x48fce8
call fcn.0042c115
mov esi, 0x40000
mov ecx, esi
call fcn.00412734
mov ecx, esi
mov edi, eax
call fcn.00412734
push dword [ebx + 0x10]
mov esi, eax
push str.ERROR:_cant_open_file__s
push edi
call fcn.0040d1ac
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
add esp, 0x14
push 2
call fcn.004370bd
int3

Function at 0x427895
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 8]
call fcn.0043ac95
add esp, 0x10
cmp eax, dword [ebp + 8]
jne 0x4278b7
cmp edx, dword [ebp + 0xc]
je 0x4278c2
cmp dword [0x48fd28], 0
je 0x4278d4
jmp 0x4278c8
pop edi
pop esi
pop ebp
ret 8
push 1
push 0x48fce8
call fcn.0042c115
mov esi, 0x40000
mov ecx, esi
call fcn.00412734
mov ecx, esi
mov edi, eax
call fcn.00412734
push str.ERROR:_file_seek_operation_failed
push edi
mov esi, eax
call fcn.0040d1ac
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
add esp, 0x10
push 2
call fcn.004370bd
int3

Function at 0x427915
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 8]
call fcn.0043c541
add esp, 0xc
test eax, eax
jns 0x42793a
cmp dword [0x48fd28], 0
je 0x42794d
jmp 0x427941
pop edi
cdq
pop esi
pop ebp
ret 0xc
push 1
push 0x48fce8
call fcn.0042c115
mov esi, 0x40000
mov ecx, esi
call fcn.00412734
mov ecx, esi
mov edi, eax
call fcn.00412734
push str.ERROR:_file_read_operation_failed
push edi
mov esi, eax
call fcn.0040d1ac
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
add esp, 0x10
push 2
call fcn.004370bd
int3
Function at 0x42798e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427915
cmp eax, dword [ebp + 0xc]
jne 0x4279ab
cmp edx, dword [ebp + 0x10]
je 0x4279b6
cmp dword [0x48fd28], 0
je 0x4279c8
jmp 0x4279bc
pop edi
pop esi
pop ebp
ret 0xc
push 1
push 0x48fce8
call fcn.0042c115
mov esi, 0x40000
mov ecx, esi
call fcn.00412734
mov ecx, esi
mov edi, eax
call fcn.00412734
push dword [ebp + 0xc]
mov esi, eax
push str.ERROR:_cant_read__lu_bytes
push edi
call fcn.0040d1ac
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
add esp, 0x14
push 2
call fcn.004370bd
int3

Function at 0x427a0c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 8]
call fcn.0043d3c9
cdq
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x427a2d
cmp edx, dword [ebp + 0x10]
je 0x427a38
cmp dword [0x48fd28], 0
je 0x427a4a
jmp 0x427a3e
pop edi
pop esi
pop ebp
ret 0xc
push 1
push 0x48fce8
call fcn.0042c115
mov esi, 0x40000
mov ecx, esi
call fcn.00412734
mov ecx, esi
mov edi, eax
call fcn.00412734
push str.ERROR:_file_write_operation_failed
push edi
mov esi, eax
call fcn.0040d1ac
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
add esp, 0x10
push 2
call fcn.004370bd
int3

Function at 0x427b66
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
push dword [esi]
call fcn.00436cda
mov edi, dword [ebp + 0x14]
pop ecx
lea ebx, [edi + 8]
push ebx
call fcn.00436cf5
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x427b93
cmp dword [0x48fd28], eax
je 0x427bce
jmp 0x427bc2
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00427895
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push edi
push dword [esi]
call fcn.0042798e
mov eax, dword [esi]
mov dword [esi + 8], eax
add eax, edi
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
push 1
push 0x48fce8
call fcn.0042c115
mov esi, 0x40000
mov ecx, esi
call fcn.00412734
mov ecx, esi
mov edi, eax
call fcn.00412734
push ebx
push str.ERROR:_cant_alloc__lu_memory_bytes
push edi
mov esi, eax
call fcn.0040d1ac
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004130ba
push esi
push 0x484838
call fcn.00412708
pop ecx
pop ecx
push 2
call fcn.004370bd
int3