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

Disassembly:
sub esp, 0x74
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x24], xmm0
mov dword [esp + 0x30], 0
push ebp
mov ebp, edx
mov dword [esp + 0x30], ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x44], ecx
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x40], edi
test ebx, ebx
je 0x406a49
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
mov dword [ecx], 0
cmp dword [ebp], 0
jne 0x406a92
mov byte [ebp + 4], 0
mov eax, dword [esi + 0x64]
push 0x1cbc0
push eax
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x406a6d
mov ecx, esi
call fcn.0040c480
mov dword [ebp], esi
test esi, esi
jne 0x406a8e
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004df96c
add esp, 0x74
ret 0x20
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test edi, edi
mov ecx, 0x4061d0
mov dword [esp + 0x54], edi
cmovne eax, ecx
mov dword [esp + 0x50], eax
test ebx, ebx
jne 0x406ac5
cmp dword [esi + 0x60], ebx
jne 0x406ac5
mov eax, dword [esi + 0x64]
push 0x10010
push eax
mov eax, dword [eax]
call eax
mov dword [esi + 0x60], eax
test eax, eax
je 0x406a74
cmp byte [ebp + 4], 0
jne 0x406b0a
mov ecx, dword [ebp]
lea edx, [esi + 8]
mov dword [esp + 0x2c], 5
call fcn.00409b00
test eax, eax
jne 0x406e81
mov ecx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x78]
call fcn.0040d590
test eax, eax
jne 0x406e81
mov al, byte [esp + 0x74]
mov byte [ebp + 5], al
mov byte [ebp + 4], 1
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x9c]
cmp dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov word [ebp + 6], 0x101
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], 0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
je 0x406c33
mov eax, dword [esp + 0x10]
or edx, 0xffffffff
mov ebp, dword [esp + 0x10]
or esi, 0xffffffff
mov eax, dword [eax + 0x58]
and eax, dword [ebp + 0x5c]
mov ebp, dword [esp + 0x38]
cmp eax, 0xffffffff
je 0x406bd1
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x5c]
mov ebp, dword [esp + 0x38]
cmp eax, dword [esp + 0x18]
jb 0x406bd1
ja 0x406bc0
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp dword [ebp + 0x58], ebx
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
jb 0x406bd1
mov edx, dword [esp + 0x10]
mov esi, eax
mov edx, dword [edx + 0x58]
sub edx, dword [esp + 0x14]
sbb esi, dword [esp + 0x18]
mov eax, ebx
and eax, ecx
cmp eax, 0xffffffff
je 0x406bed
cmp esi, ecx
jb 0x406bed
ja 0x406be4
cmp edx, ebx
jbe 0x406bed
mov eax, dword [esp + 0x10]
xor esi, esi
mov edx, dword [eax + 0x40]
mov eax, dword [ebp]
lea ebx, [esp + 0x50]
mov dword [eax + 0x6c4], esi
mov esi, dword [esp + 0x10]
mov dword [eax + 0x6c0], edx
mov ecx, dword [ebp]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x64]
push eax
push edx
mov edx, 0x200000
mov dword [ecx + 0x290], ebx
mov dword [ecx + 0xb4], 1
call fcn.0040d330
test eax, eax
jne 0x406e81
jmp 0x406caf
sub edx, eax
mov eax, ebx
and eax, ecx
mov dword [esp + 0x30], edx
cmp eax, 0xffffffff
je 0x406c52
xor eax, eax
cmp eax, ecx
jb 0x406c52
ja 0x406c4e
cmp edx, ebx
jbe 0x406c52
mov dword [esp + 0x30], ebx
mov edx, dword [esi + 0x68]
mov ecx, dword [ebp]
mov esi, dword [esi + 0x64]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x98]
push edx
mov dword [ecx + 0x28c], eax
mov edx, 0x200000
mov eax, dword [esp + 0x34]
push esi
mov byte [ecx + 0x277], 1
mov dword [ecx + 0x2a4], eax
mov dword [ecx + 0xb4], 1
mov dword [ecx + 0x6c0], eax
mov dword [ecx + 0x6c4], 0
call fcn.0040d330
test eax, eax
jne 0x406e81
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x44]
test ebx, ebx
cmovne ecx, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x20], 0x10010
test ebx, ebx
je 0x406cdd
mov eax, dword [esp + 0x3c]
lea edx, [edi + ebx]
sub eax, edi
mov dword [esp + 0x20], eax
jmp 0x406ce0
mov edx, dword [esi + 0x60]
push ecx
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00406270
mov esi, eax
test esi, esi
jne 0x406d52
mov ebx, dword [esp + 0x20]
add edi, ebx
mov edx, dword [esp + 0x2c]
adc edx, eax
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x1c], eax
je 0x406d0f
mov eax, dword [esp + 0x48]
mov dword [eax], edi
mov eax, dword [ebp + 8]
add eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
adc ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x406d32
push edx
push edi
push ecx
push eax
mov eax, dword [esi]
push esi
call eax
test eax, eax
jne 0x406d49
xor esi, esi
test ebx, ebx
mov ebx, dword [esp + 0x1c]
je 0x406d52
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
jmp 0x406cc2
mov ebx, dword [esp + 0x1c]
mov esi, 0xa
mov ecx, dword [ebp]
cmp dword [ecx + 0xd4], 0
je 0x406d69
add ecx, 0x104
call fcn.00403330
mov ecx, dword [ebp + 8]
add dword [esp + 0x14], ecx
mov edx, dword [ebp + 0xc]
adc dword [esp + 0x18], edx
test esi, esi
jne 0x406e7f
mov esi, dword [esp + 0x40]
test esi, esi
je 0x406d95
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
jmp 0x406d97
xor eax, eax
cmp ecx, dword [esp + 0x30]
jne 0x406e65
cmp edx, eax
jne 0x406e65
test esi, esi
jne 0x406dcb
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x9c]
cmp eax, edx
jne 0x406dc2
cmp dword [esp + 0x18], esi
je 0x406ddf
mov esi, dword [esp + 0x10]
jmp 0x406b31
cmp dword [esp + 0x68], 0
jne 0x406ddf
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x406b2a
cmp dword [esp + 0xa0], 0
je 0x406e1a
test ebx, ebx
je 0x406e31
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x3c]
jb 0x406e13
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004df96c
add esp, 0x74
ret 0x20
mov byte [ebx + eax], 0
inc eax
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004df96c
add esp, 0x74
ret 0x20
push 1
lea eax, [esp + 0x77]
mov byte [esp + 0x77], 0
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [eax]
call eax
cmp eax, 1
je 0x406e1a
mov eax, 9
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004df96c
add esp, 0x74
ret 0x20
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004df96c
add esp, 0x74
ret 0x20
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df96c
add esp, 0x74
ret 0x20