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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xb4], 0
push ecx
mov dword [esp + 0xc0], 0
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc4], 0
lea eax, [edi + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0xb4], eax
add eax, 4
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xc4]
movdqa xmm0, xmmword [esp + 0xb4]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x43]
push eax
mov dword [esp + 0xcc], 0xffffffff
movdqu xmmword [esp + 0xd0], xmm0
call fcn.036d1df0
test al, al
je 0x36cf4d5
mov eax, dword [esp + 0xd0]
inc dword [eax]
mov al, 1
mov byte [esp + 0xdc], al
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x36cf4ea
xor esi, esi
jmp 0x36cf986
mov ecx, dword [ebp + 8]
lea esi, [ecx + eax]
mov dword [esp + 0x14], esi
cmp esi, dword [edi + 0x2c]
jbe 0x36cf504
push esi
mov ecx, edi
call fcn.036ced10
mov ecx, dword [ebp + 8]
mov edi, ecx
mov eax, esi
shr edi, 0x10
sub esp, 8
shr eax, 0x10
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
cmp edi, eax
jne 0x36cf5d2
mov eax, esp
sub esi, ecx
push ecx
lea ecx, [esp + 0xec]
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 + 0xe4]
push eax
push edi
call fcn.036ce8e0
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0xa0]
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
movlpd qword [esp + 0xa8], xmm0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.036680e0
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
movzx eax, ax
add eax, dword [esp + 0xa8]
push eax
call dword [0x1011f348]
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
test edi, edi
jne 0x36cf5b4
test edx, edx
je 0x36cf5c1
mov ecx, dword [0x1011f360]
push edx
push edi
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [esp + 0xe0]
call fcn.036d14c0
jmp 0x36cf986
movzx esi, cx
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 edi
call fcn.036ce8e0
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
movlpd qword [esp + 0x98], xmm0
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.036680e0
push dword [esp + 0x18]
mov eax, dword [esp + 0x94]
push dword [ebp + 0xc]
add eax, esi
push eax
call dword [0x1011f348]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
test esi, esi
jne 0x36cf667
test edx, edx
je 0x36cf674
mov ecx, dword [0x1011f360]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
add eax, dword [esp + 0x18]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x30], eax
jne 0x36cf68d
cmp dword [esp + 0x44], 0
je 0x36cf6b4
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 0x36cf6b8
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
inc ecx
cmp ecx, eax
jae 0x36cf80e
sub eax, ecx
lea edx, [esi + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], 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 + 0x38], eax
jne 0x36cf701
test esi, esi
je 0x36cf719
mov ecx, edi
call fcn.036d1ba0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.036680e0
mov eax, dword [esp + 0x38]
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 0x36cf73b
test esi, esi
je 0x36cf742
push edi
call dword [0x100f5298]
cmp dword [esp + 0x58], 0
jne 0x36cf750
cmp dword [esp + 0x5c], 0
je 0x36cf785
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 0x36cf775
test edx, edx
je 0x36cf785
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 + 0x34]
push dword [esp + 0x68]
call dword [0x1011f348]
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x6c]
jne 0x36cf7d5
test edx, edx
je 0x36cf7e5
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x24]
add dword [esp + 0x30], 0x10000
xorps xmm0, xmm0
dec dword [esp + 0x34]
mov edx, dword [esp + 0x48]
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x60], 0
jne 0x36cf6e1
jmp 0x36cf812
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x14], eax
test eax, eax
je 0x36cf93e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x74]
add ecx, 0x10
push eax
call fcn.036d0d80
cmp dword [esp + 0x28], 0
mov dword [esp + 0x48], eax
jne 0x36cf84a
test esi, esi
je 0x36cf862
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 0x36cf884
test esi, esi
je 0x36cf88b
push edi
call dword [0x100f5298]
cmp dword [esp + 0x78], 0
jne 0x36cf899
cmp dword [esp + 0x7c], 0
je 0x36cf8ce
mov ecx, dword [esp + 0x70]
call fcn.036d1ba0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.036680e0
cmp dword [esp + 0x78], 0
mov edx, dword [esp + 0x7c]
jne 0x36cf8be
test edx, edx
je 0x36cf8ce
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x84], 0
push dword [edi + 0x10]
lea ecx, [esp + 0x88]
movlpd qword [esp + 0x90], xmm0
call fcn.036680e0
push dword [esp + 0x14]
push dword [esp + 0x34]
push dword [esp + 0x88]
call dword [0x1011f348]
cmp dword [esp + 0x88], 0
mov edx, dword [esp + 0x8c]
jne 0x36cf921
test edx, edx
je 0x36cf934
mov ecx, dword [0x1011f360]
push edx
push dword [esp + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
jmp 0x36cf942
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jne 0x36cf951
test esi, esi
je 0x36cf982
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 0x36cf975
test edx, edx
je 0x36cf982
mov ecx, dword [0x1011f360]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, dword [esp + 0x14]
cmp byte [esp + 0xdc], 0
je 0x36cf9d0
mov edi, dword [esp + 0xd8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x36cf9d0
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 0x36cf9d0
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