Function at 0x1001d8a0
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 0x1001d93d
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x1001dcca
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 0x14], ebx
js 0x1001dcd1
mov dword [esp + 0x10], edx
je 0x1001d946
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
je 0x1001d94e
mov ebx, dword [esp + 0x14]
jmp 0x1001d964
mov eax, 2
xor ebx, ebx
jmp 0x1001d975
mov ebx, dword [esp + 0x14]
mov eax, edx
jmp 0x1001d96d
call sub.KERNEL32.dll_GetProcessHeap
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x1001dcb6
mov dword [0x104ff078], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1001dcb6
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 0x1001da11
xor eax, eax
cmp ecx, 0x8000000
setb byte [esp + 8]
jae 0x1001dcd8
movzx ebx, byte [esp + 8]
mov edx, ecx
shl edx, 4
mov al, bl
shl eax, 3
test edx, edx
js 0x1001dcd8
mov dword [esp + 8], eax
je 0x1001da1a
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x1001d9f7
mov dword [esp + 4], edx
call sub.KERNEL32.dll_GetProcessHeap
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x1001dcc3
mov dword [0x104ff078], 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 0x1001da28
jmp 0x1001dcc3
mov eax, 8
xor edx, edx
jmp 0x1001da28
mov ecx, dword [esp + 8]
mov eax, ecx
test eax, eax
je 0x1001dcc3
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 0x1001dac4
mov dword [esp], edx
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x1001dcdf
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 4], ebx
js 0x1001dcdf
mov dword [esp + 0x18], edx
je 0x1001dc86
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x1001daa3
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x1001dc97
mov dword [0x104ff078], 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 0x1001dc97
mov ecx, dword [esp + 4]
jmp 0x1001dacb
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 0x1001db62
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, 0x2492493
setb bl
jae 0x1001dce6
mov al, bl
imul edx, ecx, 0x38
shl eax, 3
test edx, edx
js 0x1001dce6
mov dword [esp], eax
je 0x1001dca2
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x1001db42
mov ebx, edx
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp]
mov edx, ebx
test eax, eax
je 0x1001dcaf
mov dword [0x104ff078], 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 0x1001dcaf
mov eax, dword [esp + 0x20]
jmp 0x1001db69
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 0x1001dba2
movaps xmm1, xmmword [0x100441c0]
jmp 0x1001dbc0
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.10021750
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 0x1001dabe
mov edx, dword [esp + 4]
call fcn.10002ca0
jmp 0x1001dceb
mov ecx, dword [esp]
mov ebx, ecx
test ebx, ebx
jne 0x1001db5c
call fcn.10002ca0
jmp 0x1001dceb
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.10002ca0
ud2
call fcn.10002ca0
jmp 0x1001dceb
call fcn.10002c60
ud2
call fcn.10002c60
ud2
call fcn.10002c60
jmp 0x1001dceb
call fcn.10002c60
jmp 0x1001dceb
call fcn.10002c60
ud2