Function at 0x72cf50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7de72d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 8]
push ebp
mov eax, dword [ebx + 0xc]
push esi
lea esi, [ebx + 4]
push edi
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.00429350
lea ecx, [ebx + 0x14]
call fcn.0073dae0
mov edi, dword [esp + 0x17c]
xor ebp, ebp
lea eax, [esp + 0x3c]
push ebp
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esp + 0x24], ebp
call dword [sym.imp.kernel32.dll_ReadFile]
mov dl, byte [esp + 0x17]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1c], dl
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x174], ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x72d211
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebx + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, ebp
mov dword [esp + 0x18], 0
jae 0x72d0a7
mov ecx, esi
call fcn.004b2bf0
cmp ebp, eax
jae 0x72d00b
mov ecx, esi
call fcn.004b2bf0
mov ebx, eax
jmp 0x72d00d
mov ebx, ebp
mov ecx, esi
call fcn.004b2bf0
add eax, ebx
mov dword [esp + 0x44], eax
jns 0x72d01e
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.007a2d8d
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebx
push edi
push eax
call fcn.0073d2b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], eax
push ecx
push ebp
push eax
mov ecx, esi
call fcn.0073d380
mov edx, dword [esp + 0x40]
mov ecx, dword [esi + 8]
lea eax, [edx + ebp*4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0073d2b0
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.006660a0
mov eax, dword [esi + 4]
push eax
call fcn.007a02e0
mov ecx, dword [esp + 0x48]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.004b2bf0
add eax, ebp
mov ebp, dword [esp + 0x10]
mov dword [esi + 4], ebx
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x30]
mov dword [esi + 8], eax
jmp 0x72d14d
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, ebp
jae 0x72d105
lea ecx, [ebp*4]
mov dword [esp + 0x30], ecx
add ecx, edi
push ecx
push eax
push edi
mov ecx, esi
call fcn.0073d2b0
mov eax, dword [esi + 8]
lea edx, [esp + 0x18]
mov ecx, eax
push edx
sub ecx, edi
sar ecx, 2
sub ebp, ecx
mov ecx, esi
push ebp
push eax
call fcn.0073d380
mov eax, dword [esi + 8]
cmp edi, eax
je 0x72d0f7
mov edx, dword [esp + 0x18]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x72d0ea
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x72d149
test ebp, ebp
jbe 0x72d14d
shl ebp, 2
push eax
push eax
sub eax, ebp
mov ecx, esi
push eax
call fcn.0073d2b0
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, ebp
cmp edi, eax
je 0x72d132
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x72d123
lea eax, [edi + ebp]
cmp edi, eax
je 0x72d146
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x72d139
add dword [esi + 8], ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 8]
lea edx, [esp + 0x3c]
push 0
lea ecx, [ebp*4]
push edx
mov edx, dword [esp + 0x184]
push ecx
push eax
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.007489b0
test eax, eax
jne 0x72d1b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x17c], 0xffffffff
call fcn.006660a0
mov eax, dword [esp + 0x20]
push eax
call fcn.007a02e0
add esp, 4
xor eax, eax
jmp 0x72d325
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
cmp dword [edx + ecx*4], 0x8c
jne 0x72d1c9
mov eax, dword [ebx + 8]
cmp dword [eax], 6
je 0x72d20a
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00429350
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x17c], 0xffffffff
call fcn.006660a0
mov edx, dword [esp + 0x20]
push edx
call fcn.007a02e0
add esp, 4
xor eax, eax
jmp 0x72d325
mov edi, dword [esp + 0x17c]
lea eax, [esp + 0x3c]
push 0
push eax
lea ecx, [esp + 0x40]
push 4
push ecx
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
lea edx, [esp + 0x17]
lea ecx, [esp + 0x50]
push edx
call fcn.00428190
lea eax, [esp + 0x2f]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x178], 1
call fcn.00428190
mov eax, dword [esp + 0x38]
xor ebp, ebp
test eax, eax
mov byte [esp + 0x174], 3
jle 0x72d2fb
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x72d28e
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + edx + 0x4c]
mov edx, dword [eax + esi*4]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.00748780
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x72d26a
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0xe0]
mov dword [esp + 0xdc], eax
call fcn.0073b3d0
lea edx, [esp + 0xd8]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [ebx + 0x14]
mov byte [esp + 0x17c], 5
call fcn.0073d780
lea ecx, [esp + 0x34]
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0042f4d0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x174], 3
call fcn.0051e930
mov eax, dword [esp + 0x38]
inc ebp
cmp ebp, eax
jl 0x72d260
lea ecx, [esp + 0x4c]
mov byte [esp + 0x174], 0
call fcn.0051e930
lea ecx, [esp + 0x1c]
mov dword [esp + 0x174], 0xffffffff
call fcn.0071a830
mov eax, 1
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 4