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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
lea esi, [eax + ecx + 1]
cmp esi, 5
jae 0x10075b57
test esi, esi
je 0x10075bc1
lea eax, [esi*8]
lea ecx, [esp + 8]
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
jmp 0x10075bc1
xor ebx, ebx
cmp esi, 0x10000000
setb al
jae 0x10075d90
mov bl, al
lea ecx, [esi*8]
shl ebx, 3
test ecx, ecx
mov dword [esp + 4], ecx
js 0x10075d97
je 0x10075d77
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x10075ba6
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10075d81
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push dword [esp + 4]
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10075d81
mov edx, 1
jmp 0x10075bf2
mov edx, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
movsd xmm2, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x14]
mov dword [esp + 0x80], edx
xor edx, edx
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm2
movsd xmm1, qword [esp + 0x70]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x68]
cmp esi, 5
mov edi, dword [ebp + 0x14]
movsd qword [esp + 0x4c], xmm1
movsd xmm1, qword [esp + 0x78]
mov dword [esp + 0x5c], edx
movsd qword [esp + 0x44], xmm0
mov edx, dword [ebp + 0x10]
movsd qword [esp + 0x54], xmm1
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x40]
cmovae ecx, eax
mov eax, dword [ebp + 0x18]
cmp edx, eax
mov ebx, eax
cmova ebx, edx
cmovb eax, edx
mov edx, esi
mov esi, dword [ebp + 0xc]
cmovb esi, edi
cmovb edi, dword [ebp + 0xc]
cmp eax, 0x21
jae 0x10075c71
push ebx
push esi
push eax
push edi
call fcn.10070f20
add esp, 0x10
jmp 0x10075c92
cmp eax, 0x101
jae 0x10075c86
push ebx
push esi
push eax
push edi
call fcn.10071130
add esp, 0x10
jmp 0x10075c92
push ebx
push esi
push eax
push edi
call fcn.10071db0
add esp, 0x10
movsd xmm3, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x58]
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
lea esi, [esp + 0x10]
movsd qword [esp + 0x30], xmm3
movsd qword [esp + 0x28], xmm2
movsd xmm3, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x48]
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x20], xmm3
movsd qword [esp + 0x18], xmm2
mov edi, dword [esp + 0x10]
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esp + 0x30]
mov edx, esi
cmp eax, 5
mov ebx, eax
jb 0x10075d03
mov ebx, dword [esp + 0xc]
mov edx, edi
test ebx, ebx
je 0x10075d2b
mov ecx, dword [edx + ebx*8 - 8]
or ecx, dword [edx + ebx*8 - 4]
jne 0x10075d2b
cmp eax, 5
lea edx, [esp + 0x30]
jb 0x10075d22
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
test eax, eax
je 0x10075cf0
dec eax
mov dword [edx], eax
jmp 0x10075cf0
mov eax, dword [ebp + 8]
movsd xmm1, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x30]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [esp + 8]
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
test eax, eax
jne 0x10075bba
push dword [esp + 4]
push ebx
call fcn.1001a7e0
add esp, 8
ud2
call fcn.1001a7a0
ud2
call fcn.1001a7a0
ud2