Function at 0x673720
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7d4cd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push 0
lea ebx, [esi + 0x5c]
push eax
push 4
push ebx
push edi
mov dword [esp + 0x48], ebx
call ebp
lea ecx, [esp + 0x4c]
push 0
lea eax, [esi + 0x60]
push ecx
push 4
push eax
push edi
mov dword [esp + 0x34], eax
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx]
push 0
lea ebx, [esi + 0x64]
mov eax, dword [edx]
lea edx, [esp + 0x50]
push edx
push 4
push ebx
mov dword [esp + 0x48], eax
push edi
mov dword [esp + 0x4c], ecx
call ebp
mov eax, dword [esi + 0x2c]
push eax
call fcn.007a02e0
mov eax, dword [ebx]
add esp, 4
test eax, eax
mov dword [esi + 0x2c], 0
jle 0x6737fb
lea eax, [eax + eax*2]
mov dword [esp + 0x38], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x44], 0
je 0x6737da
mov ecx, dword [esp + 0x38]
dec ecx
mov dword [esp + 0x38], ecx
jmp 0x6737dc
xor eax, eax
mov ebx, dword [ebx]
lea edx, [esp + 0x4c]
push 0
push edx
lea ecx, [ebx + ebx*8]
mov dword [esp + 0x4c], 0xffffffff
shl ecx, 2
push ecx
push eax
push edi
mov dword [esi + 0x2c], eax
call ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
fld dword [0x7e5664]
fcomp dword [edx]
fnstsw ax
test ah, 1
je 0x673a40
lea ebx, [esi + 0x70]
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0
fld dword [0x7e5664]
fcomp dword [eax]
fnstsw ax
test ah, 1
je 0x673a12
mov dword [esp + 0x18], ebx
mov esi, dword [ebx]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x673885
mov eax, dword [esi + 8]
mov dword [esp + 0x44], 1
push eax
call fcn.007a02e0
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x44], 0xffffffff
push 0x678010
push 0x10
push 0x10
push ecx
call fcn.007a3255
push esi
call fcn.007a02e0
add esp, 4
lea edx, [esp + 0x4c]
push 0
push edx
lea eax, [esp + 0x1c]
push 4
push eax
push edi
mov dword [ebx], 0
mov dword [esp + 0x28], 0
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6739e9
push 0x10c
call fcn.007a2d8d
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0x44], 2
je 0x6738fc
push 0x678010
push 0x677ff0
push 0x10
lea ecx, [esi + 0xc]
push 0x10
push ecx
call fcn.007a3333
xor eax, eax
mov byte [esp + 0x44], 3
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esp + 0x44], 2
jmp 0x6738fe
xor esi, esi
mov dword [esp + 0x44], 0xffffffff
lea edx, [esp + 0x24]
mov dword [ebx], esi
push 0
lea ebx, [esi + 4]
push edx
push 4
push ebx
push edi
mov dword [esp + 0x38], 0
call ebp
cmp dword [ebx], 0
jle 0x673955
mov eax, dword [esi + 8]
test eax, eax
je 0x673935
push eax
call fcn.007a02e0
add esp, 4
mov eax, dword [ebx]
shl eax, 1
push eax
call fcn.007a2d8d
mov edx, dword [ebx]
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esi + 8], eax
push 0
push ecx
shl edx, 1
push edx
push eax
push edi
call ebp
add esi, 0xc
mov dword [esp + 0x2c], 4
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x10]
mov ebx, 4
lea eax, [esp + 0x28]
push 0
push eax
push 4
push esi
push edi
mov dword [esp + 0x3c], 0
call ebp
cmp dword [esi], 0
jle 0x6739bf
mov eax, dword [esi + 4]
test eax, eax
je 0x673997
push eax
call fcn.007a02e0
add esp, 4
mov eax, dword [esi]
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
call fcn.007a2d8d
mov ecx, dword [esi]
add esp, 4
lea edx, [esp + 0x28]
mov dword [esi + 4], eax
lea ecx, [ecx + ecx*2]
push 0
shl ecx, 2
push edx
push ecx
push eax
push edi
call ebp
add esi, 0x40
dec ebx
jne 0x67396d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add ecx, 0x10
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
jne 0x673964
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, edx
mov eax, dword [edx]
mov dword [eax], ecx
fld dword [esp + 0x30]
fadd dword [0x7e66fc]
mov edx, dword [esp + 0x34]
add ebx, 0x400
mov dword [esp + 0x18], ebx
fst dword [esp + 0x30]
fcomp dword [edx]
fnstsw ax
test ah, 1
jne 0x673844
fld dword [esp + 0x1c]
fadd dword [0x7e66fc]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
add ebx, 4
mov dword [esp + 0x38], ebx
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [eax]
fnstsw ax
test ah, 1
jne 0x673821
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4