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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov edi, edx
mov edx, dword [edx + 0x78]
mov esi, ecx
mov dword [esp + 0x24], ecx
test edx, edx
je 0x1002a15d
lea ecx, [esp + 0x68]
push dword [edi + 0x7c]
call fcn.10002dd0
add esp, 4
mov ebx, dword [esp + 0x6c]
movq xmm0, qword [esp + 0x70]
cmp dword [esp + 0x68], 0
je 0x1002a179
mov dword [esp + 4], ebx
movq qword [esp + 8], xmm0
jmp 0x1002a1e2
xor ebx, ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
jmp 0x1002a1e2
movd eax, xmm0
test eax, eax
mov dword [esp], eax
je 0x1002a1c1
js 0x1002a468
mov eax, dword [0x1036e078]
test eax, eax
jne 0x1002a1a1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1002a1b2
mov dword [0x1036e078], eax
push dword [esp]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x1002a1c6
mov ecx, dword [esp]
mov edx, 1
call fcn.10002c00
ud2
mov esi, 1
mov eax, dword [esp]
push eax
push ebx
mov ebx, eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x20]
cmp word [eax + 0x8e], 5
jae 0x1002a207
mov ecx, dword [esi + 0x24]
or ecx, edx
je 0x1002a231
dec edx
cmp edx, dword [eax + 0x70]
jb 0x1002a210
jmp 0x1002a324
cmp dword [eax + 0x70], edx
jbe 0x1002a324
shl edx, 4
add edx, dword [eax + 0x6c]
lea ecx, [esp + 0x10]
call fcn.10029750
mov eax, dword [esp + 0x10]
xor eax, 0x2e
or eax, dword [esp + 0x14]
jne 0x1002a256
jmp 0x1002a324
mov ecx, dword [eax]
test ecx, ecx
je 0x1002a324
mov eax, dword [eax + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
movq xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
mov dword [esp], ebx
movsd qword [esp + 0x88], xmm1
movq qword [esp + 0x80], xmm0
movzx eax, byte [edi + 0x59]
mov edx, dword [ebp + 0x10]
lea ebx, [esp + 0x80]
lea ecx, [esp + 0x38]
push ebx
push dword [edi + 0x138]
push eax
call fcn.10025ec0
add esp, 0xc
movzx eax, byte [esp + 0x38]
cmp al, 0x4b
jne 0x1002a436
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
push dword [esp + 0x40]
call fcn.10002dd0
add esp, 4
movq xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movq qword [esp + 0x28], xmm0
movsd qword [esp + 0x30], xmm1
movq qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm1
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
test ebx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp], eax
je 0x1002a2fc
mov eax, dword [esp + 0x34]
mov edx, dword [esp]
lea ecx, [esp + 4]
push eax
call fcn.10002890
add esp, 4
test ebx, ebx
je 0x1002a324
cmp dword [esp + 0x4c], 0
je 0x1002a324
push dword [esp]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
add esi, 0x10
lea ebx, [esp + 0x38]
mov edx, esi
mov ecx, ebx
call fcn.10029750
movzx eax, byte [edi + 0x59]
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x28]
push ebx
push dword [edi + 0x138]
push eax
call fcn.10025ec0
add esp, 0xc
movzx eax, byte [esp + 0x28]
cmp al, 0x4b
jne 0x1002a3ec
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push dword [esp + 0x30]
call fcn.10002dd0
add esp, 4
movq xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movq qword [esp + 0x10], xmm0
movsd qword [esp + 0x18], xmm1
movq qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm1
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ebx, ebx
mov edx, edi
mov eax, esi
je 0x1002a3ae
mov eax, dword [esp + 0x1c]
mov edx, esi
lea ecx, [esp + 4]
push eax
call fcn.10002890
add esp, 4
test ebx, ebx
je 0x1002a3d1
test edi, edi
je 0x1002a3d1
push esi
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
movsd xmm0, qword [esp + 4]
mov dword [ecx + 0xc], eax
movsd qword [ecx + 4], xmm0
mov byte [ecx], 0x4b
jmp 0x1002a42e
movzx edx, byte [esp + 0x2b]
mov esi, dword [esp + 0x24]
movzx edi, word [esp + 0x29]
mov ecx, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x30]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], al
mov eax, dword [esp + 4]
mov dword [esi + 4], ecx
movsd qword [esi + 8], xmm0
test eax, eax
je 0x1002a42e
push dword [esp + 8]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [esp + 0x3b]
mov esi, dword [esp + 0x24]
movzx edi, word [esp + 0x39]
mov ecx, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x40]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], al
mov eax, dword [esp]
mov dword [esi + 4], ecx
movsd qword [esi + 8], xmm0
test eax, eax
jne 0x1002a41d
jmp 0x1002a42e
call fcn.10002bc0
ud2