Function at 0x1013eef0
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 ebx, edx
mov edi, ecx
mov edx, dword [edx + 0x50]
movzx eax, byte [ebx + 0x95]
mov ecx, dword [ebx + 0x5c]
movsd xmm0, qword [ebx + 0x84]
mov esi, dword [ebx + 0x54]
mov dword [esp + 0x24], edx
mov byte [esp + 0xf], al
mov eax, dword [ebx + 0x8c]
test ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], ecx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x3c], eax
je 0x1013ef8e
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x1013f322
mov dl, al
lea esi, [ecx*4]
add edx, edx
test esi, esi
mov dword [esp + 4], esi
js 0x1013f329
mov dword [esp + 8], edx
je 0x1013ef97
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1038a110]
test eax, eax
je 0x1013ef9f
mov esi, dword [esp + 4]
jmp 0x1013efb5
mov eax, 2
xor esi, esi
jmp 0x1013efc6
mov esi, dword [esp + 4]
mov eax, edx
jmp 0x1013efbe
call sub.KERNEL32.dll_GetProcessHeap
mov esi, dword [esp + 4]
test eax, eax
je 0x1013f304
mov dword [0x1038a110], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1013f304
push esi
push dword [esp + 0x20]
mov dword [esp + 0x24], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebx + 0x68]
mov edx, dword [ebx + 0x60]
test esi, esi
je 0x1013f054
mov dword [esp + 4], edx
xor edx, edx
cmp esi, 0x8000000
setb al
jae 0x1013f330
mov ecx, esi
mov dl, al
shl ecx, 4
shl edx, 3
test ecx, ecx
js 0x1013f330
mov dword [esp + 0x18], edx
je 0x1013f05d
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1038a110]
mov dword [esp + 8], ecx
test eax, eax
jne 0x1013f03a
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 8]
test eax, eax
je 0x1013f313
mov dword [0x1038a110], eax
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
jne 0x1013f06d
jmp 0x1013f313
mov eax, 8
xor ecx, ecx
jmp 0x1013f06d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 4]
test eax, eax
je 0x1013f313
mov dword [esp + 4], esi
push ecx
push edx
mov dword [esp + 0x10], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x1013f10b
mov dword [esp], edx
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x1013f337
mov dl, al
lea esi, [ecx*4]
add edx, edx
test esi, esi
mov dword [esp + 0x10], esi
js 0x1013f337
mov dword [esp + 0x14], edx
je 0x1013f2cb
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1038a110]
test eax, eax
jne 0x1013f0ea
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1013f2dc
mov dword [0x1038a110], eax
push dword [esp + 0x10]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edx, dword [esp]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1013f2dc
mov ecx, dword [esp + 0x10]
jmp 0x1013f112
mov eax, 2
xor ecx, ecx
push ecx
push edx
mov dword [esp + 0x18], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x78]
test edx, edx
mov dword [esp + 0x14], edx
je 0x1013f1a5
xor eax, eax
cmp edx, 0x2492493
mov dword [esp + 0x20], ecx
setb byte [esp]
jae 0x1013f33e
movzx ecx, byte [esp]
imul esi, edx, 0x38
mov al, cl
shl eax, 3
test esi, esi
js 0x1013f33e
mov dword [esp], eax
je 0x1013f2eb
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1038a110]
test eax, eax
jne 0x1013f18b
call sub.KERNEL32.dll_GetProcessHeap
mov edx, dword [esp]
test eax, eax
je 0x1013f2f8
mov dword [0x1038a110], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edx, dword [esp]
test eax, eax
je 0x1013f2f8
mov ecx, dword [esp + 0x20]
jmp 0x1013f1ac
mov eax, 8
xor esi, esi
push esi
push ecx
mov esi, eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x48]
xor eax, 0x2e
mov dword [esp], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x30], edx
or eax, dword [ebx + 4]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x1013f1e7
movaps xmm1, xmmword [0x10349570]
jmp 0x1013f205
lea ecx, [esp + 0x58]
mov edx, ebx
call fcn.1013eae0
movups xmm2, xmmword [ebx + 0x10]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
movups xmm0, xmmword [ebx + 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 [ebx + 0x90]
mov dword [edi + 0x90], edx
movzx edx, byte [ebx + 0x94]
mov ebx, 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 + 8]
mov dword [edi + 0x60], edx
mov edx, dword [esp + 4]
mov dword [edi + 0x64], edx
mov dword [edi + 0x68], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x6c], edx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esp]
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov esi, dword [esp + 0x20]
mov dword [edi + 0x40], ebx
mov ebx, dword [esp + 0x30]
mov dword [edi + 0x44], esi
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 + 0x14]
mov edx, dword [esp]
mov eax, ecx
test eax, eax
jne 0x1013f105
push dword [esp + 0x10]
push ecx
call fcn.1001a7e0
add esp, 8
jmp 0x1013f343
mov edx, dword [esp]
mov eax, edx
test eax, eax
jne 0x1013f19f
push esi
push edx
call fcn.1001a7e0
add esp, 8
jmp 0x1013f343
push esi
push dword [esp + 0xc]
call fcn.1001a7e0
add esp, 8
ud2
push ecx
push dword [esp + 0x1c]
call fcn.1001a7e0
add esp, 8
jmp 0x1013f343
call fcn.1001a7a0
ud2
call fcn.1001a7a0
ud2
call fcn.1001a7a0
jmp 0x1013f343
call fcn.1001a7a0
jmp 0x1013f343
call fcn.1001a7a0
ud2