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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
mov esi, ecx
mov dword [esp + 0x90], 0
push edi
push ecx
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0xa4]
lea eax, [esi + 0x30]
mov dword [esp + 0xa4], 0
mov dword [esp + 0x94], eax
add eax, 4
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xa4]
movdqa xmm0, xmmword [esp + 0x94]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x43]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0xac], 0xffffffff
movdqu xmmword [esp + 0xb0], xmm0
call fcn.036d1df0
test al, al
je 0x36cefa5
mov eax, dword [esp + 0xb0]
inc dword [eax]
mov al, 1
mov esi, dword [esi + 0x2c]
mov edi, dword [ebp + 8]
mov byte [esp + 0xbc], al
cmp edi, esi
jae 0x36cf3e9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x36cf3e9
add eax, edi
mov ecx, edi
cmp eax, esi
cmovb esi, eax
shr ecx, 0x10
mov eax, esi
mov dword [esp + 0x38], esi
shr eax, 0x10
sub esp, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
cmp ecx, eax
jne 0x36cf087
mov eax, esp
sub esi, edi
push ecx
lea ecx, [esp + 0xdc]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.036678b0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x1c]
call fcn.036ce8e0
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0xc0]
xorps xmm0, xmm0
mov dword [esp + 0xc0], 0
movlpd qword [esp + 0xc8], xmm0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.036680e0
push esi
movzx eax, di
add eax, dword [esp + 0xc4]
push eax
push dword [ebp + 0xc]
call dword [0x1011f348]
lea ecx, [esp + 0xc0]
call fcn.036679d0
lea ecx, [esp + 0xd0]
call fcn.036d14c0
jmp 0x36cf3eb
movzx esi, di
mov eax, 0x10000
sub eax, esi
mov dword [esp + 0x20], eax
mov eax, esp
push ecx
lea ecx, [esp + 0x2c]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.036678b0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
call fcn.036ce8e0
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x80]
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
movlpd qword [esp + 0x88], xmm0
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.036680e0
push dword [esp + 0x18]
mov eax, dword [esp + 0x84]
add eax, esi
mov esi, dword [ebp + 0xc]
push eax
push esi
call dword [0x1011f348]
lea ecx, [esp + 0x80]
call fcn.036679d0
mov eax, dword [esp + 0x18]
add eax, esi
cmp dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
jne 0x36cf12e
cmp dword [esp + 0x44], 0
je 0x36cf155
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esi + 0x10]
call fcn.036d0d80
lea ecx, [esp + 0xf0]
call fcn.036d14c0
jmp 0x36cf159
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc ecx
cmp ecx, eax
jae 0x36cf2af
sub eax, ecx
lea edx, [esi + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
shl eax, 0x10
add dword [esp + 0x18], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x40]
mov ecx, edx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.036d0d80
cmp dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jne 0x36cf1a2
test esi, esi
je 0x36cf1ba
mov ecx, edi
call fcn.036d1ba0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.036680e0
mov eax, dword [esp + 0x14]
push dword [eax + 0xc]
lea ecx, [esp + 0x24]
push dword [eax + 8]
call fcn.036680e0
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
jne 0x36cf1dc
test esi, esi
je 0x36cf1e3
push edi
call dword [0x100f5298]
cmp dword [esp + 0x58], 0
jne 0x36cf1f1
cmp dword [esp + 0x5c], 0
je 0x36cf226
mov ecx, dword [esp + 0x50]
call fcn.036d1ba0
push 0
push 0
lea ecx, [esp + 0x58]
call fcn.036680e0
cmp dword [esp + 0x58], 0
mov edx, dword [esp + 0x5c]
jne 0x36cf216
test edx, edx
je 0x36cf226
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
push dword [edi + 0x10]
lea ecx, [esp + 0x68]
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
movlpd qword [esp + 0x70], xmm0
call fcn.036680e0
push 0x10000
push dword [esp + 0x64]
push dword [esp + 0x3c]
call dword [0x1011f348]
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x6c]
jne 0x36cf276
test edx, edx
je 0x36cf286
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x24]
add dword [esp + 0x34], 0x10000
xorps xmm0, xmm0
dec dword [esp + 0x30]
mov edx, dword [esp + 0x48]
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x60], 0
jne 0x36cf182
jmp 0x36cf2b3
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
movzx eax, ax
mov dword [esp + 0x14], eax
test eax, eax
je 0x36cf399
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xe4]
add ecx, 0x10
push eax
call fcn.036d0d80
cmp dword [esp + 0x28], 0
mov dword [esp + 0x48], eax
jne 0x36cf2ee
test esi, esi
je 0x36cf306
mov ecx, edi
call fcn.036d1ba0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.036680e0
mov eax, dword [esp + 0x48]
push dword [eax + 0xc]
lea ecx, [esp + 0x24]
push dword [eax + 8]
call fcn.036680e0
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
jne 0x36cf328
test esi, esi
je 0x36cf32f
push edi
call dword [0x100f5298]
lea ecx, [esp + 0xe0]
call fcn.036d14c0
push dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
push dword [edi + 0x10]
lea ecx, [esp + 0x78]
movlpd qword [esp + 0x80], xmm0
call fcn.036680e0
push dword [esp + 0x14]
push dword [esp + 0x74]
push dword [esp + 0x3c]
call dword [0x1011f348]
cmp dword [esp + 0x78], 0
mov edx, dword [esp + 0x7c]
jne 0x36cf37f
test edx, edx
je 0x36cf38f
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
jmp 0x36cf39d
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x38], eax
jne 0x36cf3ac
test esi, esi
je 0x36cf3d0
mov ecx, edi
call fcn.036d1ba0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.036680e0
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
test esi, esi
jne 0x36cf3d6
test edx, edx
jne 0x36cf3d6
mov esi, dword [esp + 0x38]
jmp 0x36cf3eb
mov ecx, dword [0x1011f360]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, dword [esp + 0x38]
jmp 0x36cf3eb
xor esi, esi
cmp byte [esp + 0xbc], 0
je 0x36cf435
mov edi, dword [esp + 0xb8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x36cf435
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x36cf435
push eax
call dword [0x100f5290]
mov ecx, dword [edi + 0x14]
push 0
push 1
push ecx
call dword [0x100f5288]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc