Function at 0x41f1c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abe56
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
fldz
mov eax, dword [ebp + 0xc]
fst dword [ebp - 0x130]
mov esi, ecx
xor ebx, ebx
fst dword [ebp - 0x124]
mov edi, 1
fstp dword [ebp - 0x128]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
call fcn.004716f0
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], ebx
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
call fcn.004708a0
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 1]
cmp ecx, dword [esi + 0x11c]
jbe 0x41f277
mov dword [ebp - 0x114], ebx
jmp 0x41f606
cmp edi, 0x32
jae 0x41f285
mov ecx, 0x3494
mov eax, edi
jmp 0x41f28d
mov ecx, 0x4912
lea eax, [edi - 0x32]
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov ecx, dword [esi]
push eax
push ecx
call ebx
mov eax, dword [ebp - 0x118]
push 0
lea edx, [ebp - 0x11c]
push edx
add eax, 0x20
push 0x28
push eax
mov dword [ebp - 0x12c], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f2d8
mov dword [ebp - 0x114], 0
jmp 0x41f606
cmp edi, 0x32
jae 0x41f2e6
mov ecx, 0x3c64
mov eax, edi
jmp 0x41f2ee
mov ecx, 0x50ba
lea eax, [edi - 0x32]
mov edx, eax
shl edx, 4
push 0
sub edx, eax
mov eax, dword [esi]
push 0
add edx, ecx
push edx
push eax
call ebx
mov edx, dword [ebp - 0x118]
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0xf
add edx, 0x12c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
mov dword [ebp - 0x120], 0
cmp edi, 0x32
jae 0x41f33e
mov eax, 0x4272
mov ecx, edi
jmp 0x41f346
mov eax, 0x56a9
lea ecx, [edi - 0x32]
mov edx, dword [esi]
push 0
push 0
lea ecx, [eax + ecx*2]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x11c]
push eax
push 2
lea ecx, [ebp - 0x120]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
mov eax, dword [ebp - 0x120]
cmp eax, 4
ja case.0x41f385.3
jmp dword [eax*4 + 0x41f664]
mov eax, dword [ebp - 0x118]
mov dword [eax + 0x17c], 8
jmp 0x41f3d3
mov eax, dword [ebp - 0x118]
and dword [eax + 0x174], 0xfffffffd
jmp 0x41f3c9
mov eax, dword [ebp - 0x118]
or dword [eax + 0x174], 2
jmp 0x41f3c9
mov eax, dword [ebp - 0x118]
or dword [eax + 0x174], 1
mov dword [eax + 0x17c], 0x10
mov dword [ebp - 0x120], 0
cmp edi, 0x32
jae 0x41f3eb
mov eax, 0x41aa
mov ecx, edi
jmp 0x41f3f3
mov eax, 0x55e5
lea ecx, [edi - 0x32]
mov edx, dword [esi]
push 0
push 0
lea ecx, [eax + ecx*4]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x11c]
push eax
push 4
lea ecx, [ebp - 0x120]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x178], eax
cmp edi, 0x32
jae 0x41f443
mov eax, 0x3f52
mov ecx, edi
jmp 0x41f44b
mov eax, 0x5399
lea ecx, [edi - 0x32]
push 0
push 0
lea edx, [eax + ecx*4]
mov eax, dword [esi]
push edx
push eax
call ebx
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 4
lea edx, [ebp - 0x130]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
cmp edi, 0x32
jae 0x41f489
mov eax, 0x401a
mov ecx, edi
jmp 0x41f491
mov eax, 0x545d
lea ecx, [edi - 0x32]
mov edx, dword [esi]
push 0
push 0
lea ecx, [eax + ecx*4]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x11c]
push eax
push 4
lea ecx, [ebp - 0x128]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
cmp edi, 0x32
jae 0x41f4cd
mov eax, 0x40e2
jmp 0x41f4d5
mov eax, 0x5521
add edi, 0xffffffce
mov ecx, dword [esi]
push 0
push 0
lea eax, [eax + edi*4]
push eax
push ecx
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x11c]
push edx
push 4
lea eax, [ebp - 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
fld dword [ebp - 0x130]
fld st(0)
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x41f543
fstp st(0)
sub esp, 0x10
fld dword [ebp - 0x124]
lea edx, [ebp - 0x110]
fstp qword [esp + 8]
fld dword [ebp - 0x128]
fstp qword [esp]
push 0x4b3054
push 0xff
push edx
jmp 0x41f579
fld dword [0x4bf038]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41f581
fld dword [ebp - 0x124]
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [ebp - 0x110]
fld dword [ebp - 0x128]
fstp qword [esp]
push 0x4b3060
push 0xff
push eax
call fcn.004010b0
add esp, 0x1c
mov edi, dword [ebp - 0x118]
push 0xff
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [edi + 0x1a8]
call fcn.0042b5b0
push 1
push 0x4b306c
lea ecx, [ebp - 0x170]
call fcn.00471610
lea edx, [ebp - 0x170]
push edx
lea ecx, [edi + 0x1a8]
mov dword [ebp - 0x13c], 0
call fcn.0042ae70
mov eax, dword [ebp - 0x12c]
mov ecx, dword [esi + 0x12c]
push eax
push str.TDF_Constant_Parsed:__s
push ecx
jmp 0x41f61c
mov edx, dword [ebp - 0x12c]
mov eax, dword [esi + 0x12c]
push edx
push str._s_Constant_rejected:_Unknown_data_format__size_endian_etc_
push eax
mov dword [ebp - 0x114], 0
call fcn.00476e30
add esp, 0xc
mov ecx, dword [ebp - 0x118]
mov edx, dword [esi + 0x12c]
add ecx, 0x20
push ecx
push 0x4b3088
push edx
call fcn.00476e30
add esp, 0xc
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
call fcn.004716b0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 8