Function at 0x444f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
lea ecx, [eax*8]
sub ecx, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [eax + eax*4]
push edi
mov edi, dword [0x468ec0]
add eax, eax
lea ecx, [edi + ecx*8]
mov edi, dword [ecx]
mov ecx, dword [ecx + 0x1c]
add eax, eax
mov ebx, dword [eax + eax + 0x469010]
add eax, eax
cmp dword [0x476bc4], 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], ecx
mov byte [ebp - 8], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x24], eax
jne 0x444fe1
test esi, esi
je 0x444fba
mov ecx, dword [0x489b30]
mov dword [esi], ecx
mov ecx, dword [0x489b34]
mov dword [esi + 4], ecx
mov ecx, dword [0x489b38]
mov dword [esi + 8], ecx
mov cl, byte [0x489b3c]
mov byte [esi + 0xc], cl
test edx, edx
je 0x444fe1
mov ecx, dword [0x489b30]
mov dword [edx], ecx
mov ecx, dword [0x489b34]
mov dword [edx + 4], ecx
mov ecx, dword [0x489b38]
mov dword [edx + 8], ecx
mov cl, byte [0x489b3c]
mov byte [edx + 0xc], cl
xor esi, esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 0x469000], esi
jle 0x445526
fldz
lea esi, [esi + esi*2]
shl esi, 4
fst qword [ebp - 0x30]
add esi, dword [ebp - 0x40]
cmp dword [eax + 0x469004], 0
je 0x4452a9
cmp ebx, 8
jne 0x445038
mov eax, dword [ebp - 0x24]
fstp st(0)
push edi
push 1
lea eax, [eax + 0x469020]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
fld qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
xor ebx, ebx
lea eax, [eax + 0x469020]
movzx eax, byte [eax + ebx]
mov dword [ebp - 0x48], eax
cmp eax, 0xfc
jg 0x44506a
fstp st(0)
je 0x445054
test eax, eax
jne 0x44507d
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d089
mov esp, ebp
pop ebp
ret
sub eax, 0xfd
je 0x445181
dec eax
je 0x4450b0
dec eax
fstp st(0)
je 0x445098
fild dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
inc ebx
mov dword [eax + 0x469010], ebx
fsub qword [0x466da8]
fst qword [ebp - 0x30]
jmp 0x445351
fld qword [0x4a5b10]
mov eax, dword [ebp - 0x24]
inc ebx
fst qword [ebp - 0x30]
mov dword [eax + 0x469010], ebx
jmp 0x445351
cmp word [esi + 0x20], 0
je 0x44529a
xor eax, eax
mov cl, byte [eax + 0x489b30]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x4450bd
cmp word [esi + 0x1e], 8
jle 0x44529a
inc dword [ebp - 0x20]
inc ebx
cmp ebx, 8
jne 0x445107
mov eax, dword [ebp - 0x24]
fstp st(0)
push edi
push 1
lea eax, [eax + 0x469020]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
fld qword [ebp - 0x30]
xor ebx, ebx
mov eax, dword [ebp - 0x24]
lea eax, [eax + 0x469020]
mov al, byte [eax + ebx]
cmp al, 0xfe
jne 0x445137
mov al, byte [0x465a50]
mov edx, dword [0x465a4c]
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0xc], edx
mov dword [eax + 0x469010], ebx
jmp 0x445351
cmp al, 0xfd
jne 0x44529a
push edi
fstp st(0)
push 1
lea ecx, [ebp - 0x1c]
push 8
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
push 4
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
fld qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
add esp, 0xc
inc ebx
mov dword [eax + 0x469010], ebx
jmp 0x445351
cmp word [esi + 0x1c], 1
fstp st(0)
jne 0x445198
push edi
push 1
push 8
lea ecx, [ebp - 0x30]
push ecx
jmp 0x445285
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x489b30]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x4451a0
cmp word [esi + 0x20], 0
push edi
push 1
push 8
je 0x445281
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
cmp word [esi + 0x1e], 8
jle 0x445297
inc dword [ebp - 0x20]
inc ebx
cmp ebx, 8
jne 0x44520a
push edi
push eax
mov eax, dword [ebp - 0x24]
lea eax, [eax + 0x469020]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
xor ebx, ebx
mov eax, dword [ebp - 0x24]
lea eax, [eax + 0x469020]
mov al, byte [eax + ebx]
cmp al, 0xfe
jne 0x44523d
mov eax, dword [0x465a4c]
fld qword [ebp - 0x30]
mov cl, byte [0x465a50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
inc ebx
mov byte [ebp - 8], cl
mov dword [eax + 0x469010], ebx
jmp 0x445351
cmp al, 0xfd
jne 0x445297
push edi
push 1
lea edx, [ebp - 0x1c]
push 8
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
fld qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
add esp, 0xc
inc ebx
mov dword [eax + 0x469010], ebx
jmp 0x445351
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
fld qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
inc ebx
mov dword [eax + 0x469010], ebx
jmp 0x445351
cmp word [esi + 0x1c], 1
fstp st(0)
jne 0x4452bd
push edi
push 1
push 8
lea ecx, [ebp - 0x30]
push ecx
jmp 0x44533c
cmp word [esi + 0x20], 0
je 0x445333
xor eax, eax
jmp 0x4452d0
mov cl, byte [eax + 0x489b30]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x4452d0
push edi
push 1
lea edx, [ebp - 0x14]
push 8
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
cmp word [esi + 0x1e], 8
jle 0x44534e
push edi
push eax
lea eax, [ebp - 0x1c]
push 8
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
push 4
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
inc dword [ebp - 0x20]
jmp 0x44534e
push edi
push 1
push 8
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x445054
fld qword [ebp - 0x30]
movsx eax, word [esi + 0x20]
cmp eax, 0xfffffffe
je 0x4454c0
cmp eax, 0xffffffff
je 0x445477
cmp eax, 1
jne 0x445509
mov eax, dword [esi + 0x18]
add eax, 3
cmp eax, 6
ja case.default.0x44537f
jmp dword [eax*4 + 0x44553c]
fcom qword [esi]
fnstsw ax
test ah, 1
jne 0x445399
fcom qword [esi + 8]
fnstsw ax
test ah, 0x41
jnp 0x4453ab
fld st(0)
fld qword [esi + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp case.default.0x44537f
mov eax, dword [ebp - 0x3c]
fstp st(0)
fld qword [0x4a5b10]
mov ecx, dword [ebp - 0x44]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x44550b
fcom qword [esi]
fnstsw ax
test ah, 1
jne case.default.0x44537f
fcom qword [esi + 8]
fnstsw ax
test ah, 0x41
jp case.default.0x44537f
mov eax, dword [ebp - 0x3c]
fstp st(0)
fld qword [0x4a5b10]
mov ecx, dword [ebp - 0x44]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x44550b
fld qword [0x4a5b10]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x445463
mov eax, dword [ebp - 0x3c]
fstp st(1)
mov ecx, dword [ebp - 0x44]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x44550b
fld st(0)
fld qword [esi]
jmp 0x44539e
fld st(0)
fld qword [esi]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4453ab
fld st(0)
fld qword [esi + 8]
jmp 0x44539e
fld st(0)
fld qword [esi]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4453ab
fld st(0)
fld qword [esi + 8]
fucompp
fnstsw ax
test ah, 0x44
jmp 0x445397
fstp st(0)
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
fstp qword [ecx + eax*8]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x44550b
cmp dword [0x476bc4], 0
je 0x44549b
fadd qword [0x466d60]
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov edx, dword [ebp - 0x38]
fstp qword [edx]
add esp, 8
jmp 0x44550b
mov edx, dword [ebp - 0x38]
fstp st(0)
lea eax, [ebp - 0x14]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4454a7
mov esi, dword [ebp - 0x38]
mov eax, 0xc
call fcn.00409670
jmp 0x44550b
cmp dword [0x476bc4], 0
je 0x4454e4
fadd qword [0x466d60]
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov edx, dword [ebp - 0x34]
fstp qword [edx]
add esp, 8
jmp 0x44550b
mov edx, dword [ebp - 0x34]
fstp st(0)
lea eax, [ebp - 0x14]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4454f0
mov esi, dword [ebp - 0x34]
mov eax, 0xc
call fcn.00409670
jmp 0x44550b
fstp st(0)
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [edx + 0x469000]
jge 0x445526
mov esi, eax
mov eax, edx
jmp 0x444ff2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045d089
mov esp, ebp
pop ebp
ret