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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d120
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x466240]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x466240]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x406ac4
mov al, byte [ecx]
cmp al, 0x2b
je 0x406abd
cmp al, 0x2d
jne 0x406ac4
mov ebx, 1
jmp 0x406ac6
xor ebx, ebx
mov eax, dword [esi + 0x14]
and eax, 0xe00
cmp eax, 0x800
jne 0x406af2
lea eax, [ebx + 2]
cmp eax, edi
ja 0x406af2
cmp byte [ecx + ebx], 0x30
jne 0x406af2
mov cl, byte [ecx + ebx + 1]
cmp cl, 0x78
je 0x406af0
cmp cl, 0x58
jne 0x406af2
mov ebx, eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00403620
push eax
mov dword [esp + 0x7c], 0
call fcn.00406ff0
mov dword [esp + 0x7c], 0xffffffff
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x406b44
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x406b44
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx]
push dword [esp + 0x2c]
call fcn.00414870
add esp, 4
push 0
push edi
lea ecx, [esp + 0x38]
call fcn.00406010
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
mov dword [esp + 0x78], 1
cmp dword [esp + 0x48], 0x10
mov ecx, dword [esp + 0x18]
cmovae eax, dword [esp + 0x34]
mov edx, dword [edx]
push eax
lea eax, [edi + ecx]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call dword [edx + 0x1c]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00403620
push eax
mov byte [esp + 0x7c], 2
call fcn.004077d0
mov byte [esp + 0x7c], 1
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x406bc4
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
test esi, esi
je 0x406bc4
mov edx, dword [esi]
mov ecx, esi
push 0
call dword [edx]
push esi
call fcn.00414870
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
call fcn.00406ef0
mov byte [esp + 0x78], 3
lea esi, [esp + 0x50]
cmp dword [esp + 0x64], 0x10
cmovae esi, dword [esp + 0x50]
mov al, byte [esi]
cmp al, 0x7f
je 0x406c35
test al, al
jle 0x406c35
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x18], al
mov al, byte [esi]
cmp al, 0x7f
je 0x406c35
test al, al
jle 0x406c35
movsx ecx, al
mov eax, edi
sub eax, ebx
cmp ecx, eax
jae 0x406c35
push dword [esp + 0x18]
sub edi, ecx
lea ecx, [esp + 0x34]
push 1
push edi
call fcn.004060c0
cmp byte [esi + 1], 0
lea eax, [esi + 1]
cmovg esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x406c04
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x24], 0
jl 0x406c5a
jg 0x406c4f
cmp dword [esi + 0x20], 0
jbe 0x406c5a
mov edi, dword [esi + 0x20]
cmp edi, eax
jbe 0x406c5a
sub edi, eax
jmp 0x406c5c
xor edi, edi
mov eax, dword [esi + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x406d0e
cmp eax, 0x100
je 0x406cc1
push edi
push dword [ebp + 0x1c]
lea eax, [esp + 0x24]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00406e70
mov edx, eax
lea ecx, [esp + 0x4c]
xor edi, edi
cmp dword [esp + 0x60], 0x10
push ebx
cmovae ecx, dword [esp + 0x50]
mov eax, dword [edx]
mov dword [ebp + 0x10], eax
mov eax, dword [edx + 4]
push ecx
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x3c]
push dword [edx + 4]
push dword [edx]
push eax
push dword [ebp + 8]
call fcn.00406df0
add esp, 0x30
jmp 0x406d34
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
push ebx
cmovae eax, dword [esp + 0x38]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x28]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00406df0
mov ecx, eax
push edi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x3c]
push dword [ecx + 4]
push dword [ecx]
push eax
push dword [ebp + 8]
call fcn.00406e70
add esp, 0x30
xor edi, edi
jmp 0x406d34
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
push ebx
cmovae eax, dword [esp + 0x38]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x28]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00406df0
add esp, 0x18
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x14], edx
cmp dword [esp + 0x44], ebx
jae 0x406d62
push 0x695
push str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VCincludexstring
push str.string_subscript_out_of_range
call fcn.0040f290
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
sub dword [esp + 0x14], ebx
add eax, ebx
push dword [esp + 0x14]
mov ebx, dword [ebp + 8]
push eax
push edx
push ecx
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.00406df0
push edi
push dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
push eax
push ecx
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov esi, dword [esp + 0x4c]
push esi
push ebx
mov dword [ebp + 0x14], eax
call fcn.00406e70
add esp, 0x30
lea ecx, [esp + 0x4c]
call fcn.00402020
lea ecx, [esp + 0x30]
call fcn.00402020
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00410850
mov esp, ebp
pop ebp
ret