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

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x102a0600]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
mov esi, dword [esp + 0x1d0]
push edi
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x58]
cmp eax, 2
jl 0x10080000
cmp dword [esi + 4], 0
jne 0x1007fbd1
pop edi
pop esi
mov eax, 0xffffff76
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.10084465
add esp, 0x1c4
ret
mov ebx, dword [esp + 0x1dc]
test ebx, ebx
jl 0x10080000
mov edi, dword [esp + 0x1d8]
jg 0x1007fbf1
test edi, edi
jb 0x10080000
cmp ebx, dword [esi + 0x14]
jg 0x10080000
jl 0x1007fc05
cmp edi, dword [esi + 0x10]
ja 0x10080000
cmp eax, 3
jl 0x1007fc34
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x1007fc2b
jg 0x1007fc1d
cmp edi, dword [ecx + eax*8]
jb 0x1007fc2b
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x1007fc34
jg 0x1007fc2b
cmp edi, dword [ecx + eax*8 + 8]
jb 0x1007fc34
push esi
call fcn.1007da00
add esp, 4
push ebp
push dword [esi + 0x5c]
lea ebp, [esi + 0x78]
mov dword [esi + 0x50], 0xffffffff
push ebp
mov dword [esi + 0x54], 0xffffffff
call fcn.100cfaf0
lea eax, [esi + 0x1e0]
push eax
call fcn.1006bbb0
push ebx
push edi
push esi
call fcn.1007eaf0
add esp, 0x18
test eax, eax
je 0x1007fc9f
push esi
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.1007da00
add esp, 4
mov eax, 0xffffff77
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.10084465
add esp, 0x1c4
ret
push dword [esi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x18], ebx
call fcn.100cf340
lea eax, [esp + 0x70]
push eax
call fcn.100cfa60
add esp, 0xc
jmp 0x1007fcd4
mov ebx, dword [esp + 0x10]
cmp dword [esi + 0x58], 3
jl 0x1007fd83
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.100cf620
add esp, 8
test eax, eax
jle 0x1007fd83
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x1007fd78
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.101578a0
mov edi, eax
add esp, 8
test edi, edi
jns 0x1007fd2c
push 0
push ebp
call fcn.100cf620
add esp, 8
xor edi, edi
jmp 0x1007fd55
cmp dword [esp + 0x1c], 0
je 0x1007fd47
cmp dword [esp + 0x14], 0
jne 0x1007fd47
push 0
push ebp
call fcn.100cf620
add esp, 8
jmp 0x1007fd55
test ebx, ebx
je 0x1007fd55
lea eax, [edi + ebx]
sar eax, 2
add dword [esp + 0x28], eax
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov ebp, dword [esp + 0x5c]
and eax, ebp
cmp eax, 0xffffffff
jne 0x1007fec7
mov ebx, edi
lea ebp, [esi + 0x78]
mov dword [esp + 0x10], ebx
jmp 0x1007fcd4
push 0
push ebp
call fcn.100cf620
add esp, 8
test ebx, ebx
jne 0x1007ffd7
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push eax
push esi
call fcn.1007e120
mov ecx, edx
mov dword [esp + 0x40], eax
add esp, 0x10
mov dword [esp + 0x2c], ecx
test ecx, ecx
jl 0x1007ffc4
jg 0x1007fdb9
test eax, eax
jb 0x1007ffc4
cmp dword [esi + 0x58], 3
jl 0x1007fe18
lea eax, [esp + 0x38]
push eax
call fcn.100cef90
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x1007fe0e
lea eax, [esp + 0x38]
push eax
call fcn.100cee60
add esp, 4
test eax, eax
je 0x1007fe0e
lea eax, [esi + 0x1e0]
push eax
call fcn.1006b160
lea eax, [esi + 0x250]
push eax
call fcn.1006b070
lea eax, [esp + 0x70]
mov dword [esi + 0x58], 2
push eax
call fcn.100cefc0
add esp, 0xc
cmp dword [esi + 0x58], 3
jge 0x1007fe97
lea eax, [esp + 0x38]
push eax
call fcn.100cef90
mov ecx, dword [esi + 0x34]
add esp, 4
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x1007fe3f
mov eax, dword [esi + 0x40]
cmp dword [eax], ebx
je 0x1007fe3f
inc edi
add eax, 4
cmp edi, ecx
jl 0x1007fe33
cmp edi, ecx
je 0x1007fcd0
push ebx
push ebp
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
call fcn.100cfaf0
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.100cfaf0
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x1007fe8b
jl 0x1007fe81
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + edi*8]
ja 0x1007fe8b
mov dword [esp + 0x14], 1
jmp 0x1007fe93
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.100cf660
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.100cf660
lea eax, [esp + 0x48]
push eax
call fcn.100ceef0
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x1007fcd4
mov ecx, dword [esi + 0x60]
mov eax, ecx
mov edi, dword [esi + 0x44]
shl eax, 4
mov dword [esp + 0x2c], ecx
sub ebx, dword [eax + edi]
sbb ebp, dword [eax + edi + 4]
mov dword [esp + 0x1c], ebp
test ebp, ebp
jg 0x1007ff00
jl 0x1007feeb
test ebx, ebx
jae 0x1007ff00
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
xorps xmm0, xmm0
xor edx, edx
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x20], xmm0
cmp ecx, 2
jl 0x1007ff65
mov esi, dword [esp + 0x18]
lea edx, [ecx - 2]
mov ebp, dword [esp + 0x14]
lea eax, [edi + 0x18]
mov edi, dword [esp + 0x24]
shr edx, 1
inc edx
lea ecx, [edx + edx]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
add ebp, dword [eax - 0x10]
adc esi, dword [eax - 0xc]
add ecx, dword [eax]
adc edi, dword [eax + 4]
lea eax, [eax + 0x20]
sub edx, 1
jne 0x1007ff36
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x34]
cmp edx, dword [esp + 0x2c]
jl 0x1007ff81
jmp 0x1007ff8f
mov eax, dword [esp + 0x18]
test ecx, ecx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jle 0x1007ff8f
mov eax, dword [esi + 0x44]
shl edx, 4
add ebx, dword [edx + eax + 8]
adc ebp, dword [edx + eax + 0xc]
mov eax, dword [esp + 0x28]
cdq
sub ecx, eax
sbb edi, edx
add ecx, dword [esp + 0x14]
adc edi, dword [esp + 0x10]
add ecx, ebx
mov dword [esi + 0x50], ecx
adc edi, ebp
mov dword [esi + 0x54], edi
test edi, edi
jg 0x1007ffe5
jl 0x1007ffb4
test ecx, ecx
jae 0x1007ffe5
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
jmp 0x1007ffe5
push 0xffffffffffffffff
push esi
call fcn.1007fb00
add esp, 8
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x1007ffe5
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
lea eax, [esp + 0x68]
push eax
call fcn.100cefc0
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi + 0x68], xmm0
xor eax, eax
jmp 0x1007fc86
mov ecx, dword [esp + 0x1cc]
mov eax, 0xffffff7d
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10084465
add esp, 0x1c4
ret