Function at 0x425f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
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
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x277
mov edi, ecx
lea ecx, [ebp - 0x38a]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x390], 1
mov dword [ebp - 0x394], ebx
mov word [ebp - 0x38c], ax
call fcn.0042e03c
add esp, 0xc
lea ecx, [ebp - 0x3d4]
call fcn.004716f0
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 4], ebx
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
call fcn.004708a0
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x39c], ebx
mov dword [ebp - 0x398], ebx
mov edx, dword [ebp + 8]
inc edx
mov dword [ebp - 4], 1
cmp edx, dword [edi + 0x120]
jbe 0x426039
mov edx, dword [edi + 0x270c]
add esi, 0x20
push esi
push str.TDF_Constant_Parse_FAILED:_Title__s
push edx
mov dword [ebp - 0x390], ebx
call fcn.00476e30
add esp, 0xc
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
call fcn.004716b0
mov eax, dword [ebp - 0x390]
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 edx, dword [edi]
push ebx
lea eax, [ebp - 0x394]
push eax
push 0x279
lea ecx, [ebp - 0x38c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425fdb
mov cl, 0x20
mov eax, 0x31
cmp byte [ebp - 0x357], cl
jne 0x426085
lea esp, [esp]
cmp eax, ebx
jl 0x426085
mov byte [ebp + eax - 0x388], bl
dec eax
cmp byte [ebp + eax - 0x388], cl
je 0x426070
mov eax, 0xe
cmp byte [ebp - 0x348], cl
jne 0x4260a7
cmp eax, ebx
jl 0x4260a7
mov byte [ebp + eax - 0x356], bl
dec eax
cmp byte [ebp + eax - 0x356], cl
je 0x426092
push 0x32
lea eax, [ebp - 0x388]
push eax
mov ecx, esi
call fcn.00417ae0
push 0xf
lea ecx, [ebp - 0x356]
push ecx
mov ecx, esi
call fcn.0041bd50
fld dword [ebp - 0x347]
mov eax, dword [ebp - 0x33b]
fld st(0)
fld1
add eax, 0xfffa3c00
fucompp
mov dword [esi + 0x178], eax
fnstsw ax
test ah, 0x44
jp 0x426116
fstp st(0)
sub esp, 0x10
fld dword [ebp - 0x33f]
lea edx, [ebp - 0x110]
fstp qword [esp + 8]
fld dword [ebp - 0x343]
fstp qword [esp]
push 0x4b3904
push 0xff
push edx
jmp 0x42614c
fld dword [0x4bf038]
fucompp
fnstsw ax
test ah, 0x44
jp 0x426154
fld dword [ebp - 0x33f]
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [ebp - 0x110]
fld dword [ebp - 0x343]
fstp qword [esp]
push 0x4b3910
push 0xff
push eax
call fcn.004010b0
add esp, 0x1c
push 0xff
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [esi + 0x1a8]
call fcn.0042b5b0
push 1
push 0x4b391c
lea ecx, [ebp - 0x3d4]
call fcn.00471610
lea edx, [ebp - 0x3d4]
push edx
lea ecx, [esi + 0x1a8]
mov dword [ebp - 0x3a0], ebx
call fcn.0042ae70
movzx eax, word [ebp - 0x38a]
cmp eax, 5
ja case.default.0x4261a5
jmp dword [eax*4 + 0x426248]
and dword [esi + 0x174], 0xfffffffe
mov dword [esi + 0x17c], 8
jmp case.default.0x4261a5
or dword [esi + 0x174], 1
mov dword [esi + 0x17c], 8
jmp case.default.0x4261a5
mov eax, dword [esi + 0x174]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x17c], 0x10
mov dword [esi + 0x174], eax
jmp case.default.0x4261a5
or dword [esi + 0x174], 3
mov dword [esi + 0x17c], 0x10
jmp case.default.0x4261a5
and dword [esi + 0x174], 0xfffffffc
mov dword [esi + 0x17c], 0x10
jmp case.default.0x4261a5
mov ecx, dword [esi + 0x174]
and ecx, 0xfffffffd
or ecx, 1
mov dword [esi + 0x17c], 0x10
mov dword [esi + 0x174], ecx
jmp case.default.0x4261a5