Function at 0x5032ba
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x6b3517
call fcn.00664608
sub esp, 0x40
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0xd4]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5032db
push 0
lea eax, [ebp - 0x14]
sub esi, ecx
push eax
mov eax, 0xbb7
sub eax, esi
push eax
lea eax, [edi + 0xd4]
add eax, esi
push eax
push dword [edi + 0xac]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x503316
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x50331a
mov byte [ebp - 0xd], 0
add eax, esi
push 0xa
push ebx
mov byte [eax + edi + 0xd4], 0
mov eax, dword [ebp - 0x14]
add dword [edi + 0x10], eax
adc dword [edi + 0x14], 0
call fcn.00667d30
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x50334d
push 0xd
push ebx
call fcn.00667d30
mov esi, eax
jmp 0x5034b3
xor eax, eax
mov dword [ebp - 0x20], 0xf
mov ecx, ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x503364
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x34]
call fcn.00410407
xor ecx, ecx
mov dword [ebp - 0x38], 0xf
mov eax, esi
mov dword [ebp - 0x4c], ecx
sub eax, edi
mov dword [ebp - 4], ecx
sub eax, 0xd4
mov dword [ebp - 0x3c], ecx
push eax
push ecx
lea eax, [ebp - 0x34]
mov byte [ebp - 0x4c], cl
push eax
lea ecx, [ebp - 0x4c]
call fcn.00437739
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x5033dc
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
cmp eax, 0x1000
jb 0x5033d3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
jmp 0x5033f2
cmp al, 0x20
jae 0x5033f8
inc esi
mov al, byte [esi]
test al, al
jne 0x5033ed
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5033fd
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push ebx
call fcn.006661f0
push 0xa
push ebx
call fcn.00667d30
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x503430
push 0xd
push ebx
call fcn.00667d30
pop ecx
mov esi, eax
pop ecx
test esi, esi
setne al
lea ecx, [edi + 0xb0]
movzx eax, al
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0053a8c2
lea ecx, [edi + 0xb0]
call fcn.0053a962
fmul qword [0x6d6a70]
call fcn.00664e40
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
test eax, eax
je 0x50347c
lea ecx, [edi + 0xb0]
call fcn.0053a59d
call fcn.00664e40
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x5034b5
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x5034ac
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
test esi, esi
jne 0x50334d
cmp byte [ebp - 0xd], 0
jne 0x5032d6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4