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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51ee60
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5c5c30]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [eax + 0x20]
mov ecx, dword [ecx]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x28], eax
je 0x4131d6
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x30]
mov ecx, dword [ecx]
mov esi, dword [esi]
add esi, ecx
cmp ecx, esi
jae 0x4131d6
mov ecx, dword [eax + 0x30]
add dword [ecx], 0xffffffff
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx eax, byte [ecx]
jmp 0x4134aa
mov ecx, dword [eax + 0x4c]
cmp ecx, edx
je 0x4134a7
cmp dword [eax + 0x3c], edx
jne 0x413200
push ecx
call fcn.004da9e0
add esp, 4
cmp eax, 0xffffffff
je 0x4134a7
movzx eax, al
jmp 0x4134aa
mov dword [esp + 0x68], edx
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], edx
mov byte [esp + 0x70], dl
push ecx
mov dword [esp + 0x9c], edx
call fcn.004da9e0
add esp, 4
cmp eax, 0xffffffff
je 0x413493
push eax
mov eax, 1
lea edi, [esp + 0x6c]
call fcn.004139d0
lea esi, [esp + 0x38]
mov ecx, edi
call fcn.00413a70
mov edi, eax
lea esi, [esp + 0x2c]
lea ecx, [esp + 0x68]
mov byte [esp + 0x98], 1
call fcn.00413a70
mov ebx, eax
mov esi, edi
mov byte [esp + 0x98], 2
call fcn.00414370
mov edi, eax
mov eax, dword [esp + 0x80]
mov esi, ebx
mov dword [esp + 0x24], eax
call fcn.00414370
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [esp + 0x18]
push esi
lea esi, [esp + 0x18]
push esi
lea esi, [esp + 0x1b]
push esi
lea esi, [esp + 0x20]
push esi
mov esi, dword [esp + 0x34]
add esi, edi
push esi
push eax
lea eax, [ebx + 0x44]
push eax
mov eax, dword [edx + 0x10]
call eax
push 3
lea ecx, [esp + 0x20]
mov edi, eax
mov byte [esp + 0x9c], 1
call fcn.0050abe0
mov byte [esp + 0x98], 3
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x413325
cmp dword [eax], 0xfffffffd
je 0x413325
cmp dword [eax], 0
mov esi, eax
je 0x4132fb
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4132fb
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x4132e8
cmp dword [esi], 0
jne 0x413317
push 0xb2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.0050ae00
add esp, 0xc
mov edx, dword [esp + 0x30]
mov dword [esi], edx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.0050ac20
push 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 0
call fcn.0050abe0
mov byte [esp + 0x98], 4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4133a0
cmp dword [esi], 0xfffffffd
je 0x4133a0
cmp dword [esi], 0
je 0x41337b
mov eax, dword [esi]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x413376
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x413363
cmp dword [esi], 0
jne 0x413392
push 0xb2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.0050ae00
add esp, 0xc
mov edx, dword [esp + 0x3c]
mov dword [esi], edx
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 0
call fcn.0050ac20
test edi, edi
jl 0x413493
cmp edi, 1
jle 0x413431
cmp edi, 3
jne 0x413493
cmp dword [esp + 0x80], 1
jb 0x41347e
lea esi, [esp + 0x44]
lea ecx, [esp + 0x68]
call fcn.00413a70
push 1
mov esi, eax
mov byte [esp + 0x9c], 7
call fcn.00414370
push eax
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.004d8420
add esp, 0x10
lea edi, [esp + 0x44]
mov byte [esp + 0x98], 0
call fcn.004041f0
movzx esi, byte [esp + 0x13]
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 0xffffffff
call fcn.0040b5d0
mov eax, esi
jmp 0x4134aa
lea eax, [esp + 0x13]
cmp dword [esp + 0x18], eax
lea ecx, [esp + 0x68]
jne 0x4134cb
lea esi, [esp + 0x5c]
call fcn.00413a70
mov esi, eax
mov byte [esp + 0x98], 6
call fcn.00414370
mov ecx, dword [esp + 0x14]
sub ecx, eax
push ecx
push 0
lea ecx, [esp + 0x70]
call fcn.0040c240
lea edi, [esp + 0x5c]
mov byte [esp + 0x98], 0
call fcn.004041f0
mov edx, dword [ebx + 0x4c]
push edx
call fcn.004da9e0
add esp, 4
cmp eax, 0xffffffff
jne 0x413233
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 0xffffffff
call fcn.0040b5d0
or eax, 0xffffffff
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004d1610
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x50]
call fcn.00413a70
mov esi, eax
mov byte [esp + 0x98], 5
call fcn.00414370
mov esi, dword [esp + 0x80]
sub esi, dword [esp + 0x14]
lea edi, [esp + 0x50]
add esi, eax
mov byte [esp + 0x98], 0
call fcn.004041f0
test esi, esi
jle 0x41352d
jmp 0x413510
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x4c]
movsx eax, byte [esi + edx - 1]
sub esi, 1
push ecx
push eax
call fcn.004d9ba0
add esp, 8
test esi, esi
jg 0x413510
movzx esi, byte [esp + 0x13]
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 0xffffffff
call fcn.0040b5d0
mov eax, esi
jmp 0x4134aa