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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x94], 0x10016cc0
mov edi, dword [ebp + 0x10]
lea eax, [esi + 0x90]
mov ecx, dword fs:[0]
mov dword [esi + 0x90], ecx
mov dword fs:[0], eax
lea eax, [esi + 8]
push edi
push eax
call fcn.10196d20
add esp, 8
mov dword [esi + 0x98], 0
lea eax, [esi + 0x30]
push edi
push eax
call fcn.10196ee0
add esp, 8
test byte [esi + 0x30], 1
je 0x10016550
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
test ebx, ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
js 0x10016714
mov dword [esi], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 0x20], ecx
je 0x10016669
movzx eax, byte [0x10284b09]
push 1
push ebx
call fcn.10013450
add esp, 8
test eax, eax
je 0x10016718
mov edi, eax
jmp 0x1001666e
movsd xmm0, qword [esi + 0x34]
movaps xmmword [esi + 0x20], xmm0
push dword [ebp + 0x10]
lea eax, [esi + 0x30]
push eax
call fcn.10196e80
add esp, 8
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, eax
xor edx, 2
or edx, ecx
jne 0x100165c0
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
test ebx, ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
js 0x10016733
mov dword [esi], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 0x20], ecx
je 0x1001669d
movzx eax, byte [0x10284b09]
push 1
push ebx
call fcn.10013450
add esp, 8
test eax, eax
je 0x10016737
mov edi, eax
jmp 0x100166a2
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x58]
movsd xmm0, qword [esi + 0x51]
movsd xmm1, qword [esi + 0x10]
movzx ebx, byte [esi + 0x50]
mov dword [edi + 0x28], edx
movsd qword [edi + 0x21], xmm0
movsd xmm0, qword [esi + 0x60]
mov edx, dword [esi + 0x44]
movsd qword [edi + 0x30], xmm0
movsd xmm0, qword [esi + 0x68]
movsd qword [edi + 0x38], xmm0
movsd xmm0, qword [esi + 0x70]
movsd qword [edi + 0x40], xmm0
movsd xmm0, qword [esi + 0x78]
movsd qword [edi + 0x48], xmm0
movsd xmm0, qword [esi + 0x80]
movsd qword [edi + 0x50], xmm0
mov dword [edi + 0x14], edx
mov edx, dword [esi + 0x48]
movsd xmm0, qword [esi + 8]
mov dword [edi + 0x18], edx
mov edx, dword [esi + 0x4c]
mov dword [edi + 0x1c], edx
movsd qword [edi + 0x58], xmm0
movsd qword [edi + 0x60], xmm1
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x38]
mov dword [edi], eax
mov edx, dword [esi + 0x40]
movaps xmm0, xmmword [esi + 0x20]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x10], edx
mov edx, dword [esi + 0x5c]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov byte [edi + 0x20], bl
mov dword [edi + 0x2c], edx
movlps qword [edi + 0x68], xmm0
mov dword [edi + 0x70], ecx
mov byte [edi + 0x74], 0
jmp 0x100166fe
mov edi, 1
push ebx
push dword [esi + 0x20]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov edi, eax
mov dword [eax + 0x1c], ebx
mov dword [eax + 8], 0
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
jmp 0x100166cf
mov edi, 1
push ebx
push dword [esi + 0x20]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov edi, eax
mov dword [eax + 0x1c], ebx
mov dword [eax + 8], 0
mov dword [edi + 0x10], edx
mov dword [edi + 0xc], ecx
movzx eax, byte [esi + 0x14]
mov byte [edi + 0x20], al
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [edi + 4], 0
mov dword [edi], 2
test eax, eax
je 0x100166fe
push 1
push eax
push dword [esi + 0x20]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1001671d
mov eax, 1
mov dword [esi + 0x98], 2
push ebx
push eax
call fcn.101cc311
add esp, 8
jmp 0x10016750
xor eax, eax
jmp 0x1001673c
mov eax, 1
mov dword [esi + 0x98], 1
push ebx
push eax
call fcn.101cc311
add esp, 8
ud2