Function at 0x4b31fd
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x561588
call fcn.00514868
sub esp, 0x370
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0xc]
push esi
call fcn.0053e5da
pop ecx
test eax, eax
je 0x4b3243
mov esi, dword [ebp + 8]
push 0x5cba50
lea ecx, [esi + 4]
mov dword [esi], ebx
call fcn.00402588
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
jmp 0x4b341a
push edi
xor edi, edi
mov byte [ebp + 0xf], bl
inc edi
push esi
call fcn.0053e5da
pop ecx
test eax, eax
jne 0x4b326a
push esi
push edi
lea eax, [ebp + 0xf]
push edi
push eax
call fcn.0053d671
add esp, 0x10
cmp byte [ebp + 0xf], 0x23
jne 0x4b324a
push esi
call fcn.0053e5da
pop ecx
test eax, eax
je 0x4b3292
mov esi, dword [ebp + 8]
push 0x5cba50
lea ecx, [esi + 4]
mov dword [esi], ebx
call fcn.00402588
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
jmp 0x4b3419
lea eax, [ebp - 0x14]
push eax
push 0x5d061c
push esi
call fcn.004baba9
add esp, 0xc
jmp 0x4b32c0
push esi
call fcn.0053e5da
pop ecx
test eax, eax
jne 0x4b32c6
push esi
push edi
lea eax, [ebp + 0xf]
push edi
push eax
call fcn.0053d671
add esp, 0x10
cmp byte [ebp + 0xf], 0x23
jne 0x4b32a6
push esi
call fcn.0053e5da
pop ecx
test eax, eax
je 0x4b3302
mov esi, dword [ebp + 8]
push 0x5cba50
mov dword [ebp - 0x14], ebx
lea ecx, [esi + 4]
mov dword [esi], ebx
call fcn.00402588
jmp 0x4b3287
push esi
call fcn.0053e5da
pop ecx
test eax, eax
jne 0x4b3308
push esi
push edi
lea eax, [ebp + 0xf]
push edi
push eax
call fcn.0053d671
add esp, 0x10
cmp byte [ebp + 0xf], 0x22
jne 0x4b32e8
push esi
call fcn.0053e5da
pop ecx
test eax, eax
je 0x4b332d
mov esi, dword [ebp + 8]
push 0x5cba50
mov dword [ebp - 0x14], ebx
lea ecx, [esi + 4]
mov dword [esi], ebx
call fcn.00402588
jmp 0x4b3287
push esi
push 1
lea eax, [ebp + 0xf]
mov edi, ebx
push 1
push eax
call fcn.0053d671
add esp, 0x10
cmp byte [ebp + 0xf], 0x22
je 0x4b3383
push esi
call fcn.0053e5da
pop ecx
test eax, eax
jne 0x4b3383
mov al, byte [ebp + 0xf]
push esi
mov byte [ebp + edi - 0x37c], al
inc edi
push 1
lea eax, [ebp + 0xf]
push 1
push eax
call fcn.0053d671
add esp, 0x10
cmp edi, 0x31e
jne 0x4b337c
mov al, 0x22
mov byte [ebp + 0xf], al
jmp 0x4b337f
mov al, byte [ebp + 0xf]
cmp al, 0x22
jne 0x4b3346
lea eax, [ebp - 0x37c]
mov byte [ebp + edi - 0x37c], bl
push eax
lea ecx, [ebp - 0x2c]
call fcn.00490e4d
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x5c]
push 0x5cfd60
call fcn.00402588
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
push 0x5e49d4
call fcn.00402588
mov byte [ebp - 4], 7
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004910c1
mov byte [ebp - 4], 6
xor edi, edi
push ebx
inc edi
lea ecx, [ebp - 0x44]
push edi
call fcn.00401fa5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
push ebx
push edi
call fcn.00401fa5
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebp - 0x2c]
push eax
call fcn.004068fd
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
push ebx
push edi
call fcn.00401fa5
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8