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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
xor eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 0x30]
push esi
push edi
mov eax, dword [eax + 8]
mov dword [esp + 0x44], ecx
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
cdq
mov esi, edx
movq qword [esp + 0x90], xmm0
mov edi, eax
push esi
push edi
call fcn.10004280
add esp, 8
mov dword [esp + 0x74], eax
test eax, eax
jne 0x1002fd83
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x70], 7
mov dword [esp + 0x30], eax
jmp 0x1002fdd0
push esi
push edi
push dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
push edi
call fcn.100c5450
mov esi, eax
mov ecx, edi
mov edi, dword [esp + 0x38]
cdq
sub ecx, eax
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x48]
sbb edi, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], edi
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*8]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 0x14]
mov dword [esp + 0x44], eax
mov eax, esi
cdq
add eax, dword [esp + 0x30]
mov ecx, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
adc ecx, edi
mov dword [esp + 0x60], ecx
cmp dword [eax + 0x18], 0
je 0x1002ff42
mov eax, dword [esp + 0x44]
cdq
mov edi, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], edi
mov esi, edi
mov ecx, edx
xor eax, eax
shrd esi, ecx, 7
inc eax
shr ecx, 7
mov edx, esi
or edx, ecx
je 0x1002fe45
cmp eax, 9
jl 0x1002fe32
mov esi, dword [esp + 0x58]
cdq
add eax, edi
mov ecx, edx
mov edi, dword [esp + 0x4c]
adc ecx, esi
add eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
adc ecx, dword [esp + 0x60]
mov eax, dword [edi + 0x10]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x38]
cmp ecx, edx
jg 0x1002ff3e
jl 0x1002fe80
cmp dword [esp + 0x5c], eax
ja 0x1002ff3e
mov ecx, dword [esp + 0x3c]
test esi, esi
ja 0x1002fec5
jb 0x1002fe8f
cmp ecx, 0x7f
ja 0x1002fe9d
and cl, 0x7f
mov eax, 1
mov byte [esp + 0x64], cl
jmp 0x1002fed3
test esi, esi
ja 0x1002fec5
jb 0x1002feab
cmp ecx, 0x3fff
ja 0x1002fec5
mov eax, ecx
shrd eax, esi, 7
or al, 0x80
and cl, 0x7f
mov byte [esp + 0x64], al
mov eax, 2
mov byte [esp + 0x65], cl
jmp 0x1002fed3
push esi
push ecx
lea ecx, [esp + 0x6c]
call fcn.10007f80
add esp, 8
push eax
lea edx, [esp + 0x68]
lea ecx, [esp + 0x74]
call fcn.1002f510
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x74]
add esp, 4
mov edx, dword [eax + 0x20]
push dword [esp + 0x44]
call fcn.1002f510
mov ecx, dword [edi + 4]
lea edx, [esp + 0x64]
add esp, 4
call fcn.1002f8c0
mov esi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], eax
jne 0x1002ff31
mov edi, dword [esp + 0x8c]
jmp 0x1002fdd4
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], ecx
jmp 0x1002ff46
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x1002ff89
cmp dword [esp + 0x74], edi
je 0x1002ff89
mov eax, dword [esp + 0x7c]
cmp esi, eax
jle 0x1002ff89
mov esi, dword [esp + 0x90]
cdq
add eax, dword [esp + 0x30]
mov edi, dword [esi]
adc edx, ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
mov eax, dword [esp + 0x18]
sub eax, ecx
add ecx, dword [esp + 0x7c]
push eax
push ecx
mov ecx, dword [edi + 0xc]
push esi
call ecx
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x74]
cdq
add eax, dword [esp + 0x34]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
call fcn.100046a0
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
cmove eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret