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

Disassembly:
sub esp, 0x550
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x54c], eax
mov eax, dword [esp + 0x560]
push ebx
mov ebx, dword [esp + 0x560]
push ebp
push esi
mov esi, dword [esp + 0x564]
mov ebp, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x570]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x18], esi
push edi
mov edi, dword [esp + 0x564]
test eax, eax
jne 0x101be4ed
mov dword [esp + 0x20], eax
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
push eax
lea eax, [esp + 0x2c]
push eax
push 1
call fcn.10154ac0
test al, al
je 0x101be47b
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1b]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.10154ac0
test al, al
je 0x101be477
mov eax, ebp
lea ecx, [esp + 0x68]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.10187890
cmp byte [esp + 0x17], 0
jne 0x101be38f
mov eax, dword [edi]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*8]
jmp 0x101be393
mov eax, dword [esp + 0x18]
sub eax, ebp
lea ecx, [esp + 0x78]
sar eax, 3
push eax
push ebp
call fcn.10187890
movss xmm6, dword [esp + 0x78]
movss xmm7, dword [esp + 0x80]
comiss xmm6, xmm7
movss xmm0, dword [esp + 0x74]
movss xmm4, dword [esp + 0x6c]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x68]
movss xmm1, dword [esp + 0x84]
movss xmm5, dword [esp + 0x7c]
jae 0x101be42a
comiss xmm5, xmm1
jae 0x101be42a
comiss xmm3, xmm2
jae 0x101be477
comiss xmm4, xmm0
jae 0x101be42a
comiss xmm6, xmm3
jb 0x101be42a
comiss xmm5, xmm4
jb 0x101be42a
comiss xmm2, xmm7
jb 0x101be42a
comiss xmm0, xmm1
jb 0x101be42a
movups xmm0, xmmword [esp + 0x68]
mov ebp, dword [esp + 0x10]
mov esi, 2
movups xmmword [esp + 0x53c], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [esp + 0x54c], xmm0
jmp 0x101be495
comiss xmm3, xmm2
jae 0x101be477
comiss xmm4, xmm0
jae 0x101be477
comiss xmm6, xmm7
jae 0x101be477
comiss xmm5, xmm1
jae 0x101be477
comiss xmm3, xmm6
jb 0x101be477
comiss xmm4, xmm5
jb 0x101be477
comiss xmm7, xmm2
jb 0x101be477
comiss xmm1, xmm0
jb 0x101be477
movups xmm0, xmmword [esp + 0x78]
mov ebp, dword [esp + 0x10]
mov esi, 2
movups xmmword [esp + 0x53c], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esp + 0x54c], xmm0
jmp 0x101be495
mov ebp, dword [esp + 0x10]
push 0
push 0
lea eax, [esp + 0x544]
mov ecx, edi
push eax
call fcn.10154d70
movzx esi, al
test al, al
je 0x101be4e2
cmp byte [ebx + 0x29], 0
lea eax, [esp + 0x68]
mov edx, dword [ebp]
mov ecx, ebx
push eax
lea eax, [ebx + 0x14]
mov dword [esp + 0xa0], 0
cmove ecx, eax
mov dword [esp + 0x6c], 0
push ecx
push dword [esp + 0x24]
lea eax, [esp + 0x548]
mov ecx, ebp
push esi
push eax
call dword [edx + 0x24]
sub eax, 0
je 0x101be54c
lea ecx, [esp + 0x68]
sub eax, 1
je 0x101be516
call fcn.101bd710
mov eax, dword [esp + 0x574]
mov esi, dword [esp + 0x1c]
cmp byte [ebx + 0x29], 0
mov edx, ebx
push eax
push 2
lea eax, [esp + 0x54]
mov ecx, edi
push eax
lea eax, [ebx + 0x14]
push esi
push ebp
cmove edx, eax
call fcn.101870d0
add esp, 0x14
test al, al
jne 0x101be55c
jmp 0x101be614
push dword [esp + 0x24]
cmp esi, 1
lea edx, [esp + 0x88]
push ebx
sete al
movzx eax, al
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.101be060
add esp, 0x10
lea ecx, [esp + 0x68]
mov bl, 1
call fcn.101bd710
jmp 0x101be612
lea ecx, [esp + 0x68]
xor bl, bl
call fcn.101bd710
jmp 0x101be612
mov eax, dword [ebp]
lea ecx, [esp + 0x4c]
mov edi, dword [esp + 0x4c]
push 0
push esi
mov eax, dword [eax + 0x14]
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call eax
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test al, al
jne 0x101be588
xor bl, bl
jmp 0x101be608
push dword [esp + 0x24]
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xe4]
push ebx
call fcn.101984d0
mov ebx, dword [esp + 0x530]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x530]
lea ecx, [esp + 0xa8]
call fcn.1016c1f0
cmp byte [esp + 0xdc], 0
jne 0x101be5f0
mov eax, dword [ebx]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
lea ecx, [esp + 0xa0]
call fcn.1016c290
cmp byte [esp + 0xdc], 0
je 0x101be5c6
lea ecx, [esp + 0xe0]
mov bl, 1
call fcn.10181e70
test esi, esi
je 0x101be608
push esi
call ebp
add esp, 4
test edi, edi
je 0x101be612
push edi
call ebp
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102af9d5
add esp, 0x550
ret 0x14