Function at 0x101be220
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 0x101be44d
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.10154a80
test al, al
je 0x101be3db
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.10154a80
test al, al
je 0x101be3d7
mov eax, ebp
lea ecx, [esp + 0x68]
sub eax, esi
sar eax, 3
push eax
push esi
call fcn.10187820
cmp byte [esp + 0x17], 0
jne 0x101be2ef
mov eax, dword [edi]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*8]
jmp 0x101be2f3
mov eax, dword [esp + 0x18]
sub eax, ebp
lea ecx, [esp + 0x78]
sar eax, 3
push eax
push ebp
call fcn.10187820
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 0x101be38a
comiss xmm5, xmm1
jae 0x101be38a
comiss xmm3, xmm2
jae 0x101be3d7
comiss xmm4, xmm0
jae 0x101be38a
comiss xmm6, xmm3
jb 0x101be38a
comiss xmm5, xmm4
jb 0x101be38a
comiss xmm2, xmm7
jb 0x101be38a
comiss xmm0, xmm1
jb 0x101be38a
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 0x101be3f5
comiss xmm3, xmm2
jae 0x101be3d7
comiss xmm4, xmm0
jae 0x101be3d7
comiss xmm6, xmm7
jae 0x101be3d7
comiss xmm5, xmm1
jae 0x101be3d7
comiss xmm3, xmm6
jb 0x101be3d7
comiss xmm4, xmm5
jb 0x101be3d7
comiss xmm7, xmm2
jb 0x101be3d7
comiss xmm1, xmm0
jb 0x101be3d7
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 0x101be3f5
mov ebp, dword [esp + 0x10]
push 0
push 0
lea eax, [esp + 0x544]
mov ecx, edi
push eax
call fcn.10154d30
movzx esi, al
test al, al
je 0x101be442
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 0x101be4ac
lea ecx, [esp + 0x68]
sub eax, 1
je 0x101be476
call fcn.101bd670
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.10187060
add esp, 0x14
test al, al
jne 0x101be4bc
jmp 0x101be574
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.101bdfc0
add esp, 0x10
lea ecx, [esp + 0x68]
mov bl, 1
call fcn.101bd670
jmp 0x101be572
lea ecx, [esp + 0x68]
xor bl, bl
call fcn.101bd670
jmp 0x101be572
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 0x101be4e8
xor bl, bl
jmp 0x101be568
push dword [esp + 0x24]
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xe4]
push ebx
call fcn.10198460
mov ebx, dword [esp + 0x530]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x530]
lea ecx, [esp + 0xa8]
call fcn.1016c180
cmp byte [esp + 0xdc], 0
jne 0x101be550
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.1016c220
cmp byte [esp + 0xdc], 0
je 0x101be526
lea ecx, [esp + 0xe0]
mov bl, 1
call fcn.10181e00
test esi, esi
je 0x101be568
push esi
call ebp
add esp, 4
test edi, edi
je 0x101be572
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.102af935
add esp, 0x550
ret 0x14