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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, edx
mov edi, ecx
mov edx, dword [edx + 0x50]
movzx eax, byte [esi + 0x95]
mov ecx, dword [esi + 0x5c]
movsd xmm0, qword [esi + 0x84]
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x24], edx
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x8c]
test ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
je 0x1001d96d
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x1001dcfa
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 0x14], ebx
js 0x1001dd01
mov dword [esp + 0x10], edx
je 0x1001d976
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
je 0x1001d97e
mov ebx, dword [esp + 0x14]
jmp 0x1001d994
mov eax, 2
xor ebx, ebx
jmp 0x1001d9a5
mov ebx, dword [esp + 0x14]
mov eax, edx
jmp 0x1001d99d
call sub.KERNEL32.dll_GetProcessHeap
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x1001dce6
mov dword [0x104f8080], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1001dce6
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x24], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x60]
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x1001da41
xor eax, eax
cmp ecx, 0x8000000
setb byte [esp + 8]
jae 0x1001dd08
movzx ebx, byte [esp + 8]
mov edx, ecx
shl edx, 4
mov al, bl
shl eax, 3
test edx, edx
js 0x1001dd08
mov dword [esp + 8], eax
je 0x1001da4a
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x1001da27
mov dword [esp + 4], edx
call sub.KERNEL32.dll_GetProcessHeap
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x1001dcf3
mov dword [0x104f8080], eax
push edx
push 0
push eax
mov ebx, edx
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [esp + 8]
mov edx, ebx
test eax, eax
jne 0x1001da58
jmp 0x1001dcf3
mov eax, 8
xor edx, edx
jmp 0x1001da58
mov ecx, dword [esp + 8]
mov eax, ecx
test eax, eax
je 0x1001dcf3
push edx
push dword [esp + 0x14]
mov dword [esp + 0x18], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x6c]
test ecx, ecx
mov dword [esp + 8], ecx
je 0x1001daf4
mov dword [esp], edx
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x1001dd0f
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 4], ebx
js 0x1001dd0f
mov dword [esp + 0x18], edx
je 0x1001dcb6
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x1001dad3
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x1001dcc7
mov dword [0x104f8080], eax
push dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edx, dword [esp]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x1001dcc7
mov ecx, dword [esp + 4]
jmp 0x1001dafb
mov eax, 2
xor ecx, ecx
push ecx
push edx
mov dword [esp + 0xc], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x78]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x1001db92
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, 0x2492493
setb bl
jae 0x1001dd16
mov al, bl
imul edx, ecx, 0x38
shl eax, 3
test edx, edx
js 0x1001dd16
mov dword [esp], eax
je 0x1001dcd2
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x1001db72
mov ebx, edx
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp]
mov edx, ebx
test eax, eax
je 0x1001dcdf
mov dword [0x104f8080], eax
push edx
push 0
push eax
mov ebx, edx
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [esp]
mov edx, ebx
mov ebx, eax
test ebx, ebx
je 0x1001dcdf
mov eax, dword [esp + 0x20]
jmp 0x1001db99
mov ebx, 8
xor edx, edx
push edx
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x48]
xor eax, 0x2e
mov dword [esp], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], edx
or eax, dword [esi + 4]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x1001dbd2
movaps xmm1, xmmword [0x100441c0]
jmp 0x1001dbf0
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.10021780
movups xmm2, xmmword [esi + 0x10]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
movups xmm0, xmmword [esi + 0x28]
movups xmm1, xmmword [esp + 0x58]
mov edx, dword [esp + 0x24]
movaps xmm3, xmmword [esp + 0x40]
mov dword [edi + 0x50], edx
mov edx, dword [esp + 0x34]
movlps qword [edi + 0x84], xmm3
mov dword [edi + 0x8c], edx
mov edx, dword [esi + 0x90]
mov dword [edi + 0x90], edx
movzx edx, byte [esi + 0x94]
mov esi, dword [esp + 0x18]
mov byte [edi + 0x94], dl
movzx edx, byte [esp + 0xf]
mov byte [edi + 0x95], dl
mov edx, dword [esp + 0x38]
mov dword [edi + 0x38], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x3c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [edi + 0x58], edx
mov dword [edi + 0x5c], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x60], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0x64], edx
mov dword [edi + 0x68], edx
mov edx, dword [esp + 4]
mov dword [edi + 0x6c], edx
mov edx, dword [esp + 8]
mov dword [edi + 0x70], edx
mov dword [edi + 0x74], edx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov ebx, dword [esp]
mov esi, dword [esp + 0x20]
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], esi
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], esi
movups xmmword [edi], xmm1
movups xmmword [edi + 0x10], xmm2
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
movups xmmword [edi + 0x28], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp]
mov eax, ecx
test eax, eax
jne 0x1001daee
mov edx, dword [esp + 4]
call fcn.10002cd0
jmp 0x1001dd1b
mov ecx, dword [esp]
mov ebx, ecx
test ebx, ebx
jne 0x1001db8c
call fcn.10002cd0
jmp 0x1001dd1b
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.10002cd0
ud2
call fcn.10002cd0
jmp 0x1001dd1b
call fcn.10002c90
ud2
call fcn.10002c90
ud2
call fcn.10002c90
jmp 0x1001dd1b
call fcn.10002c90
jmp 0x1001dd1b
call fcn.10002c90
ud2