Function at 0x4154ce
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x411280]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x220]
push 0x100
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x14], eax
call dword [0x40e014]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415506
sub eax, edx
lea eax, [esp + eax + 0x14]
lea edx, [esp + 0x14]
cmp eax, edx
jbe 0x41552f
lea ecx, [ecx]
cmp byte [eax], 0x2e
je 0x41552f
mov byte [eax], 0
dec eax
lea ecx, [esp + 0x14]
cmp eax, ecx
ja 0x41551e
mov byte [eax], 0
lea eax, [esp + 0x14]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41553e
mov edx, dword [0x40e228]
mov ecx, dword [0x40e22c]
mov dword [eax], edx
mov edx, dword [0x40e230]
mov dword [eax + 4], ecx
push esi
mov dword [eax + 8], edx
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00420a0f
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x4155ab
lea ecx, [esp + 0x18]
push ecx
push 0x40e218
call fcn.004158d4
add eax, 0x40
push eax
call fcn.004157b8
add esp, 0xc
lea eax, [esi + 3]
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00415ed0
add esp, 0x218
ret
push edi
push 0x100
lea edx, [esp + 0x120]
push edx
push esi
call fcn.004201f3
push esi
lea edi, [esp + eax + 0x12c]
call fcn.0041e10f
lea eax, [esp + 0x12c]
add esp, 0x10
dec eax
lea esp, [esp]
inc eax
cmp eax, edi
jae 0x4155f3
mov cl, byte [eax]
test cl, cl
je 0x4155f3
cmp cl, 0xa
je 0x4155f3
cmp cl, 0xd
jne 0x4155de
push 2
mov byte [eax], 0
lea eax, [esp + 0x120]
push 0x40e214
push eax
call fcn.00416062
add esp, 0xc
test eax, eax
je 0x415644
mov ecx, dword [0x40e204]
mov edx, dword [0x40e208]
mov eax, dword [0x40e20c]
mov dword [esp + 0x11c], ecx
mov cl, byte [0x40e210]
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov byte [esp + 0x128], cl
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x122]
push eax
call fcn.004151de
mov esi, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x28], eax
call fcn.0041508e
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
jne 0x41567f
push esi
push 0x40e1e0
jmp 0x415737
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x22c]
lea eax, [ebx + ebp]
mov dword [esp + 0x1c], eax
inc eax
push 4
push eax
call fcn.00415a89
mov esi, eax
push edi
mov dword [esp + 0x1c], esi
call fcn.00414fee
mov dword [esi], eax
mov edi, 1
add esp, 0xc
add esi, 4
cmp ebx, edi
jle 0x4156d8
jmp 0x4156be
mov edx, dword [esp + 0x20]
mov eax, dword [edx + edi*4]
push eax
call fcn.00414fee
mov dword [esi], eax
inc edi
add esp, 4
add esi, 4
cmp edi, ebx
jl 0x4156be
lea ecx, [esp + 0x24]
push ecx
call fcn.00414fee
mov dword [esi], eax
mov edi, 1
add esp, 4
add esi, 4
cmp ebp, edi
jle 0x41570d
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
push eax
call fcn.00414fee
mov dword [esi], eax
inc edi
add esp, 4
add esi, 4
cmp edi, ebp
jl 0x4156f3
cmp dword [esp + 0x234], 0
pop ebp
mov dword [esi], 0
pop ebx
je 0x415764
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
push ecx
push esi
call fcn.0041fbe2
add esp, 8
push esi
push 0x40e1cc
call fcn.004158d4
add eax, 0x40
push eax
call fcn.004157b8
add esp, 0xc
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00415ed0
add esp, 0x218
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.004153fe
push eax
call fcn.0041533e
mov ecx, dword [esp + 0x22c]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.00415ed0
add esp, 0x218
ret