Function at 0x426370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac114
mov eax, dword fs:[0]
push eax
sub esp, 0x448
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]
mov edi, ecx
xor ebx, ebx
push 0x2ba
lea ecx, [ebp - 0x3ca]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x3d0], edi
mov dword [ebp - 0x3d4], ebx
mov word [ebp - 0x3cc], ax
call fcn.0042e03c
mov edx, dword [ebp + 8]
inc edx
add esp, 0xc
cmp edx, dword [edi + 0x128]
ja 0x4268e2
mov edx, dword [edi]
push ebx
lea eax, [ebp - 0x3d4]
push eax
push 0x2bc
lea ecx, [ebp - 0x3cc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4268e2
mov cl, 0x20
lea eax, [ebx + 0x3b]
cmp byte [ebp - 0x351], cl
jne 0x426426
cmp eax, ebx
jl 0x426426
mov byte [ebp + eax - 0x38c], bl
dec eax
cmp byte [ebp + eax - 0x38c], cl
je 0x426411
mov eax, 0x27
cmp byte [ebp - 0x329], cl
jne 0x426448
cmp eax, ebx
jl 0x426448
mov byte [ebp + eax - 0x350], bl
dec eax
cmp byte [ebp + eax - 0x350], cl
je 0x426433
mov eax, 0x13
cmp byte [ebp - 0x315], cl
jne 0x42646a
cmp eax, ebx
jl 0x42646a
mov byte [ebp + eax - 0x328], bl
dec eax
cmp byte [ebp + eax - 0x328], cl
je 0x426455
push 0x3c
lea eax, [ebp - 0x38c]
push eax
mov ecx, esi
call fcn.00417ae0
movzx ecx, word [ebp - 0x3c2]
mov eax, dword [ebp - 0x3c6]
add eax, 0xfffa3c00
push ecx
mov ecx, esi
mov dword [esi + 0x144], eax
call fcn.00416c50
movzx edx, word [ebp - 0x3c0]
push edx
mov ecx, esi
call fcn.00416c10
xor eax, eax
cmp word [ebp - 0x38e], 1
sete al
cmp eax, ebx
je 0x4264c3
or dword [esi + 0x140], 4
jmp 0x4264ca
and dword [esi + 0x140], 0xfffffffb
push 0x28
lea eax, [ebp - 0x350]
lea ecx, [esi + 0x174]
push eax
call fcn.00413120
push 0x14
lea edx, [ebp - 0x328]
lea ecx, [esi + 0x54c]
push edx
call fcn.00413120
push ebx
push ebx
lea ecx, [esi + 0x164]
call fcn.0042b8e0
fld dword [ebp - 0x3be]
fld st(0)
mov edi, eax
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x426628
fstp st(0)
cmp word [ebp - 0x3b2], bx
jne 0x426543
fld dword [ebp - 0x3b6]
sub esp, 0x10
fstp qword [esp + 8]
fld dword [ebp - 0x3ba]
fstp qword [esp]
push str.__f__X____f
jmp 0x42665f
fld dword [ebp - 0x3a6]
sub esp, 0x20
fstp qword [esp + 0x18]
lea ecx, [ebp - 0x110]
fld dword [ebp - 0x3aa]
fstp qword [esp + 0x10]
fld dword [ebp - 0x3b6]
fstp qword [esp + 8]
fld dword [ebp - 0x3ba]
fstp qword [esp]
push str.___f__X____f_______f__Y____f_
push 0xff
push ecx
call fcn.004010b0
add esp, 0x2c
push 0xff
lea edx, [ebp - 0x110]
push edx
mov ecx, edi
call fcn.0042b5b0
lea ecx, [ebp - 0x414]
call fcn.00414840
push 1
push 0x4b399c
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], ebx
call fcn.00471610
lea eax, [ebp - 0x414]
push eax
mov ecx, edi
mov dword [ebp - 0x3e0], ebx
call fcn.0042ae70
push 1
push 0x4b39a0
lea ecx, [ebp - 0x414]
call fcn.00471610
mov ecx, dword [ebp - 0x3ae]
lea edx, [ebp - 0x414]
mov dword [ebp - 0x3f8], ecx
push edx
mov ecx, edi
mov dword [ebp - 0x3e0], 2
mov dword [ebp - 0x3f4], 8
mov dword [ebp - 0x3fc], ebx
call fcn.0042ae70
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
lea ecx, [ebp - 0x414]
jmp 0x42675c
fld dword [0x4bf038]
fucompp
fnstsw ax
test ah, 0x44
jp 0x426768
cmp word [ebp - 0x3b2], bx
jne 0x426678
fld dword [ebp - 0x3b6]
sub esp, 0x10
fstp qword [esp + 8]
fld dword [ebp - 0x3ba]
fstp qword [esp]
push str.__f___X____f
lea eax, [ebp - 0x110]
push 0xff
push eax
call fcn.004010b0
add esp, 0x1c
jmp 0x426768
fld dword [ebp - 0x3a6]
sub esp, 0x20
fstp qword [esp + 0x18]
lea ecx, [ebp - 0x110]
fld dword [ebp - 0x3aa]
fstp qword [esp + 0x10]
fld dword [ebp - 0x3b6]
fstp qword [esp + 8]
fld dword [ebp - 0x3ba]
fstp qword [esp]
push str.___f____X___Y_____f_______f__Y____f_
push 0xff
push ecx
call fcn.004010b0
add esp, 0x2c
push 0xff
lea edx, [ebp - 0x110]
push edx
mov ecx, edi
call fcn.0042b5b0
lea ecx, [ebp - 0x454]
call fcn.00414840
push 1
push 0x4b39dc
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 1
call fcn.00471610
lea eax, [ebp - 0x454]
push eax
mov ecx, edi
mov dword [ebp - 0x420], ebx
call fcn.0042ae70
push 1
push 0x4b39e0
lea ecx, [ebp - 0x454]
call fcn.00471610
mov ecx, dword [ebp - 0x3ae]
lea edx, [ebp - 0x454]
mov dword [ebp - 0x438], ecx
push edx
mov ecx, edi
mov dword [ebp - 0x420], 2
mov dword [ebp - 0x434], 8
mov dword [ebp - 0x43c], ebx
call fcn.0042ae70
mov dword [ebp - method.XDFVariable.virtual_0], vtable.XDFVariable.0
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 0xffffffff
call fcn.004716b0
push 0xff
lea eax, [ebp - 0x110]
push eax
mov ecx, edi
call fcn.0042b5b0
fld dword [ebp - 0x3be]
fld st(0)
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x4267b9
fstp st(0)
sub esp, 0x10
fld dword [ebp - 0x3b6]
lea ecx, [ebp - 0x110]
fstp qword [esp + 8]
fld dword [ebp - 0x3ba]
fstp qword [esp]
push str._f__X___f
push 0xff
push ecx
jmp 0x4267ef
fld dword [0x4bf038]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4267f7
fld dword [ebp - 0x3b6]
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [ebp - 0x110]
fld dword [ebp - 0x3ba]
fstp qword [esp]
push str._f_X___f
push 0xff
push edx
call fcn.004010b0
add esp, 0x1c
push 0xff
lea eax, [ebp - 0x110]
push eax
mov ecx, edi
call fcn.0042b5b0
movzx eax, word [ebp - 0x3cc]
add eax, 0xfffffffd
cmp eax, 5
ja case.default.0x42681d
jmp dword [eax*4 + 0x426924]
and dword [esi + 0x140], 0xfffffffe
push 8
mov ecx, esi
call fcn.00416bd0
jmp case.default.0x42681d
or dword [esi + 0x140], 1
push 8
mov ecx, esi
call fcn.00416bd0
jmp case.default.0x42681d
push 0x10
mov ecx, esi
call fcn.00416bd0
mov ecx, dword [esi + 0x140]
and ecx, 0xfffffffe
or ecx, 2
mov dword [esi + 0x140], ecx
jmp case.default.0x42681d
push 0x10
mov ecx, esi
call fcn.00416bd0
or dword [esi + 0x140], 3
jmp case.default.0x42681d
push 0x10
mov ecx, esi
call fcn.00416bd0
and dword [esi + 0x140], 0xfffffffc
jmp case.default.0x42681d
push 0x10
mov ecx, esi
call fcn.00416bd0
mov edx, dword [esi + 0x140]
and edx, 0xfffffffd
or edx, 1
mov dword [esi + 0x140], edx
mov edi, dword [ebp - 0x3d0]
lea eax, [esi + 0x174]
push eax
movzx eax, word [ebp - 0x314]
push 0x58
push eax
mov ecx, edi
call fcn.00425c90
test eax, eax
je 0x4268e2
movzx ecx, word [ebp - 0x312]
lea eax, [esi + 0x54c]
push eax
push 0x59
push ecx
mov ecx, edi
call fcn.00425c90
test eax, eax
jne 0x4268fe
mov edx, dword [edi + 0x270c]
add esi, 0x20
push esi
push str.TDF_Table_Parse_FAILED:_Title__s
push edx
call fcn.00476e30
add esp, 0xc
mov eax, ebx
jmp 0x426903
mov eax, 1
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