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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x100ff008]
xor eax, esp
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x90], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 0x30]
push esi
push edi
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], ecx
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x70], xmm0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
cdq
mov esi, edx
movq qword [esp + 0x80], xmm0
mov edi, eax
push esi
push edi
call fcn.10004a20
add esp, 8
mov dword [esp + 0x64], eax
test eax, eax
jne 0x100325b8
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x60], 7
mov dword [esp + 0x30], eax
jmp 0x100325fc
push esi
push edi
push dword [esp + 0x4c]
mov edi, dword [esp + 0x5c]
push edi
call fcn.100de5f0
mov esi, eax
mov ecx, edi
mov edi, dword [esp + 0x44]
cdq
sub ecx, eax
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x40]
sbb edi, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x98]
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 + 0x40], eax
mov eax, dword [eax + 0x14]
mov dword [esp + 0x3c], eax
mov eax, esi
cdq
add eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
adc edx, edi
mov dword [esp + 0x5c], edx
cmp dword [eax + 0x18], 0
je 0x10032778
mov eax, dword [esp + 0x3c]
cdq
mov edi, eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x48], 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 0x10032675
cmp eax, 9
jl 0x10032662
mov esi, dword [esp + 0x9c]
cdq
add eax, edi
mov ecx, edx
mov edi, dword [esp + 0x54]
adc ecx, esi
add eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
adc ecx, dword [esp + 0x5c]
mov eax, dword [edi + 0x10]
cdq
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x44]
cmp ecx, edx
jg 0x10032774
jl 0x100326b3
cmp dword [esp + 0x4c], eax
ja 0x10032774
mov ecx, dword [esp + 0x48]
test esi, esi
ja 0x10032701
jb 0x100326c2
cmp ecx, 0x7f
ja 0x100326d3
and cl, 0x7f
mov eax, 1
mov byte [esp + 0xa0], cl
jmp 0x10032712
test esi, esi
ja 0x10032701
jb 0x100326e1
cmp ecx, 0x3fff
ja 0x10032701
mov eax, ecx
shrd eax, esi, 7
or al, 0x80
and cl, 0x7f
mov byte [esp + 0xa0], al
mov eax, 2
mov byte [esp + 0xa1], cl
jmp 0x10032712
push esi
push ecx
lea ecx, [esp + 0xa8]
call fcn.10008910
add esp, 8
push eax
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x64]
call fcn.10031d10
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x64]
add esp, 4
mov edx, dword [eax + 0x20]
push dword [esp + 0x3c]
call fcn.10031d10
mov ecx, dword [edi + 4]
lea edx, [esp + 0x60]
add esp, 4
call fcn.100320f0
mov esi, dword [esp + 0x70]
test eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], eax
jne 0x1003276a
mov edi, dword [esp + 0x7c]
jmp 0x10032600
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
jmp 0x1003277c
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x100327bf
cmp dword [esp + 0x64], edi
je 0x100327bf
mov eax, dword [esp + 0x6c]
cmp esi, eax
jle 0x100327bf
mov esi, dword [esp + 0x80]
cdq
add eax, dword [esp + 0x30]
mov edi, dword [esi]
adc edx, ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
mov eax, dword [esp + 0x18]
sub eax, ecx
add ecx, dword [esp + 0x6c]
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 + 0x54]
push dword [esp + 0x64]
cdq
add eax, dword [esp + 0x34]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
call fcn.10004e40
mov eax, dword [esp + 0x5c]
add esp, 4
mov ecx, dword [esp + 0xac]
test eax, eax
cmove eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100bd09a
mov esp, ebp
pop ebp
ret