Function at 0x10102a50
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, edx
mov esi, ecx
call sub.KERNEL32.dll_GetProcessHeap
push 0x20
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10102cf2
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov byte [eax + 0x1c], 0
mov edi, eax
mov dword [esp + 0x3c], ebx
movzx eax, word [esp + 0x60]
mov word [edi + 0x1d], ax
mov al, byte [esp + 0x62]
mov byte [edi + 0x1f], al
lock inc dword [edi]
jle 0x10102cee
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10102d00
mov dword [eax], 1
mov dword [eax + 4], 1
mov ebx, eax
mov dword [eax + 8], edi
call sub.KERNEL32.dll_GetProcessHeap
push 0x20
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [esp + 0x38], eax
je 0x10102cf2
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
call sub.KERNEL32.dll_GetProcessHeap
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10102cf9
mov dword [eax], 0
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x52]
mov byte [esp + 0x16], al
movzx eax, word [esp + 0x50]
mov word [esp + 0x14], ax
call sub.KERNEL32.dll_GetProcessHeap
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10102cf9
lea edx, [esi + 0xc]
lea ecx, [esp + 0x70]
mov dword [esp + 0x34], eax
mov dword [eax], 0
call fcn.10006ef0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x10102b88
lock inc dword [eax]
jle 0x10102cee
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x24], eax
jmp 0x10102b90
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
test eax, eax
je 0x10102bb1
lock inc dword [eax]
jle 0x10102cee
mov esi, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
jmp 0x10102bb1
mov al, byte [esp + 0x23]
movaps xmm0, xmmword [esp + 0x60]
mov byte [esp + 0x12], al
movzx eax, word [esp + 0x21]
movaps xmmword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0x70]
mov word [esp + 0x10], ax
movzx eax, word [esp + 0x14]
movsd qword [esp + 0x40], xmm0
mov word [esp + 0xc], ax
mov al, byte [esp + 0x16]
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x48], eax
call sub.KERNEL32.dll_GetProcessHeap
push 0x78
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10102d07
mov ecx, dword [esp + 0x30]
mov dword [eax], 1
mov dword [eax + 4], 1
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
movzx ecx, word [esp + 0x10]
mov word [eax + 0xd], cx
mov cl, byte [esp + 0x12]
mov byte [eax + 0xf], cl
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], 8
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], 4
mov ebx, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
movsd qword [eax + 0x34], xmm0
movsd qword [eax + 0x3c], xmm1
mov byte [eax + 0x44], 0
mov cl, byte [esp + 0xe]
mov byte [eax + 0x47], cl
movzx ecx, word [esp + 0xc]
mov word [eax + 0x45], cx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x40]
movsd qword [eax + 0x50], xmm0
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x64], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + 0x68], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x70], esi
mov dword [eax + 0x74], edx
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, 0x20
jmp 0x10102d0c
mov ecx, 4
jmp 0x10102d0c
mov ecx, 0xc
jmp 0x10102d0c
mov ecx, 0x78
mov edx, 4
call fcn.100067d0
ud2