joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push 0x498ee0
push str.CodeSSv.ddi
mov ebx, ecx
call fcn.0045af79
mov edi, eax
add esp, 8
test edi, edi
je 0x410787
push esi
mov esi, dword [0x4b4bec]
mov ecx, dword [esi + 0x434]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x43c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 0x438]
mov dword [ebp - 0x10], ecx
imul eax, dword [esi + 0x470], 0x64
add eax, dword [esi + 0x46c]
imul eax, eax, 0x64
add eax, dword [esi + 0x454]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x444]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x450]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x458]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x440]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x48c]
mov dword [ebp - 0x28], eax
mov eax, 0x10624dd3
imul dword [esi + 0x45c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, 1
mov dword [ebp - 4], edx
cmp byte [esi + 0x22d8], dl
cmovne edx, eax
mov dword [ebp - 4], edx
imul ecx, dword [esi + 0x22e4], 0x3e8
mov eax, dword [esi + 0x22e0]
add ecx, 0x3e8
add eax, ecx
imul eax, eax, 0x64
add edx, eax
mov dword [ebp - 4], edx
call fcn.00448280
mov dword [ebp - 0x30], eax
call fcn.00448260
mov dword [ebp - 0x34], eax
call fcn.004483c0
mov dword [ebp - 0x38], eax
call fcn.00448380
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4b4bec]
push edi
push 1
push 4
imul eax, dword [eax + 0x22e8], 0x64
add eax, dword [ebx + 0x228]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 8]
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0xc]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.0045b60b
add esp, 0x40
push edi
push 1
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x20]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.0045b60b
add esp, 0x40
lea eax, [ebp - 0x28]
push edi
push 1
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x2c]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.0045b60b
add esp, 0x40
lea eax, [ebp - 0x34]
push edi
push 1
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x38]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x3c]
push 4
push eax
call fcn.0045b60b
push edi
push 1
lea eax, [ebp - 0x40]
push 4
push eax
call fcn.0045b60b
add esp, 0x40
push edi
call fcn.0045ac26
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3004
call fcn.0044fa20
mov eax, dword [0x4b3d28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3980f9a0
call fcn.0045ab4a
add esp, 4
xor esi, esi
nop dword [eax]
call fcn.0045ab29
and eax, 0x800000ff
jns 0x410843
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp + esi*4 - 0x3004], eax
inc esi
cmp esi, 0xc00
jl 0x410830
xor edi, edi
mov ebx, 0xc00
nop word [eax + eax]
movsx esi, byte [edi + 0x4b7910]
call fcn.0045ab29
cdq
inc edi
idiv ebx
mov dword [ebp + edx*4 - 0x3004], esi
cmp edi, 0x20
jl 0x410860
mov ebx, dword [0x4b35c4]
mov eax, 0xd1b71759
mul ebx
mov eax, 0x51eb851f
mov edi, 0x64
mov esi, edx
mul ebx
shr esi, 0xd
mov ecx, edx
add esi, 0x4d2
shr ecx, 5
xor edx, edx
mov eax, ecx
div edi
imul eax, ecx, 0x64
mov edi, edx
sub ebx, eax
call fcn.0045ab29
cdq
mov ecx, 0xc00
idiv ecx
mov dword [ebp + edx*4 - 0x3004], esi
lea esi, [edi + 0xd5d]
call fcn.0045ab29
cdq
mov edi, 0xc00
idiv edi
mov dword [ebp + edx*4 - 0x3004], esi
lea esi, [ebx + 0x92f]
call fcn.0045ab29
cdq
idiv edi
push 0x498ee0
push str.Codemcd.se
mov dword [ebp + edx*4 - 0x3004], esi
call fcn.0045af79
mov esi, eax
lea eax, [ebp - 0x3004]
push esi
push 1
push 0x3000
push eax
call fcn.0045b60b
push esi
call fcn.0045ac26
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret
Function at 0x411eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4b3d28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push 0x498ecc
push eax
mov dword [ebp - 0x40], esi
call fcn.0045af79
mov edi, eax
add esp, 8
test edi, edi
je 0x411ffc
push ebx
push edi
push 1
lea eax, [esi + 0x14]
mov dword [ebp - 0x34], 0
push 4
push eax
mov dword [ebp - 0x3c], eax
call fcn.0045b20f
mov eax, dword [esi + 0x14]
mov ebx, 1
inc eax
add esp, 0x10
cmp eax, ebx
jle 0x411ff2
nop
push edi
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x28]
push 0x24
push eax
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call fcn.0045b20f
push edi
push 1
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.0045b20f
push dword [ebp - 0x30]
call fcn.0045b668
push edi
push 1
push dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
push eax
call fcn.0045b20f
mov edx, dword [esi + 8]
lea eax, [ebx*4]
add esp, 0x34
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x38]
mov ecx, dword [edx]
push 0
push eax
lea eax, [ebp - 0x28]
push eax
push edx
call dword [ecx + 0xc]
test eax, eax
je 0x411f88
push str.Not_Sound_Buffer_Create
mov ecx, esi
call fcn.00411930
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x44]
push 0
push edx
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebx*4]
mov eax, dword [ecx + eax]
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x20]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
xor esi, esi
cmp dword [ebp - 0x20], esi
jbe 0x411fe0
nop dword [eax]
push edi
push 1
lea eax, [ebp - 0x29]
push 1
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 0x34]
add esp, 0x10
mov al, byte [ebp - 0x29]
mov byte [esi + ecx], al
inc esi
cmp esi, dword [ebp - 0x20]
jb 0x411fc0
mov eax, dword [ebp - 0x3c]
inc ebx
mov esi, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
cmp ebx, eax
jl 0x411f10
push edi
call fcn.0045ac26
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret 4
Function at 0x415a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4b3d28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, ecx
push 0
push 0
push 1
push 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x415bf6
push 0
push 0
push 1
push 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call edi
mov dword [esi + 0x34], eax
test eax, eax
je 0x415bf6
mov eax, dword [ebp + 8]
push 0
push 0x40000080
push 3
push 0
push 0
push 0xc0000000
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x415bf6
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push ecx
movups xmmword [ebp - 0x20], xmm0
push eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov al, byte [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0xe], al
mov al, byte [ebp + 0x18]
mov byte [ebp - 0xd], al
mov al, byte [ebp + 0x14]
mov byte [ebp - 0xc], al
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
je 0x415bf6
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetCommMask]
push 0x400
push 0x400
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetupComm]
push 0xf
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor edx, edx
mov dword [ebp - 0x34], 0xffffffff
mov eax, 0x4b00
mov dword [ebp - 0x30], 0
div edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
lea eax, [ebp - 0x38]
mov dword [esi + 0xc], 1
push eax
push 0
push esi
push 0x415d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x415c0a
mov ecx, esi
call fcn.004159a0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
mov dword [esi], 1
xor ecx, ebp
pop esi
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b3d28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41609f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret 8
push ebx
lea ebx, [esi + 0x24]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x416118
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
jne 0x4160ff
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x416117
nop dword [eax]
call edi
cmp eax, 0x3e4
jne 0x416106
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4160e0
jmp 0x416117
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop ebx
pop esi
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret 8
Function at 0x416c40
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496179
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b3d28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x416ca4
mov eax, dword [edi]
jmp 0x416ca6
mov eax, edi
push 0
push 0x499393
mov ecx, edi
mov byte [eax], 0
call fcn.004179a0
push 0x288
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
call fcn.0044f9d9
add esp, 4
mov dword [ebp - 0x40], 0x288
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x416d0a
test esi, esi
je 0x416cfa
push esi
call fcn.0044fa4d
add esp, 4
push dword [ebp - 0x40]
call fcn.0044f9d9
add esp, 4
mov dword [ebp - 0x3c], eax
mov esi, eax
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x416da6
cmp dword [ebp - 0x3c], eax
je 0x416db3
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x38]
push str._02x_02x_02x_02x_02x_02x
push eax
call fcn.00416230
add esp, 0x20
cmp byte [ebp - 0x38], 0
jne 0x416d7c
xor eax, eax
jmp 0x416d8b
lea eax, [ebp - 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416d82
sub eax, edx
push eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.004179a0
cmp dword [edi + 0x10], 0
ja 0x416da3
mov esi, dword [esi]
test esi, esi
jne 0x416d31
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x416db3
push esi
call fcn.0044fa4d
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret
Function at 0x416e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0xc
xor ecx, ecx
push ebx
mov bl, byte [ebp + 8]
movsx eax, bl
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
je 0x416f36
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp edx, 0x20
jb 0x416f19
lea eax, [esi - 1]
add eax, edx
cmp edi, eax
ja 0x416eca
lea eax, [edi - 1]
add eax, edx
cmp eax, esi
jae 0x416f19
mov eax, edx
mov edx, esi
and eax, 0xffffffe0
sub edx, edi
mov dword [ebp - 4], edx
lea edx, [esi + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, dword [ebp - 8]
nop word [eax + eax]
movups xmm0, xmmword [esi + eax]
lea eax, [eax + 0x20]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [edi + ecx]
add ecx, 0x20
pxor xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
cmp ecx, dword [ebp - 0xc]
jb 0x416ef0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
cmp ecx, edx
jae 0x416f34
sub esi, edi
lea eax, [ecx + edi]
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, bl
mov byte [eax - 1], cl
sub edx, 1
jne 0x416f24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x498ecc
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.0045af79
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x41ca51
push ebx
push esi
push eax
push 1
lea ebx, [edi + 0x2a0]
push 4
push ebx
call fcn.0045b20f
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
xor esi, esi
mov dword [edi + 0x2a4], eax
add esp, 0x14
cmp dword [ebx], esi
jle 0x41ca24
push dword [ebp + 8]
lea eax, [ebp - 8]
push 1
push 4
push eax
call fcn.0045b20f
push 1
push 0xfffffffffffffffc
push dword [ebp + 8]
call fcn.0046f478
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
mov ecx, dword [edi + 0x2a4]
push dword [ebp + 8]
push 1
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
mov eax, dword [edi + 0x2a4]
push dword [eax + esi*4]
call fcn.0045b20f
add esp, 0x30
mov ecx, edi
push esi
call fcn.0041c840
mov edx, dword [ebp - 4]
movsx ecx, dx
cmp ecx, eax
jge 0x41ca1f
push esi
mov ecx, edi
call fcn.0041c840
movzx eax, ax
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [ebx]
jl 0x41c9a5
mov eax, dword [ebp - 4]
xor ecx, ecx
cwde
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
push dword [ebp + 8]
mov dword [edi + 0x2a8], eax
call fcn.0045ac26
add esp, 8
pop esi
pop ebx
push 0x500
push 0x300
push 0
push 0
lea eax, [edi + 0x2b4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41ca80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov edx, dword [edi + 0x28c]
test edx, edx
je 0x41cccb
mov ecx, dword [edi + 0x2e0]
test ecx, ecx
jne 0x41caa5
mov byte [edi + 0x2e4], cl
cmp word [edi + 0x2ca], 0
mov al, byte [ebp + 0x10]
push esi
jle 0x41cabe
test al, al
je 0x41cac6
mov byte [edi + 0x2e4], 1
test al, al
jne 0x41cc18
mov eax, dword [edi + 0x2a0]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
dec eax
cmp ecx, eax
jb 0x41caf1
push 0
push 0
push 4
push edx
mov byte [edi + 0x2e4], 0
mov dword [edi + 0x2e0], 0
call esi
mov eax, dword [edi + 0x2ac]
test eax, eax
je 0x41cb10
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [edi + 0x2ac], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 0x10]
push eax
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
push 0
push 0xfffffffffffffffc
push dword [edi + 0x28c]
call esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41cbc8
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
add esp, 4
mov dword [edi + 0x2ac], eax
lea ecx, [ebp - 4]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, ecx
push ecx
push eax
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [edi + 0x2cc]
test eax, eax
jle 0x41cbaf
push 0x1d
push eax
mov ecx, edi
call fcn.004157b0
test eax, eax
je 0x41cbf4
mov dword [edi + 0x2cc], 0
mov dword [edi + 0x2d0], 0
mov dword [edi + 0x2d4], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0
push 1
push dword [edi + 0x2ac]
mov ecx, edi
push eax
push esi
call fcn.0041b770
mov eax, dword [edi + 0x2a0]
inc dword [edi + 0x2e0]
dec eax
cmp dword [edi + 0x2e0], eax
jb 0x41ccab
inc word [edi + 0x2ca]
mov byte [edi + 0x2e4], 1
jmp 0x41ccab
call fcn.0045ab29
cdq
idiv dword [edi + 0x2d8]
mov esi, dword [ebp + 8]
add esi, edx
call fcn.0045ab29
cdq
idiv dword [edi + 0x2dc]
mov eax, dword [ebp + 0xc]
add eax, edx
jmp 0x41cbb5
mov eax, dword [edi + 0x2ac]
test eax, eax
je 0x41cc29
push 0
push 1
push eax
jmp 0x41cc9e
push ecx
mov ecx, edi
call fcn.0041d6b0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp + 0x10]
push eax
push dword [edi + 0x28c]
call esi
push 1
push 0
push 0xfffffffffffffffc
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
add esp, 4
mov dword [edi + 0x2ac], eax
lea ecx, [ebp - 4]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, ecx
push ecx
push eax
push dword [edi + 0x28c]
call esi
push 0
push 1
push dword [edi + 0x2ac]
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.0041b770
mov eax, dword [edi + 0x2ac]
pop esi
test eax, eax
je 0x41cccb
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [edi + 0x2ac], 0
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41cce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0x10]
push edi
mov edi, ecx
cmp word [edi + 0x2ca], 0
jg 0x41ccff
test al, al
je 0x41cd22
mov byte [edi + 0x2e4], 1
test al, al
je 0x41cd22
mov eax, dword [edi + 0x2ac]
test eax, eax
je 0x41cd22
push 0
push 1
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b770
jmp 0x41ce3b
add dword [edi + 0x2e0], 0xffffffff
mov ecx, dword [edi + 0x2e0]
js 0x41ce3b
mov eax, dword [edi + 0x2b0]
cmp dword [eax + ecx*4], 0
jbe 0x41ce3b
mov eax, dword [edi + 0x2ac]
test eax, eax
je 0x41cd64
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [edi + 0x2ac], 0
mov ecx, dword [edi + 0x2e0]
mov eax, dword [edi + 0x2b0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
mov eax, dword [eax + ecx*4]
neg eax
push 0
add eax, eax
push eax
push dword [edi + 0x28c]
call ebx
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 0x10]
push eax
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
push 0
push 0xfffffffffffffffc
push dword [edi + 0x28c]
call ebx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
add esp, 4
mov dword [edi + 0x2ac], eax
lea ecx, [ebp - 4]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, ecx
push ecx
push eax
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 1
push dword [edi + 0x2ac]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b770
mov ecx, dword [edi + 0x2e0]
mov eax, dword [edi + 0x2b0]
push 1
push 0
mov eax, dword [eax + ecx*4]
neg eax
add eax, eax
push eax
push dword [edi + 0x28c]
call ebx
cmp dword [edi + 0x2e0], 0
jg 0x41ce3a
push 0
push 0
push 4
push dword [edi + 0x28c]
call ebx
pop ebx
mov eax, dword [edi + 0x2ac]
test eax, eax
je 0x41ce5a
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [edi + 0x2ac], 0
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41cea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x28c], 0
je 0x41cf51
mov eax, dword [edi + 0x2ac]
test eax, eax
je 0x41ced5
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [edi + 0x2ac], 0
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
push 0
push 0xfffffffffffffffc
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
add esp, 4
mov dword [edi + 0x2ac], eax
lea ecx, [ebp - 8]
push 0
push ecx
mov ecx, dword [ebp - 4]
add ecx, ecx
push ecx
push eax
push dword [edi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 1
push dword [edi + 0x2ac]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b770
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x41cfa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x2e0], 0
jne 0x41cfba
mov byte [esi + 0x2e4], 0
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0xfffffffffffffffc
push dword [esi + 0x28c]
call edi
cmp byte [ebp + 0x10], 0
jne 0x41d082
mov eax, dword [esi + 0x2ac]
test eax, eax
je 0x41d00f
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [esi + 0x2ac], 0
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
add esp, 4
mov dword [esi + 0x2ac], eax
lea ecx, [ebp - 8]
push 0
push ecx
mov ecx, dword [ebp - 4]
add ecx, ecx
push ecx
push eax
push dword [esi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 1
push dword [esi + 0x2ac]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b770
mov eax, dword [esi + 0x2ac]
test eax, eax
je 0x41d094
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [esi + 0x2ac], 0
jmp 0x41d094
mov eax, dword [ebp - 4]
push 1
push 0
add eax, eax
push eax
push dword [esi + 0x28c]
call edi
inc dword [esi + 0x2e0]
mov eax, dword [esi + 0x2e0]
cmp eax, dword [esi + 0x2a0]
jb 0x41d0ce
inc word [esi + 0x2ca]
push 0
push 0
push 4
push dword [esi + 0x28c]
mov byte [esi + 0x2e4], 1
mov dword [esi + 0x2e0], 0
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41d0e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28c]
test ecx, ecx
je 0x41d1ea
mov eax, dword [esi + 0x2a0]
dec eax
cmp dword [esi + 0x2e0], eax
jb 0x41d11d
push 0
push 0
push 4
push ecx
mov dword [esi + 0x2e0], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x10], 0x25
ja 0x41d1ea
mov eax, dword [esi + 0x2ac]
test eax, eax
je 0x41d146
push 2
push eax
call fcn.0044f9cb
add esp, 8
mov dword [esi + 0x2ac], 0
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
push 0
push 0xfffffffffffffffc
push dword [esi + 0x28c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41d1c7
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f9d9
add esp, 4
mov dword [esi + 0x2ac], eax
lea ecx, [ebp - 8]
push 0
push ecx
mov ecx, dword [ebp - 4]
add ecx, ecx
push ecx
push eax
push dword [esi + 0x28c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 0x10]
mov ecx, esi
push 1
push dword [esi + 0x2ac]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041bd90
mov eax, dword [esi + 0x2a0]
inc dword [esi + 0x2e0]
dec eax
cmp dword [esi + 0x2e0], eax
jb 0x41d1ea
inc word [esi + 0x2ca]
mov byte [esi + 0x2e4], 1
pop esi
mov esp, ebp
pop ebp
ret 0xc