Function at 0x4061cf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x416703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
and dword [esp + 4], 0
push ebx
push esi
push edi
push 0x3a
push dword [ebp + 0x14]
call fcn.0040cea0
pop ecx
pop ecx
test eax, eax
je 0x406218
inc eax
push eax
call fcn.0040cf74
pop ecx
mov dword [esp + 0x14], eax
jmp 0x40621d
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
mov ebx, 0x41cfb0
call fcn.0040883d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [0x41cfc8]
mov dword [esp + 0x40], eax
mov eax, dword [0x41cfb0]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], eax
call fcn.00408e33
test al, al
jne 0x406277
call fcn.00408f85
mov ecx, dword [ebp + 8]
add eax, 4
push eax
call fcn.00402f7a
jmp 0x4064e4
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
call fcn.004031b2
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xa4], ebx
jmp 0x4062b3
mov eax, dword [esi]
movzx ecx, byte [eax]
cmp cl, 0x2f
je 0x4062b9
cmp cl, 0x5c
je 0x4062b9
inc eax
mov dword [esi], eax
push ecx
lea eax, [esp + 0x24]
call fcn.00408400
mov eax, dword [esi]
cmp byte [eax], bl
jne 0x406297
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x4062c8
lea eax, [esp + 0x24]
push ebx
push dword [ebp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0040670b
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 1
call fcn.00402fcf
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], bl
call fcn.00403082
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x68]
push str._08x_02x
push eax
call fcn.00406f28
add esp, 0x10
mov byte [esp + 0xa4], 2
mov dword [esp + 0x18], ebx
mov edi, str._s_s_s
mov byte [esp + 0xf], bl
call fcn.0040b1ad
mov esi, eax
shl esi, 0x10
call fcn.0040b1ad
or eax, esi
push eax
lea eax, [esp + 0x48]
push str._08x
push eax
call fcn.00406f28
add esp, 0xc
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x24]
jae 0x40636f
lea ecx, [esp + 0x24]
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x40637e
lea eax, [esp + 0x48]
push ecx
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x88]
push edi
push eax
call fcn.00406f28
add esp, 0x14
lea ecx, [esp + 0xf]
push ecx
mov byte [esp + 0xa8], 4
or dword [esp + 0x14], 2
push eax
call fcn.00406db4
pop ecx
pop ecx
test al, al
je 0x4063bd
mov byte [esp + 0xe], 1
cmp byte [esp + 0xf], bl
je 0x4063c1
mov byte [esp + 0xe], bl
mov dword [esp + 0xa4], 3
test byte [esp + 0x10], 2
je 0x4063e7
and dword [esp + 0x10], 0xfffffffd
push ebx
push 1
lea ecx, [esp + 0x84]
call fcn.00403082
cmp byte [esp + 0xe], bl
jne 0x406415
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 2
call fcn.00403082
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x200
jl 0x406330
jmp 0x40643a
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
call fcn.00402fcf
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 2
call fcn.00403082
push 0x41cfb0
lea ebx, [esp + 0x18]
call fcn.00408756
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.00402fcf
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x24]
jae 0x406468
lea ecx, [esp + 0x24]
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x406477
lea eax, [esp + 0x64]
push ecx
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x88]
push edi
push eax
call fcn.00406f28
add esp, 0x14
push eax
mov eax, 0x41cf98
mov byte [esp + 0xa8], 5
call fcn.004047ce
push esi
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 2
call fcn.00403082
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
push dword [ebp + 8]
call fcn.00405b7b
add esp, 0xc
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.00403082
push esi
push 1
lea ecx, [esp + 0x28]
call fcn.00403082
mov ecx, dword [esp + 0x9c]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret