Function at 0x424e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e588
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5b5be8]
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 eax, dword [ebp + 8]
mov ebx, dword [eax]
xor edi, edi
mov dword [ebp - 0x40], eax
mov esi, ecx
mov dword [ebp - 0x48], ebx
cmp ebx, edi
je 0x4250c6
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
mov dword [ebx + 0x20], str.XEnv.cpp_:_XEnvStruct::LoadFromFile
mov dword [ebx + 0x24], 0x53a
mov dword [ebp - 0x78], ebx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], edi
mov eax, 0x58e08c
jne 0x424eb2
mov eax, 0x592258
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00534419
add esp, 0xc
test eax, eax
jne 0x4250b6
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x4250b6
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 2
push edi
push eax
mov byte [ebp - 4], 2
call fcn.005350bb
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
push ecx
call fcn.00534f5f
mov edx, dword [ebp - 0x3c]
add esp, 4
push edx
mov esi, eax
call fcn.0054f9c0
add esp, 4
cmp esi, edi
jne 0x424f3d
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov eax, dword [ebp - 0x34]
push eax
call fcn.005347c7
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, ebx
call eax
mov al, 1
jmp 0x4252d2
cmp byte [ebp + 0xc], 0
je 0x4250cd
push esi
call fcn.004310d6
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0x3c]
push ecx
push 1
push esi
push edi
call fcn.00534b7e
add esp, 0x10
cmp eax, 1
je 0x424f9e
push edi
call fcn.004310e1
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov edx, dword [ebp - 0x34]
push edx
call fcn.005347c7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, ebx
call edx
xor al, al
jmp 0x4252d2
cmp esi, 6
jb 0x425099
mov al, byte [0x5920fc]
cmp al, byte [edi]
jne 0x425099
mov cl, byte [0x5920fd]
cmp cl, byte [edi + 1]
jne 0x425099
mov eax, dword [edi + 2]
cmp eax, 0xffffffff
je 0x425099
cmp eax, 0x30000
jne 0x425099
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x58]
push edx
push esi
push edi
push 0x30000
mov eax, 3
mov byte [ebp - 4], 4
call fcn.0042e640
add esp, 0x10
lea esi, [ebp - 0x58]
test al, al
jne 0x425027
call fcn.004098a0
push edi
call fcn.004310e1
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov eax, dword [ebp - 0x34]
push eax
jmp 0x4250ae
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x54]
jne 0x425068
call fcn.004098a0
push edi
call fcn.004310e1
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov edx, dword [ebp - 0x34]
push edx
call fcn.005347c7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, ebx
call edx
mov al, 1
jmp 0x4252d2
lea eax, [ebp - 0x2d]
mov byte [ebp - 0x2d], 0
call fcn.00425720
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004097d0
lea esi, [ebp - 0x58]
call fcn.004098a0
push edi
mov byte [ebp - 4], 2
call fcn.004310e1
add esp, 4
xor edi, edi
jmp 0x42510c
push edi
call fcn.004310e1
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005347c7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
xor al, al
jmp 0x4252d2
lea eax, [esi + 1]
lea ecx, [ebp - 0x2c]
call fcn.0040b3d0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4250e4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
push ecx
push esi
push 1
push eax
call fcn.00534b7e
add esp, 0x10
cmp eax, edi
je 0x424f73
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x425108
lea ecx, [ebp - 0x2c]
mov byte [ecx + eax], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x2d], 1
mov dword [ebp - 0x44], edi
jae 0x42511f
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push ecx
push 0x58d71c
push eax
call fcn.0054fa7e
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x4252ab
jmp 0x425143
mov eax, dword [ebp - 0x38]
lea esi, [eax + 2]
push 0x3a
push esi
call fcn.0053e4a0
mov edi, eax
add esp, 8
test edi, edi
je 0x4252a7
mov byte [edi], 0
inc edi
cmp byte [edi], 0
je 0x425192
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425170
sub eax, edx
cmp byte [eax + edi - 1], 0xa
jne 0x425192
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425185
sub eax, edx
mov byte [eax + edi - 1], cl
mov edx, dword [ebp - 0x38]
mov bl, byte [edx]
push 1
mov eax, esi
mov ecx, 0x58bd30
call fcn.00418ea0
add esp, 4
test al, al
je 0x425298
fldz
movsx eax, bl
fst dword [ebp - 0x5c]
add eax, 0xffffffba
fst dword [ebp - 0x60]
fst dword [ebp - 0x64]
fst dword [ebp - 0x68]
fst dword [ebp - 0x6c]
fst dword [ebp - 0x70]
fstp dword [ebp - 0x74]
cmp eax, 0x10
ja case.0x4251dd.71
movzx eax, byte [eax + 0x42530c]
jmp dword [eax*4 + 0x4252f0]
mov ecx, dword [ebp - 0x40]
push edi
mov edi, esi
call fcn.00424550
jmp case.0x4251dd.71
push edi
call fcn.0054fc09
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov edi, esi
fstp dword [esp]
call fcn.004244d0
jmp case.0x4251dd.71
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x64]
push eax
push str._f__f__f
push edi
call fcn.00533dc7
mov edx, dword [ebp - 0x40]
add esp, 0x14
push esi
lea ecx, [ebp - 0x64]
call fcn.00424670
jmp case.0x4251dd.71
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
push ecx
push str._f__f__f__f
push edi
call fcn.00533dc7
mov edx, dword [ebp - 0x40]
add esp, 0x18
push esi
lea ecx, [ebp - 0x74]
call fcn.004245d0
jmp case.0x4251dd.71
push edi
call fcn.00532dcf
mov ebx, eax
jmp 0x425276
push edi
call fcn.00532dcf
movsx ebx, ax
mov ecx, dword [ebp - 0x40]
add esp, 4
push esi
call fcn.00424440
lea edx, [ebp - 0x44]
push edx
push 0x58d71c
push 0
call fcn.0054fa7e
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
mov ebx, dword [ebp - 0x48]
jne 0x425140
jmp 0x4252ab
mov byte [ebp - 0x2d], 0
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov eax, dword [ebp - 0x34]
push eax
call fcn.005347c7
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, ebx
call eax
mov al, byte [ebp - 0x2d]
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.005320a3
mov esp, ebp
pop ebp
ret 8