Function at 0x41f850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abe94
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
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]
mov edi, dword [ebp + 8]
fst dword [ebp - 0x140]
fst dword [ebp - 0x128]
mov esi, ecx
fst dword [ebp - 0x124]
mov dword [ebp - 0x11c], eax
fld1
xor eax, eax
fstp dword [ebp - 0x13c]
lea ecx, [edi + 1]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x138], eax
fstp dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
cmp ecx, dword [esi + 0x124]
jbe 0x41f913
xor edi, edi
mov edx, dword [ebp - 0x11c]
mov eax, dword [esi + 0x12c]
add edx, 0x20
push edx
push 0x4b31dc
push eax
call fcn.00476e30
mov eax, edi
add esp, 0xc
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
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
imul edi, edi, 0x1400
push eax
push eax
mov eax, dword [esi]
lea edx, [edi + 0x481a]
push edx
push eax
call ebx
mov eax, dword [ebp - 0x11c]
mov edx, dword [esi]
push 0
lea ecx, [ebp - 0x118]
push ecx
add eax, 0x20
push 0x3c
push eax
push edx
mov dword [ebp - 0x134], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov ecx, dword [esi]
push 0
push 0
lea eax, [edi + 0x4856]
push eax
push ecx
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x118]
push edx
push 0x28
lea eax, [ebp - 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
push edx
lea eax, [ebp - 0x110]
add ecx, 0x174
push eax
call fcn.00413120
mov edx, dword [esi]
push 0
push 0
lea ecx, [edi + 0x487e]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x118]
push eax
push 0x14
lea ecx, [ebp - 0x110]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
push eax
lea edx, [ebp - 0x110]
add ecx, 0x54c
push edx
call fcn.00413120
mov ecx, dword [esi]
push 0
push 0
lea eax, [edi + 0x47f6]
push eax
push ecx
mov dword [ebp - 0x114], 0
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x118]
push edx
push 4
lea eax, [ebp - 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
push 0
push 0
lea ecx, [edi + 0x47fa]
mov dword [eax + 0x144], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [ebp - 0x114], 0
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x118]
push eax
push 2
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
movzx eax, word [ebp - 0x114]
mov ecx, dword [ebp - 0x11c]
push eax
call fcn.00416c50
mov edx, dword [esi]
push 0
push 0
lea ecx, [edi + 0x47fc]
push ecx
push edx
mov dword [ebp - 0x114], 0
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x118]
push eax
push 2
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
movzx eax, word [ebp - 0x114]
mov ecx, dword [ebp - 0x11c]
push eax
call fcn.00416c10
mov edx, dword [esi]
push 0
push 0
lea ecx, [edi + 0x47fe]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x118]
push eax
push 4
lea ecx, [ebp - 0x140]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov ecx, dword [esi]
push 0
push 0
lea eax, [edi + 0x4802]
push eax
push ecx
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x118]
push edx
push 4
lea eax, [ebp - 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov eax, dword [esi]
push 0
push 0
lea edx, [edi + 0x4806]
push edx
push eax
call ebx
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x118]
push ecx
push 4
lea edx, [ebp - 0x128]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov edx, dword [esi]
push 0
push 0
lea ecx, [edi + 0x480a]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x118]
push eax
push 1
lea ecx, [ebp - 0x138]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov ecx, dword [esi]
push 0
push 0
lea eax, [edi + 0x480c]
push eax
push ecx
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x118]
push edx
push 4
lea eax, [ebp - 0x130]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov eax, dword [esi]
push 0
push 0
lea edx, [edi + 0x4810]
push edx
push eax
call ebx
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x118]
push ecx
push 4
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov edx, dword [esi]
push 0
push 0
lea ecx, [edi + 0x4814]
push ecx
push edx
call ebx
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x118]
push eax
push 4
lea ecx, [ebp - 0x12c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov ecx, dword [ebp - 0x11c]
push 0
push 0
add ecx, 0x164
call fcn.0042b8e0
fld dword [ebp - 0x140]
fld st(0)
mov dword [ebp - 0x120], eax
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x41fdd6
cmp dword [ebp - 0x138], 0
fstp st(0)
jne 0x41fcd9
fld dword [ebp - 0x128]
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [ebp - 0x110]
fld dword [ebp - 0x124]
fstp qword [esp]
push 0x4b30e8
push 0xff
push eax
call fcn.004010b0
add esp, 0x1c
push 0xff
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.0042b5b0
jmp 0x41ff41
fld dword [ebp - 0x12c]
sub esp, 0x20
fstp qword [esp + 0x18]
lea edx, [ebp - 0x110]
fld dword [ebp - 0x13c]
fstp qword [esp + 0x10]
fld dword [ebp - 0x128]
fstp qword [esp + 8]
fld dword [ebp - 0x124]
fstp qword [esp]
push 0x4b30f8
push 0xff
push edx
call fcn.004010b0
mov ecx, dword [ebp - 0x120]
add esp, 0x2c
push 0xff
lea eax, [ebp - 0x110]
push eax
call fcn.0042b5b0
lea ecx, [ebp - 0x1c0]
call fcn.00414840
push 1
push 0x4b311c
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 0
call fcn.00471610
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x18c], 0
call fcn.0042ae70
push 1
push 0x4b3120
lea ecx, [ebp - 0x1c0]
call fcn.00471610
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x18c], 2
mov dword [ebp - 0x1a0], 8
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a8], 0
call fcn.0042ae70
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
lea ecx, [ebp - 0x1c0]
jmp 0x41ff35
fld dword [0x4bf038]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41ff41
cmp dword [ebp - 0x138], 0
jne 0x41fe3d
fld dword [ebp - 0x128]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [ebp - 0x110]
fld dword [ebp - 0x124]
fstp qword [esp]
push 0x4b3124
push 0xff
push ecx
call fcn.004010b0
mov ecx, dword [ebp - 0x120]
add esp, 0x1c
push 0xff
lea edx, [ebp - 0x110]
push edx
call fcn.0042b5b0
jmp 0x41ff41
fld dword [ebp - 0x12c]
sub esp, 0x20
fstp qword [esp + 0x18]
lea eax, [ebp - 0x110]
fld dword [ebp - 0x13c]
fstp qword [esp + 0x10]
fld dword [ebp - 0x128]
fstp qword [esp + 8]
fld dword [ebp - 0x124]
fstp qword [esp]
push 0x4b3134
push 0xff
push eax
call fcn.004010b0
add esp, 0x2c
push 0xff
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.0042b5b0
lea ecx, [ebp - 0x180]
call fcn.00414840
push 1
push 0x4b315c
lea ecx, [ebp - 0x180]
mov dword [ebp - 4], 1
call fcn.00471610
mov ecx, dword [ebp - 0x120]
lea edx, [ebp - 0x180]
push edx
mov dword [ebp - 0x14c], 0
call fcn.0042ae70
push 1
push 0x4b3160
lea ecx, [ebp - 0x180]
call fcn.00471610
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x180]
push ecx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x14c], 2
mov dword [ebp - 0x160], 8
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], 0
call fcn.0042ae70
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
lea ecx, [ebp - 0x180]
mov dword [ebp - 4], 0xffffffff
call fcn.004716b0
mov eax, dword [esi]
push 0
push 0
lea edx, [edi + 0x47f0]
push edx
push eax
mov dword [ebp - 0x114], 0
call ebx
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x118]
push ecx
push 2
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov eax, dword [ebp - 0x114]
sub eax, 3
je 0x41ffe9
dec eax
je 0x41ffcd
dec eax
je 0x41ffb1
mov ecx, dword [ebp - 0x134]
mov edx, dword [esi + 0x12c]
push ecx
push str._s_Table_rejected:_Format_does_not_support_size_endianess_r_n
push edx
xor edi, edi
call fcn.00476e30
add esp, 0xc
jmp 0x41f8d5
mov ecx, dword [ebp - 0x11c]
push 0x10
call fcn.00416bd0
mov eax, dword [ebp - 0x11c]
or dword [eax + 0x140], 2
jmp 0x41fff6
mov ecx, dword [ebp - 0x11c]
push 0x10
call fcn.00416bd0
mov eax, dword [ebp - 0x11c]
and dword [eax + 0x140], 0xfffffffd
jmp 0x41fff6
mov ecx, dword [ebp - 0x11c]
push 8
call fcn.00416bd0
mov ecx, dword [esi]
push 0
push 0
lea eax, [edi + 0x4892]
push eax
push ecx
mov dword [ebp - 0x114], 0
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x118]
push edx
push 2
lea eax, [ebp - 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x114]
add eax, 0x174
push eax
push 0x58
push edx
mov ecx, esi
call fcn.0041f680
test eax, eax
je 0x41f8d3
mov ecx, dword [esi]
push 0
push 0
lea eax, [edi + 0x4894]
push eax
push ecx
mov dword [ebp - 0x114], 0
call ebx
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x118]
push edx
push 2
lea eax, [ebp - 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
mov eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x114]
add eax, 0x54c
push eax
push 0x59
push edx
mov ecx, esi
call fcn.0041f680
test eax, eax
je 0x41f8d3
mov eax, dword [esi]
push 0
push 0
add edi, 0x4818
push edi
push eax
mov dword [ebp - 0x114], 0
call ebx
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x118]
push ecx
push 1
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8d3
cmp dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x11c]
jne 0x420128
mov ecx, dword [ebp - 0x134]
or dword [eax + 0x140], 4
mov edx, dword [esi + 0x12c]
push ecx
push str.Table__s_is_populated_by_column
push edx
call fcn.00476e30
add esp, 0xc
jmp 0x42012f
and dword [eax + 0x140], 0xfffffffb
mov eax, dword [ebp - 0x134]
mov ecx, dword [esi + 0x12c]
push eax
push str.TDF_Table_Parsed:__s
push ecx
call fcn.00476e30
mov eax, 1
jmp 0x41f8f2