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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100c50e4]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x18], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jle 0x10031c0a
call fcn.10031550
cmp byte [esi + 0x58], 0
jne 0x10031c0a
cmp dword [esi + 0x188], 0
jne 0x10031c0a
mov dword [esi + 0x188], 1
lea ecx, [esi + 0x198]
mov byte [esi + 0x194], 0
cmp dword [esi + 0x1ac], 0x10
jb 0x10031923
mov ecx, dword [esi + 0x198]
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
sub esp, 0x28
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, esp
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x58], 0x100000
mov dword [esp + 0x64], 0
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x68], edi
mov dword [esi + 0x1a8], 0
movups xmmword [eax], xmm0
mov byte [ecx], 0
mov ecx, esi
movups xmm0, xmmword [esp + 0x68]
mov dword [esp + 0x7c], 0
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x20], xmm0
call fcn.10035170
cmp byte [esi + 0x194], 0
je 0x100319b2
cmp dword [esi + 0x1ac], 0x10
lea edi, [esi + 0x198]
jb 0x100319a6
mov edi, dword [edi]
mov eax, dword [esi + 0x1a8]
mov dword [esp + 0x18], eax
jmp 0x100319b6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x38], eax
sub esp, 0x28
movups xmmword [esp + 0x6c], xmm0
mov eax, esp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], 0x410
mov ecx, esi
mov dword [esp + 0x64], 0
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x68], edi
mov dword [esp + 0x7c], 0
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x20], xmm0
call fcn.10035170
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp byte [esi + 0x58], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x64]
mov byte [esp + 0x17], 0
mov dword [esp + 0x24], edi
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x28], ecx
lea ecx, [esi + 0x14]
jne 0x10031aa4
cmp byte [ecx + 0x4c], 0
je 0x10031a67
mov ecx, dword [ecx + 0x50]
lea eax, [esp + 0x17]
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push edi
push dword [esp + 0x2c]
push 0
call fcn.10064520
mov dword [esp + 0x24], eax
lea ecx, [esi + 0x14]
push dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x24]
push edi
call fcn.10028010
mov edx, dword [esi + 0x68]
test edx, edx
je 0x10031aa4
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jle 0x10031a90
cmp ecx, dword [eax + 0x34]
jle 0x10031a90
mov al, 1
jmp 0x10031a92
xor al, al
push eax
movzx eax, byte [esi + 0x60]
mov ecx, edx
push eax
push dword [esp + 0x20]
push edi
call fcn.10062d30
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
jne 0x10031ade
cmp byte [esi + 0x60], 0
je 0x10031ade
mov eax, dword [esi + 0x1b4]
mov edi, dword [esi + 0x1b0]
mov dword [esp + 0x20], eax
cmp edi, eax
je 0x10031ade
mov ecx, dword [edi]
push 0
push dword [edi + 4]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
add edi, 8
cmp edi, dword [esp + 0x20]
jne 0x10031ac8
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x180], edx
jle 0x10031af0
mov dword [esi + 0x180], edx
mov ecx, dword [esi + 0x6c]
mov edi, 0x2011
cmp byte [esp + 0x17], 0
mov eax, 0x11
mov dword [esp + 0x34], edx
cmovne eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov dword [esp + 0x38], edi
mov eax, dword [eax + 0x1c]
call eax
sub eax, dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov ecx, esi
mov dword [esp + 0x68], eax
mov eax, esp
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], 0
movups xmm0, xmmword [esp + 0x58]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x78]
movq qword [eax + 0x20], xmm0
call fcn.10035170
cmp byte [esi + 0x194], 0
je 0x10031bef
movups xmm0, xmmword [esi + 0x198]
mov dword [esp + 0x30], 0
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
movq xmm2, qword [esp + 0x40]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [esi + 0x1a8]
movq qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x44]
movups xmmword [esi + 0x198], xmm1
movq qword [esi + 0x1a8], xmm2
cmp edx, 0x10
jb 0x10031bef
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10031be5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031c1f
push edx
push ecx
call fcn.1008376a
add esp, 8
dec dword [esi + 0x188]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10083210
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10083210
mov esp, ebp
pop ebp
ret 0xc
call fcn.10089306
int3