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

Disassembly:
mov eax, 0x2db8
call fcn.004b1140
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x2db4], eax
mov eax, dword [esp + 0x2dc0]
xorps xmm0, xmm0
push ebx
push ebp
mov dword [esp + 0x5c], eax
mov ebx, edx
xor eax, eax
movlpd qword [esp + 0x30], xmm0
push esi
mov dword [esp + 0x40], eax
mov esi, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x64]
push edi
push eax
mov dword [esp + 0x4c], esi
movlpd qword [esp + 0x5c], xmm0
call fcn.00466150
add esp, 4
test eax, eax
jne 0x4662c4
xor eax, eax
jmp 0x4667a8
mov edi, dword [esp + 0x88]
mov eax, edi
mov ebp, dword [esp + 0x8c]
or eax, ebp
mov dword [esp + 0x18], ebp
jne 0x4662e6
mov eax, 1
jmp 0x4667a8
mov edx, ebx
mov ecx, esi
call fcn.00466120
test eax, eax
jne 0x4662dc
test byte [esp + 0x74], 0x21
jne 0x4662bd
mov ax, word [esp + 0x76]
test ax, ax
je 0x46630a
cmp ax, 8
jne 0x4662bd
push 0x1e
lea eax, [esp + 0x2da8]
push eax
push dword [esp + 0xac]
mov eax, dword [esi + 0x38]
push dword [esp + 0xac]
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, 0x1e
jne 0x4662bd
cmp dword [esp + 0x2da4], 0x4034b50
jne 0x4662bd
movzx eax, word [esp + 0x2dbe]
cdq
mov ebx, eax
mov ecx, edx
movzx eax, word [esp + 0x2dc0]
cdq
add ebx, eax
adc ecx, edx
add ebx, dword [esp + 0xa0]
adc ecx, dword [esp + 0xa4]
add ebx, 0x1e
mov edx, ebx
mov dword [esp + 0x2c], ebx
adc ecx, 0
add edx, edi
mov eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, esi
adc eax, ebp
cmp eax, dword [ecx + 4]
jb 0x466396
ja 0x4662bd
cmp edx, dword [ecx]
ja 0x4662bd
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4663cd
xorps xmm0, xmm0
mov dword [esp + 0x14], ebp
add eax, ebx
movlpd qword [esp + 0x50], xmm0
mov ebx, dword [esp + 0x50]
mov esi, edi
mov dword [esp + 0x4c], ebp
mov edx, eax
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
jmp 0x46642d
test ebp, ebp
ja 0x4663e3
jb 0x4663db
cmp edi, 0x10000
jae 0x4663e3
mov eax, edi
mov dword [esp + 0x4c], ebp
jmp 0x4663ee
xor edx, edx
mov eax, 0x10000
mov dword [esp + 0x4c], edx
push eax
push 1
push dword [ecx + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x28]
call eax
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
je 0x4662bd
mov ecx, dword [esp + 0x48]
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ebx, edi
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
cmp word [esp + 0x76], 0
je 0x46661d
mov eax, dword [ecx + 0x28]
push 0x8000
push 1
push dword [ecx + 0x34]
mov dword [esp + 0x2bc], 0
call eax
mov edi, eax
add esp, 0xc
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x466468
or ebx, 0xffffffff
jmp 0x466775
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
mov ecx, edi
and ecx, 0x7fff
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, esi
or eax, edx
jne 0x466539
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x48]
cmp dword [eax + 0x48], 0
jne 0x466539
mov edx, dword [esp + 0x4c]
cmp edx, ebp
ja 0x4664de
mov eax, dword [esp + 0x28]
jb 0x4664d6
cmp eax, ebx
jae 0x4664de
mov esi, eax
mov dword [esp + 0x14], edx
jmp 0x4664e4
mov esi, ebx
mov dword [esp + 0x14], ebp
mov eax, dword [ecx + 0x38]
push esi
push dword [esp + 0x24]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [ecx + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, esi
jne 0x466768
mov edx, dword [esp + 0x14]
cmp ecx, edx
jne 0x466768
add dword [esp + 0x2c], esi
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
adc dword [esp + 0x30], edx
sub ebx, esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sbb ebp, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], ecx
jmp 0x46653d
mov ecx, dword [esp + 0x38]
mov eax, ebx
mov dword [esp + 0x58], esi
or eax, ebp
je 0x46654e
mov eax, 2
jmp 0x466550
xor eax, eax
mov edx, dword [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x64]
push dword [esp + 0x28]
lea edx, [ecx + edx]
push eax
lea ecx, [esp + 0x2c4]
call fcn.00463b60
mov ecx, dword [esp + 0x6c]
add esp, 0x14
mov edx, dword [esp + 0x14]
sub esi, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sbb edx, 0
add dword [esp + 0x38], ecx
mov dword [esp + 0x14], edx
adc dword [esp + 0x60], 0
test eax, eax
je 0x466605
push eax
push dword [esp + 0x54]
push dword [esp + 0x20]
push edi
push dword [esp + 0x74]
call fcn.004667d0
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x466768
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00463ac0
mov edx, dword [esp + 0x1c]
add esp, 4
add edi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
adc edx, 0
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x94]
ja 0x466768
jb 0x466601
cmp edi, dword [esp + 0x90]
ja 0x466768
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
cmp ecx, 1
je 0x466490
cmp ecx, 2
je 0x466490
jmp 0x466674
mov eax, dword [ecx + 0x48]
cmp dword [eax + 0x48], 0
je 0x466685
mov ebx, dword [esp + 0x8c]
test ebx, ebx
jne 0x4662bd
cmp edi, 0xffffffff
ja 0x4662bd
push edi
push edx
push ebx
push ebx
push dword [esp + 0x74]
call fcn.004667d0
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x46666d
cmp ecx, ebx
jne 0x46666d
mov edx, dword [esp + 0x20]
push edi
call fcn.00463ac0
add esp, 4
mov dword [esp + 0x34], eax
xor ecx, ecx
jmp 0x466674
or ecx, 0xffffffff
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x46676d
mov edx, dword [esp + 0x18]
jmp 0x466749
mov edi, dword [esp + 0x58]
mov eax, ebx
or eax, ebp
je 0x466745
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov edx, dword [esp + 0x4c]
cmp edx, ebp
ja 0x4666b8
mov eax, dword [esp + 0x28]
jb 0x4666b2
cmp eax, ebx
jae 0x4666b8
mov esi, eax
mov ebx, edx
jmp 0x4666bc
mov esi, ebx
mov ebx, ebp
mov eax, dword [ecx + 0x38]
push esi
push dword [esp + 0x24]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [ecx + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, esi
jne 0x46673e
cmp ecx, ebx
jne 0x46673e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push esi
call fcn.00463ac0
push esi
push dword [esp + 0x28]
mov dword [esp + 0x40], eax
push dword [esp + 0x24]
push edi
push dword [esp + 0x78]
call fcn.004667d0
add esp, 0x18
xor ecx, ecx
cmp eax, esi
jne 0x46673e
cmp ecx, ebx
jne 0x46673e
add dword [esp + 0x2c], esi
mov edx, dword [esp + 0x18]
adc dword [esp + 0x30], ebx
add edi, esi
mov ecx, dword [esp + 0x48]
adc edx, ebx
sub dword [esp + 0x24], esi
mov dword [esp + 0x18], edx
sbb ebp, ebx
mov ebx, dword [esp + 0x24]
mov eax, ebx
or eax, ebp
jne 0x4666a0
jmp 0x466749
or ebx, 0xffffffff
xor edi, edi
jmp 0x466775
mov edx, dword [esp + 0x5c]
cmp edi, dword [esp + 0x90]
jne 0x466768
cmp edx, dword [esp + 0x94]
jne 0x466768
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x80]
je 0x46676d
or ebx, 0xffffffff
jmp 0x466771
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
jne 0x466791
push dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
push dword [esi + 0x34]
call eax
add esp, 8
test edi, edi
je 0x4667a1
mov eax, dword [esi + 0x2c]
push edi
push dword [esi + 0x34]
call eax
add esp, 8
xor eax, eax
test ebx, ebx
sete al
mov ecx, dword [esp + 0x2dc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b0726
add esp, 0x2db8
ret