Function at 0x42d4e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471d38
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
cmp dword [ebp + 8], 0
jne 0x42d531
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0xd4]
call fcn.00435fd0
xor al, al
jmp 0x42d7db
mov ecx, dword [ebp - 0xd4]
call fcn.0042c160
mov eax, dword [ebp - 0xd4]
add eax, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 4], 0xffffffff
mov edx, dword [ebp - 0x50]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x14], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0044d343
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d24b
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0044d343
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x42d5b1
push 0
push 0
push 0
push 0xd
mov ecx, dword [ebp - 0xd4]
call fcn.00435fd0
xor al, al
jmp 0x42d7db
lea eax, [ebp - 0x59]
mov dword [ebp - 0x58], eax
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004070a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042eb10
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call fcn.00443ea2
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0044d091
add esp, 0x10
cmp eax, 1
je 0x42d641
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0xd4]
call fcn.00435fd0
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004070a0
mov al, byte [ebp - 0x41]
jmp 0x42d7db
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x42d706
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x42d696
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
add eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00429fe0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x42d701
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x42d6f8
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
test eax, eax
jle 0x42d6be
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00429fe0
push 0xa
push 1
lea ecx, [ebp - 0x3c]
call fcn.00430410
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 1]
cmp ecx, 0xa
jne 0x42d6e7
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x42d6f6
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
jmp 0x42d701
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x42d656
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
je 0x42d721
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00429fe0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.0044720c
add esp, 4
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x24], 0x10
jb 0x42d74b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xd8], eax
jmp 0x42d754
lea ecx, [ebp - 0x38]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xd4]
mov dl, byte [ecx + 0x44]
mov byte [ebp - 0x95], dl
movzx eax, byte [ebp - 0x95]
test eax, eax
je 0x42d7ac
mov byte [ebp - 0x49], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004070a0
mov al, byte [ebp - 0x49]
jmp 0x42d7db
mov byte [ebp - 0x4a], 1
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004070a0
mov al, byte [ebp - 0x4a]
jmp 0x42d7db
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret 8