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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov edi, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [edx + 8]
jb 0x1003267a
mov esi, dword [edx + 0xc]
mov ebx, edx
cmp eax, esi
jae 0x1003267a
mov edx, dword [ebp + 0x14]
lea edx, [edx*8]
cmp esi, edx
mov edx, dword [ebp + 0x14]
jbe 0x1003267a
lea eax, [eax + edx*8]
cmp eax, esi
ja 0x1003267a
test edx, edx
mov dword [esp + 0x30], ecx
je 0x10032684
lea eax, [ebx + 0x10]
lea ecx, [ebx + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 8]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x50], ecx
jb 0x10032706
mov esi, dword [ebx + 0xc]
cmp eax, esi
jae 0x10032706
cmp esi, 9
jb 0x10032706
add eax, 8
cmp eax, esi
ja 0x10032706
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x14]
push 8
lea eax, [esp + 0x74]
push eax
push edi
call fcn.1002d140
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10032692
cmp dword [esp + 0x1c], 8
jne 0x100326a3
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edi
mov edi, edx
and edi, 0x7fffffff
cmp esi, edi
jbe 0x10032706
mov ebx, dword [esp + 0x70]
cmp byte [ebp + 0x10], 0
mov dword [esp + 0x34], edi
je 0x10032260
and ebx, 0x7fffffff
cmp esi, ebx
jbe 0x10032706
add ebx, dword [esp + 0x50]
mov dword [esp + 0x84], edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
mov word [esp + 0x4e], 0
push 2
lea eax, [esp + 0x52]
push eax
push ebx
call fcn.1002d2f0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x100326c3
cmp dword [esp + 0x1c], 2
jne 0x10032270
movdqa xmm0, xmmword [0x3108290]
pinsrw xmm0, word [eax], 1
jmp 0x10032281
mov dword [esp + 0x50], 1
jmp 0x10032381
movdqa xmm0, xmmword [esp + 0xa0]
pand xmm0, xmmword [0x3108280]
movd eax, xmm0
test ax, ax
je 0x100326fe
add ebx, 2
movdqa xmmword [esp + 0xa0], xmm0
mov eax, ebx
sub eax, dword [esp + 0x50]
jb 0x10032706
cmp eax, esi
jae 0x10032706
movdqa xmm0, xmmword [esp + 0xa0]
pextrw ecx, xmm0, 1
lea edx, [ecx + ecx]
cmp esi, edx
jbe 0x10032706
lea eax, [eax + ecx*2]
cmp eax, esi
ja 0x10032706
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x80], edx
mov esi, dword [edi + 4]
cmp edx, esi
cmovb esi, edx
mov edx, esi
call fcn.1001d170
cmp al, 8
jne 0x10032711
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x18]
mov edx, dword [ebp + 8]
cmp ecx, edi
mov dword [esp + 0x78], ecx
cmovb edi, ecx
lea ecx, [esp + 0x14]
push edi
mov dword [esp + 0x54], eax
push eax
push ebx
call fcn.1002d2f0
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100326a9
cmp dword [esp + 0x1c], esi
jne 0x10032338
mov edi, dword [esp + 0x18]
jmp 0x1003235e
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
push edi
mov edi, dword [esp + 0x54]
push edi
push ebx
call fcn.1002d140
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100326a9
mov esi, dword [esp + 0x78]
mov ecx, edi
mov edx, esi
call 0x10057ee0
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x50], 0
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ecx
not edx
movsd xmm0, qword [esp + 0x88]
shr edx, 0x1f
mov dword [esp + 0x9c], edx
mov dword [esp + 0x40], edx
mov esi, dword [edi + 4]
movsd qword [esp + 0x94], xmm0
movsd qword [esp + 0x38], xmm0
inc esi
je 0x100327aa
cmp esi, dword [edi + 8]
jbe 0x100323f2
mov ecx, esi
call fcn.10053440
cmp eax, esi
jbe 0x100323e1
mov ecx, edi
mov edx, eax
call fcn.1001e280
cmp al, 8
je 0x100323f2
mov ecx, edi
mov edx, esi
call fcn.1001e280
cmp al, 8
jne 0x100327aa
mov edx, edi
mov edi, dword [edi]
mov ecx, dword [esp + 0x50]
mov esi, dword [edx + 4]
lea eax, [esi + esi*2]
inc esi
mov dword [edi + eax*8], ecx
mov dword [edi + eax*8 + 4], ebx
mov ebx, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x38]
movsd qword [edi + eax*8 + 8], xmm0
mov ecx, dword [esp + 0x40]
mov dword [edi + eax*8 + 0x10], ecx
mov dword [edi + eax*8 + 0x14], ebx
mov ebx, dword [esp + 8]
mov dword [edx + 4], esi
je 0x10032706
cmp dword [edi + eax*8 + 0x10], 0
je 0x10032530
mov ecx, dword [edi + eax*8 + 0x14]
mov edx, dword [ebx + 0xc]
cmp edx, ecx
jbe 0x10032706
cmp edx, 0x11
jb 0x1003257b
mov ebx, dword [ebx + 8]
lea eax, [ebx + ecx]
cmp eax, ebx
jb 0x10032577
add ecx, 0x10
cmp ecx, edx
ja 0x10032577
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x10]
cmp esi, 3
jne 0x100325a7
mov ecx, ebx
mov ebx, dword [ebx + 0x20]
cmp dword [ecx], ebx
jbe 0x100325ad
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
push 0xc
lea ebx, [esp + 0x3c]
push ebx
push eax
call fcn.1002d140
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10032776
cmp dword [esp + 0x1c], 0xc
mov edx, dword [esp + 0x10]
jne 0x100325b7
movsd xmm0, qword [edi + 0x18]
movsd xmm1, qword [edi + 0x20]
lea eax, [esp + 0x20]
movsd xmm2, qword [esp + 0x38]
mov ebx, dword [esp + 0x40]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
mov al, 7
movsd xmm0, qword [edi + 4]
mov edi, dword [esp + 0x50]
inc edi
movsd qword [esp + 0x14], xmm0
jne 0x100325c5
cmp ecx, 2
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
je 0x10032583
jmp 0x1003278c
cmp esi, 3
jae 0x10032706
mov eax, dword [edi + eax*8 + 0x14]
cmp dword [ebx + 0xc], eax
jbe 0x10032706
mov edi, dword [ebp + 0x18]
add eax, dword [ebx + 8]
lea ecx, [esp + 0x14]
mov edx, ebx
push edi
push eax
push dword [ebp + 8]
call fcn.10031fc0
add esp, 0xc
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0xc]
jne 0x10032764
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x10]
jmp 0x10032586
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 0x18]
mov eax, dword [edi + 8]
cmp esi, eax
cmovb eax, esi
test eax, eax
je 0x10032596
dec esi
mov dword [edi + 4], esi
mov edi, ecx
add edi, 8
dec edx
jne 0x10032168
jmp 0x10032684
mov ecx, dword [esp + 0xc]
jmp 0x10032583
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x10032583
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov byte [ebx + 0x29], 1
jmp 0x10032583
mov eax, dword [esp + 8]
cmp edi, dword [eax + 0x24]
jbe 0x1003261a
mov dword [esp + 0x34], ecx
mov ecx, edi
movaps xmmword [esp + 0x50], xmm2
call fcn.10053440
cmp eax, edi
jbe 0x100325fa
mov ecx, dword [esp + 0x6c]
mov edx, eax
call fcn.1001d760
mov ecx, dword [esp + 0x34]
movaps xmm2, xmmword [esp + 0x50]
cmp al, 8
je 0x1003261a
mov ecx, dword [esp + 0x6c]
mov edx, edi
call fcn.1001d760
mov ecx, dword [esp + 0x34]
movaps xmm2, xmmword [esp + 0x50]
mov edx, dword [esp + 0x10]
cmp al, 8
jne 0x1003251b
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 8]
mov edi, ecx
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
imul edx, eax, 0x2c
inc eax
mov dword [ecx + edx], edi
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
movsd qword [ecx + edx + 4], xmm0
movsd qword [ecx + edx + 0xc], xmm1
movsd xmm0, qword [esp + 0x24]
movsd qword [ecx + edx + 0x14], xmm0
mov edi, dword [esp + 0x2c]
mov dword [ecx + edx + 0x1c], edi
mov edi, dword [esp + 0x50]
movlps qword [ecx + edx + 0x20], xmm2
mov dword [ecx + edx + 0x28], edi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x20], eax
jmp 0x10032583
mov word [ecx], 0
jmp 0x1003275c
mov eax, dword [esp + 0x30]
mov word [eax], 0x100
jmp 0x1003275c
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x10032723
mov byte [ebx + 0x29], 1
jmp 0x10032706
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
jmp 0x10032717
movq xmm0, qword [esp + 0x1c]
pinsrw xmm1, ecx, 1
shr ecx, 0x10
lea edx, [esp + 0x14]
mov word [esp + 0x1a], cx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x14], 2
movd dword [esp + 0x16], xmm1
call fcn.10051450
mov eax, dword [esp + 0x3c]
jmp 0x10032717
mov eax, dword [esp + 8]
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x30]
mov word [eax], 0
jmp 0x1003275c
mov byte [esp + 0x40], al
xor eax, eax
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movsd xmm0, qword [esp + 0x88]
mov dword [edx + 0x10], ecx
movsd qword [edx + 8], xmm0
mov dword [edx + 4], eax
movsd qword [esp + 0x94], xmm0
mov byte [edx], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x10032795
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, eax
and edi, 0xffffff00
jmp 0x10032790
xor ecx, ecx
xor edi, edi
movzx eax, al
or eax, edi
mov edi, dword [esp + 0x30]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], edx
mov byte [edi], 1
jmp 0x1003275c
lea ecx, [esp + 0x14]
mov edx, 0x310e708
mov dword [esp + 0x14], 0x310e6f4
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0x310fe14
mov dword [esp + 0x20], 0
call fcn.10008ee0
ud2