Function at 0x4315e1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x485008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [ebp - 0x164], ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431606
sub ecx, edx
lea eax, [edi - 4]
add eax, ecx
push str..mpr
push eax
call fcn.00454e7d
pop ecx
pop ecx
test eax, eax
jne 0x43190b
mov edx, 0x477be8
mov ecx, edi
call fcn.004019b8
lea edx, [ebp - 0x158]
lea ecx, [eax + 1]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x431640
lea ecx, [ebp - 0x158]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431653
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x104
jae 0x43195a
mov byte [ebp + ecx - 0x158], al
mov eax, dword [0x83f004]
push esi
lea esi, [eax + 1]
mov dword [ebp - 0x160], esi
cmp esi, dword [ebx + 0x120]
jge 0x43171b
mov ecx, dword [ebx + 0x11c]
imul eax, esi, 0x70
add ecx, 0x44
add ecx, eax
lea edx, [ebp - 0x158]
lea eax, [ecx - 0x40]
mov bl, byte [eax]
cmp bl, byte [edx]
mov byte [ebp - 0x159], bl
mov ebx, dword [ebp - 0x164]
jne 0x4316e6
cmp byte [ebp - 0x159], 0
je 0x4316e2
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
mov byte [ebp - 0x159], bl
mov ebx, dword [ebp - 0x164]
jne 0x4316e6
add eax, 2
add edx, 2
cmp byte [ebp - 0x159], 0
jne 0x4316a4
xor eax, eax
jmp 0x4316eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x431704
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
cmp eax, dword [edx]
jne 0x431704
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x43191b
inc esi
add ecx, 0x70
mov dword [ebp - 0x160], esi
cmp esi, dword [ebx + 0x120]
jl 0x43169b
mov eax, dword [0x83f004]
xor esi, esi
mov dword [ebp - 0x160], esi
test eax, eax
jle 0x4317af
mov ecx, dword [ebx + 0x11c]
add ecx, 0x44
lea edx, [ebp - 0x158]
lea eax, [ecx - 0x40]
mov bl, byte [eax]
cmp bl, byte [edx]
mov byte [ebp - 0x159], bl
mov ebx, dword [ebp - 0x164]
jne 0x43177f
cmp byte [ebp - 0x159], 0
je 0x43177b
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
mov byte [ebp - 0x159], bl
mov ebx, dword [ebp - 0x164]
jne 0x43177f
add eax, 2
add edx, 2
cmp byte [ebp - 0x159], 0
jne 0x43173d
xor eax, eax
jmp 0x431784
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43179d
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
cmp eax, dword [edx]
jne 0x43179d
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x43191b
inc esi
add ecx, 0x70
mov dword [ebp - 0x160], esi
cmp esi, dword [0x83f004]
jl 0x431734
push 0x477bec
push edi
call fcn.0044a0f7
mov esi, eax
mov dword [ebp - 0x160], esi
pop ecx
pop ecx
test esi, esi
je 0x43190a
push esi
push 1
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.00451a9d
push 6
lea eax, [ebp - 0x54]
push str.LFSMPR
push eax
call fcn.0044d630
add esp, 0x1c
test eax, eax
jne 0x431903
push 0x70
push 1
call fcn.00449f17
mov edx, dword [ebx + 4]
pop ecx
pop ecx
mov ecx, dword [ebx + 8]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x43190a
lea eax, [ebp - 0x158]
add ecx, 4
push eax
push 0x40
pop edx
call fcn.004014cb
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x48], eax
lea eax, [ebp - 0x34]
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
push 5
pop edx
mov ecx, dword [eax + ecx*4]
add ecx, 0x4c
call fcn.004014cb
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
movzx edx, byte [ebp - 0x40]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x58], eax
lea eax, [ebp - 0x3c]
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
push 0xa
pop edx
mov ecx, dword [eax + ecx*4]
add ecx, 0x60
call fcn.004014cb
mov eax, dword [ebx + 8]
add esp, 0xc
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov al, byte [ebp - 9]
mov byte [ecx + 0x6b], al
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov al, byte [ebp - 0x3d]
mov byte [ecx + 0x6a], al
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebx + 0x120]
cmp ecx, 0xc350
jge 0x431900
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
imul edi, ecx, 0x70
push 0x1c
pop ecx
mov esi, dword [esi + eax*4]
add edi, dword [ebx + 0x11c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x120]
mov esi, dword [ebp - 0x160]
inc dword [ebx + 4]
push esi
call fcn.0044a2d1
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00445b7e
leave
ret 0xc
push 0x70
push 1
call fcn.00449f17
mov edx, dword [ebx + 4]
pop ecx
pop ecx
mov ecx, dword [ebx + 8]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x43190a
mov eax, dword [ebp - 0x160]
imul esi, esi, 0x70
push 0x1c
pop ecx
mov dword [0x83f004], eax
add esi, dword [ebx + 0x11c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 4]
jmp 0x43190a
call fcn.00445cb0
int3