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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0x58]
cmp ecx, 2
jl 0x663fa2
cmp dword [esi + 4], 0
jne 0x663b60
mov eax, 0xffffff76
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x663fa2
mov ebx, dword [ebp + 0xc]
jg 0x663b78
test ebx, ebx
jb 0x663fa2
cmp eax, dword [esi + 0x14]
jg 0x663fa2
jl 0x663b8c
cmp ebx, dword [esi + 0x10]
ja 0x663fa2
cmp ecx, 3
jl 0x663bb9
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x38]
cmp eax, dword [edx + ecx*8 + 4]
jl 0x663bb2
jg 0x663ba4
cmp ebx, dword [edx + ecx*8]
jb 0x663bb2
cmp eax, dword [edx + ecx*8 + 0xc]
jl 0x663bb9
jg 0x663bb2
cmp ebx, dword [edx + ecx*8 + 8]
jb 0x663bb9
mov ecx, esi
call fcn.00663390
mov edx, dword [esi + 0x5c]
lea edi, [esi + 0x78]
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
test edi, edi
je 0x663be3
cmp dword [edi], 0
je 0x663be3
mov ecx, edi
call fcn.00658830
mov dword [edi + 0x150], edx
lea ecx, [esi + 0x1e0]
call fcn.00653f20
push dword [ebp + 0x10]
mov ecx, esi
push ebx
call fcn.006621a0
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
je 0x663c2a
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.00658160
mov ecx, esi
call fcn.00663390
mov eax, 0xffffff77
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.006580e0
lea ecx, [esp + 0x60]
call fcn.00658830
jmp 0x663c55
mov ebx, dword [esp + 0x10]
cmp dword [esi + 0x58], 3
jl 0x663d2e
cmp dword [esp + 0x60], 0
je 0x663d2e
push 1
lea edx, [esp + 0x44]
lea ecx, [esp + 0x64]
call fcn.006588e0
add esp, 4
test eax, eax
jle 0x663d2e
mov ecx, dword [esi + 0x60]
shl ecx, 5
add ecx, dword [esi + 0x48]
cmp dword [ecx + 0x1c], 0
je 0x663d17
lea edx, [esp + 0x40]
call fcn.006620a0
mov ebx, eax
test ebx, ebx
jns 0x663cc1
test edi, edi
je 0x663cbd
cmp dword [edi], 0
je 0x663cbd
push 1
xor edx, edx
mov ecx, edi
call fcn.006588e0
add esp, 4
xor ebx, ebx
jmp 0x663cf9
cmp dword [esp + 0x14], 0
je 0x663ce8
cmp dword [esp + 0x18], 0
jne 0x663ce8
test edi, edi
je 0x663cf9
cmp dword [edi], 0
je 0x663cf9
push 1
xor edx, edx
mov ecx, edi
call fcn.006588e0
add esp, 4
jmp 0x663cf9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x663cf9
add eax, ebx
sar eax, 2
add dword [esp + 0x24], eax
mov ecx, dword [esp + 0x50]
mov eax, ecx
mov edx, dword [esp + 0x54]
and eax, edx
cmp eax, 0xffffffff
jne 0x663e5b
mov dword [esp + 0x10], ebx
jmp 0x663c55
test edi, edi
je 0x663d2e
cmp dword [edi], 0
je 0x663d2e
push 1
xor edx, edx
mov ecx, edi
call fcn.006588e0
add esp, 4
test ebx, ebx
jne 0x663f7b
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.00662200
mov ecx, edx
mov dword [esp + 0x24], eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
jl 0x663f69
jg 0x663d64
test eax, eax
jb 0x663f69
cmp dword [esi + 0x58], 3
jl 0x663d9c
lea ecx, [esp + 0x28]
call fcn.006580b0
cmp dword [esi + 0x5c], eax
je 0x663d92
mov eax, dword [esp + 0x28]
test byte [eax + 5], 2
je 0x663d92
mov ecx, esi
call fcn.00663390
lea ecx, [esp + 0x60]
call fcn.00658160
cmp dword [esi + 0x58], 3
jge 0x663e2f
lea ecx, [esp + 0x28]
call fcn.006580b0
mov ebx, eax
xor edx, edx
mov eax, dword [esi + 0x34]
test eax, eax
jle 0x663dbf
mov ecx, dword [esi + 0x40]
cmp dword [ecx], ebx
je 0x663dbf
inc edx
add ecx, 4
cmp edx, eax
jl 0x663db3
cmp edx, eax
je 0x663c51
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x663de3
cmp dword [edi], 0
je 0x663de3
mov ecx, edi
call fcn.00658830
mov dword [edi + 0x150], ebx
cmp dword [esp + 0x60], 0
je 0x663dfa
lea ecx, [esp + 0x60]
call fcn.00658830
mov dword [esp + 0x1b0], ebx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edx*8 + 4]
jg 0x663e23
jl 0x663e19
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + edx*8]
ja 0x663e23
mov dword [esp + 0x18], 1
jmp 0x663e2b
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.00658510
lea edx, [esp + 0x28]
lea ecx, [esp + 0x60]
call fcn.00658510
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + 5]
and eax, 4
mov dword [esp + 0x14], eax
jmp 0x663c55
mov edi, dword [esi + 0x60]
mov eax, edi
mov ebx, dword [esi + 0x44]
shl eax, 4
mov dword [esp + 0x1c], ebx
sub ecx, dword [eax + ebx]
sbb edx, dword [eax + ebx + 4]
mov dword [esp + 0x10], edx
test edx, edx
jg 0x663e94
jl 0x663e7f
test ecx, ecx
jae 0x663e94
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x18], ebx
cmp edi, 2
jl 0x663efb
mov eax, dword [esp + 0x1c]
lea ebx, [edi - 2]
mov edi, dword [esp + 0x2c]
add eax, 0x18
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
shr ebx, 1
inc ebx
mov dword [esp + 0x14], ebx
add ebx, ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x28]
add edx, dword [eax - 0x10]
adc esi, dword [eax - 0xc]
add ebx, dword [eax]
adc edi, dword [eax + 4]
lea eax, [eax + 0x20]
sub dword [esp + 0x14], 1
jne 0x663ed5
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 8]
jmp 0x663f13
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x60]
jge 0x663f32
mov esi, dword [esp + 0x1c]
shl eax, 4
add ecx, dword [eax + esi + 8]
adc edx, dword [eax + esi + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
cdq
sub ebx, eax
sbb edi, edx
add ebx, dword [esp + 0x14]
adc edi, dword [esp + 0x20]
add ebx, ecx
mov dword [esi + 0x50], ebx
adc edi, dword [esp + 0x10]
mov dword [esi + 0x54], edi
test edi, edi
jg 0x663f89
jl 0x663f59
test ebx, ebx
jae 0x663f89
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
jmp 0x663f89
or edx, 0xffffffff
mov ecx, esi
call fcn.00663aa0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x663f89
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00658160
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x68], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffff7d
pop ebx
mov esp, ebp
pop ebp
ret