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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x78], eax
xor eax, eax
dec eax
lea edi, [esp + 0x54]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, dword [ecx]
push esi
push edi
call fcn.10064a60
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1005cad7
push esi
call fcn.1007ad35
add esp, 4
mov dword [esp + 0xc], eax
push esi
call fcn.1007ad07
add esp, 4
cmp eax, 0x14
mov esi, 0x14
cmovb esi, eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0xffffffff
xor ecx, ecx
lea eax, [esp + 0x48]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
movaps xmm0, xmmword [0x10210de0]
lea edi, [esp + 0x30]
movups xmmword [edi + 4], xmm0
mov dword [edi], 0x10211280
mov dword [edi + 0x14], eax
mov ecx, edi
push 0xb
push str..rodata.cst
call fcn.10042866
mov ecx, eax
mov dword [esp + 0x1c], esi
push esi
call fcn.1008322a
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
je 0x1005c8b2
lea ecx, [esp + 0x30]
call fcn.100832fa
mov ecx, ebx
xor eax, eax
push eax
push dword [esp + 0x20]
push eax
mov esi, dword [esp + 0x18]
push esi
push eax
push 0x12
push 1
push dword [esp + 0x60]
call fcn.1005cb08
mov edi, dword [ebx + 0x40]
cmp edi, dword [ebx + 0x44]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
je 0x1005c8ec
mov dword [edi], eax
add edi, 4
mov dword [ebx + 0x40], edi
jmp 0x1005c997
lea ecx, [ebx + 0x3c]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
sub edi, edx
mov ebx, edi
sar ebx, 2
lea edx, [ebx + 1]
cmp edx, 0x40000000
jae 0x1005cafd
mov ecx, edi
sar ecx, 1
cmp ecx, edx
cmovb ecx, edx
cmp ebx, 0x1fffffff
mov esi, 0x3fffffff
cmovb esi, ecx
test esi, esi
je 0x1005c94a
cmp esi, 0x40000000
jae 0x1005cb02
lea eax, [esi*4]
push eax
call fcn.101fac10
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x10]
jmp 0x1005c94c
xor ecx, ecx
lea esi, [ecx + esi*4]
lea ebx, [ecx + ebx*4]
add ebx, 4
mov dword [ebx - 4], eax
test edi, edi
mov edx, dword [esp + 0x18]
jle 0x1005c977
push edi
push edx
push ecx
mov dword [esp + 0x2c], ecx
mov edi, edx
call fcn.101da630
mov edx, edi
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ebx
mov ebx, eax
mov dword [eax + 0x44], esi
test edx, edx
mov esi, dword [esp + 0xc]
je 0x1005c997
push edx
call fcn.101d75d9
add esp, 4
mov ecx, ebx
push 0
push esi
call fcn.1005cb74
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x34], edx
mov edx, ecx
mov dword [ecx + 0x30], eax
cmp byte [0x10246a69], 0
je 0x1005ca08
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
je 0x1005ca08
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, eax
sar edx, 0x1f
lea esi, [esp + 0x28]
xor ecx, ecx
dec ecx
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov ecx, esi
push edx
push eax
push 5
push dword [0x10246a5c]
push dword [0x10246a58]
call fcn.100707b0
lea eax, [esp + 0x24]
mov dword [eax], esi
push eax
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1005cbcc
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x1005caa1
mov dword [esp + 0xc], 0
mov esi, dword [edi]
cmp byte [esi + 0x1c], 0
je 0x1005ca96
mov eax, ebx
mov ebx, dword [esi + 0x18]
mov ecx, dword [eax + 0x68]
xor eax, eax
push eax
push dword [esp + 0x10]
push edx
push eax
push eax
push ebx
call fcn.100609f8
test ebx, ebx
je 0x1005ca5c
mov eax, ebx
and eax, 1
jne 0x1005ca5c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c]
push ebx
call fcn.10060eec
movss xmm0, dword [esi + 0x20]
movss dword [esp + 0x28], xmm0
mov esi, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0x68]
push ebx
call fcn.101da630
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
push esi
push ebx
mov ebx, edx
call dword [eax + 0x10]
add dword [esp + 0xc], esi
mov edx, dword [esp + 0x10]
add edi, 4
cmp dword [esp + 0x18], edi
jne 0x1005ca24
jmp 0x1005caa9
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], 0
lea ecx, [esp + 0x30]
call fcn.10083e0e
cmp byte [esp + 0x53], 0
jns 0x1005cad3
push dword [esp + 0x48]
call fcn.101d75d9
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1005cae8
mov dword [esp + 0x58], eax
push eax
call fcn.101d75d9
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.101d7611
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.101add4c
call fcn.101e7170
int3