Function at 0x4062aa
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x4062d3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.004061b8
add esp, 0x10
jmp 0x40650c
push edi
push edi
push edi
push 4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 4], ebx
je 0x40650c
mov esi, dword [ebp + 0x10]
cmp esi, edi
mov dword [ebp + 0x14], esi
jne 0x40630d
mov eax, dword [ebx]
cmp eax, edi
mov dword [ebp + 0x14], eax
jne 0x40630d
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x40650c
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040663a
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [edi + eax*2]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004014d1
push 0x409f90
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040742a
push eax
lea eax, [ebp - 0x14]
push 0x409f8c
push eax
call fcn.00406796
add esp, 0x14
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406829
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00403254
lea ecx, [ebp - 0x44]
call fcn.00403254
lea ecx, [ebp - 0x24]
call fcn.0040144a
mov eax, dword [ebp + 0x14]
neg esi
sbb esi, esi
and esi, 0xfffffffc
add esi, 4
add esi, ebx
lea ebx, [esi + eax - 1]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x34]
push ebx
push esi
call fcn.004060bd
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x4064ef
push 0x10
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040661b
mov eax, dword [ebp - 0x20]
and byte [eax], 0
push 0x10
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040661b
mov eax, dword [ebp - 0x10]
and byte [eax], 0
lea eax, [edi + esi]
push ebx
push eax
call fcn.00406138
pop ecx
pop ecx
lea edi, [edi + eax + 2]
cmp edi, dword [ebp + 0x14]
jae 0x4064df
mov eax, dword [ebp + 0x14]
lea eax, [esi + eax - 1]
push eax
lea ebx, [edi + esi]
push ebx
call fcn.00406138
pop ecx
pop ecx
mov ecx, eax
mov al, byte [ebx]
cmp al, 0x5b
mov dword [ebp + 0x10], ecx
je 0x4064df
cmp al, 0x3b
je 0x4064d7
add ecx, edi
lea eax, [ecx + esi - 1]
push 0x3d
push eax
push ebx
mov dword [ebp + 0xc], eax
call fcn.0040610c
add esp, 0xc
cmp eax, 0xffffffff
je 0x4064d7
add eax, edi
add eax, esi
mov dword [ebp + 8], eax
dec eax
push eax
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0040615a
lea ecx, [ebp - 0x24]
add esp, 0xc
cmp eax, ecx
je 0x40645f
push dword [eax + 4]
lea ecx, [ebp - 0x24]
push dword [eax]
call fcn.00406732
lea ecx, [ebp - 0x44]
call fcn.00403254
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040615a
lea ecx, [ebp - 0x14]
add esp, 0xc
cmp eax, ecx
je 0x40648f
push dword [eax + 4]
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.00406732
lea ecx, [ebp - 0x54]
call fcn.00403254
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004073be
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
call fcn.0040392f
lea ecx, [ebp - 0x64]
call fcn.0040144a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004073be
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.0040392f
lea ecx, [ebp - 0x74]
call fcn.0040144a
mov eax, dword [ebp + 0x10]
jmp 0x4063e0
lea ecx, [ebp - 0x14]
call fcn.00403254
lea ecx, [ebp - 0x24]
call fcn.00403254
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 1
push 0
lea ecx, [ebp - 0x34]
call fcn.00406637
lea ecx, [ebp - 0x34]
call fcn.00403254
pop edi
pop esi
pop ebx
leave
ret