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

Disassembly:
push 0x18
mov eax, 0x417345
call fcn.00416aac
mov eax, dword [ebx + 0x7c]
and dword [ebp - 0x10], 0
test eax, eax
jbe 0x4068f4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x78]
shl ecx, 2
mov esi, dword [ecx + eax]
mov eax, dword [ebx + 8]
add eax, ecx
mov cl, byte [ebx + 0x60]
mov dword [ebp - 0x20], esi
test cl, cl
je 0x40682f
mov dword [ebp - 0x18], 1
jmp 0x406834
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
test cl, cl
je 0x40683f
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x406846
mov dword [ebp - 0x14], 1
mov edi, dword [esi + 0x74]
add esi, 0x70
jmp 0x406871
mov eax, dword [esi]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x406871
mov ecx, dword [eax]
test ecx, ecx
je 0x40686a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
push eax
call sub.MSVCR90.dll_free
pop ecx
test edi, edi
jne 0x40684e
and dword [esi + 4], edi
mov edi, dword [ebp - 0x18]
test edi, edi
jbe 0x406888
push esi
call fcn.00402602
dec edi
jne 0x40687f
mov esi, dword [ebp - 0x20]
mov edi, dword [esi + 0x80]
add esi, 0x7c
jmp 0x4068b9
mov eax, dword [esi]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4068b9
mov ecx, dword [eax]
test ecx, ecx
je 0x4068b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
push eax
call sub.MSVCR90.dll_free
pop ecx
test edi, edi
jne 0x406896
and dword [esi + 4], edi
mov edi, dword [ebp - 0x14]
test edi, edi
jbe 0x4068e5
push 4
call fcn.00409b11
pop ecx
test eax, eax
je 0x4068d8
and dword [eax], 0
jmp 0x4068da
xor eax, eax
push eax
mov eax, esi
call fcn.00402727
dec edi
jne 0x4068c7
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x7c]
jb 0x40680b
and dword [ebp - 0x10], 0
cmp dword [ebx + 0x18], 0
jbe 0x406a34
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x30]
lea esi, [eax + ecx*8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + eax*4]
sub eax, dword [edx + ecx*4]
mov dl, byte [ebx + 0x60]
test dl, dl
je 0x406928
mov edi, dword [esi + 4]
mov dword [ebp - 0x1c], edi
jmp 0x40692b
mov dword [ebp - 0x1c], ecx
test dl, dl
jne 0x406932
mov ecx, dword [esi + 4]
movzx esi, dl
neg esi
sbb esi, esi
movzx edi, dl
not esi
and esi, eax
neg edi
sbb edi, edi
shl ecx, 2
and edi, eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + ecx]
mov ecx, dword [ecx + 0x7c]
mov edx, dword [ecx + edi*4]
mov ecx, dword [ebp - 0x1c]
shl ecx, 2
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + ecx*4]
push edx
push dword [ebp - 0x20]
call fcn.0040dbf1
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x4069a2
mov eax, ecx
jmp 0x4069a5
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x41a0e8
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4069c7
mov eax, ecx
jmp 0x4069ca
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x41a0e8
push eax
call dword [ecx]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x406a03
cmp dword [ebp - 0x14], 0
je 0x406a03
mov ecx, dword [eax]
push 0x80000
push esi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x80000
push edi
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x406a17
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x406a25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x18]
jb 0x406902
cmp byte [ebx + 0x60], 0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + eax*4]
je 0x406a54
mov eax, dword [eax + 0x70]
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
mov esi, dword [eax]
call fcn.00403109
jmp 0x406a63
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
mov esi, dword [eax]
call fcn.00403109
and dword [ebp - 0x10], 0
cmp dword [ebx + 0x24], 0
jbe 0x406ad3
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
sub esi, edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
jmp 0x406a83
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + eax*4]
mov edi, dword [ebx + 0x30]
shl ecx, 2
sub eax, dword [ecx + edi]
cmp byte [ebx + 0x60], 0
mov edi, dword [ebx + 0x78]
mov ecx, dword [ecx + edi]
je 0x406ab7
mov ecx, dword [ecx + 0x7c]
mov edi, dword [esi + edx]
mov esi, dword [ecx + eax*4]
call fcn.00403109
jmp 0x406ac4
mov ecx, dword [ecx + 0x70]
mov edi, dword [edx]
mov esi, dword [ecx + eax*4]
call fcn.00403109
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], 4
cmp eax, dword [ebx + 0x24]
jb 0x406a7d
xor eax, eax
call fcn.00416b4b
ret 8