Function at 0x420430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
push 0x4de920
mov eax, dword [ebp + 8]
push eax
call fcn.0041a470
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x420815
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004b8f82
add esp, 0xc
test eax, eax
je 0x4204a5
mov edx, dword [ebp - 0x10]
push edx
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x10], 0
xor eax, eax
jmp 0x420818
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b935a
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4204d4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x10], 0
xor eax, eax
jmp 0x420818
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b9a1d
add esp, 4
push 0x18
call fcn.004b6c11
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
add eax, 5
push eax
call fcn.004b6c11
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4207df
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
call fcn.004b8e47
add esp, 0x10
cmp eax, dword [ebp - 0x18]
jne 0x4207df
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x18]
mov byte [edx + 1], 0
push 8
push 0x4de924
mov eax, dword [ebp - 8]
push eax
call fcn.004b6ebb
add esp, 0xc
test eax, eax
jne 0x420673
mov ecx, 1
shl ecx, 3
add ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, 1
imul edx, edx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx]
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax + edx]
shl edx, 8
add ecx, edx
mov eax, 1
shl eax, 1
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + eax]
shl eax, 8
shl eax, 8
add ecx, eax
mov edx, 1
imul edx, edx, 3
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax + edx]
shl edx, 8
shl edx, 8
shl edx, 8
add ecx, edx
mov dword [ebp - 0x18], ecx
mov eax, 1
imul eax, eax, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx]
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [edx + ecx]
shl ecx, 8
add eax, ecx
mov edx, 1
shl edx, 1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx]
shl edx, 8
shl edx, 8
add eax, edx
mov ecx, 1
imul ecx, ecx, 3
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [edx + ecx]
shl ecx, 8
shl ecx, 8
shl ecx, 8
add eax, ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
add edx, 5
push edx
call fcn.004b6c11
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ac290
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.004b6bd9
add esp, 4
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4206db
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0x1d
jg 0x42069f
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 9
jne 0x4206aa
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x420689
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0x1e
jge 0x4206d3
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
test eax, eax
je 0x4206d3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4206b3
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x420679
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
call fcn.004b6c11
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
test eax, eax
je 0x4207df
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x1d
jg 0x420724
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 9
jne 0x42072f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x42070e
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b5f60
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax - 1]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x20
jne 0x420785
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x420769
push 0x4de930
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 - 4]
push ecx
call fcn.004b68e0
add esp, 8
test eax, eax
jne 0x4207b4
mov edx, dword [ebp - 0x14]
sub edx, 1
cmp dword [ebp - 0x30], edx
jne 0x4207ae
jmp 0x4207df
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x1e
jge 0x4207d4
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4207d4
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4207b4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x4206fa
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret