Function at 0x10016060
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], 0x10016820
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.101941a0
add esp, 8
mov dword [esi + 0x98], 0
lea eax, [esi + 0x30]
push edi
push eax
call fcn.10194360
add esp, 8
test byte [esi + 0x30], 1
je 0x10016120
mov ecx, dword [esi + 0x38]
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x34]
mov dword [esi], ecx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0xc]
test ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ecx
je 0x10016239
js 0x100162e4
movzx eax, byte [0x10283b09]
push 1
push ebx
call fcn.10013860
add esp, 8
test eax, eax
je 0x100162e8
mov edi, eax
jmp 0x1001623e
movsd xmm0, qword [esi + 0x34]
movaps xmmword [esi + 0x20], xmm0
push dword [ebp + 0x10]
lea eax, [esi + 0x30]
push eax
call fcn.10194300
add esp, 8
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, eax
xor edx, 2
or edx, ecx
jne 0x10016190
mov ecx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x38]
mov dword [esi], ecx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0xc]
test ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ecx
je 0x1001626d
js 0x10016303
movzx eax, byte [0x10283b09]
push 1
push ebx
call fcn.10013860
add esp, 8
test eax, eax
je 0x10016307
mov edi, eax
jmp 0x10016272
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 0x100162ce
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 0x1001629f
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 0x100162ce
push 1
push eax
push dword [esi + 0x20]
call fcn.10013870
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 0x100162ed
mov eax, 1
mov dword [esi + 0x98], 2
push ebx
push eax
call fcn.101cb650
add esp, 8
jmp 0x10016320
xor eax, eax
jmp 0x1001630c
mov eax, 1
mov dword [esi + 0x98], 1
push ebx
push eax
call fcn.101cb650
add esp, 8
ud2