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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], esp
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xb4], 0x10016830
mov ecx, dword [ebp + 0x10]
cmp byte [ebp + 0x14], 0
lea edx, [esi + 0xb0]
mov eax, dword fs:[0]
mov dword [esi + 0xb0], eax
mov dword fs:[0], edx
je 0x1001647b
mov dword [esi + 0xb8], 0
push ecx
call fcn.101a9260
add esp, 4
lea ecx, [esi + 0x30]
push edx
push eax
push ecx
call fcn.101a0930
add esp, 0xc
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, eax
xor edx, 2
or edx, ecx
jne 0x100164fb
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov ebx, dword [edx + 8]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], eax
test ebx, ebx
je 0x1001661e
mov dword [esi + 8], ecx
js 0x10016696
movzx eax, byte [0x10283b09]
push 1
push ebx
call fcn.10013860
add esp, 8
test eax, eax
jne 0x100164f1
mov eax, 1
jmp 0x10016698
mov dword [esi + 0xb8], 0
push ecx
call fcn.101a9260
add esp, 4
lea ecx, [esi + 0x30]
push edx
push eax
push ecx
call fcn.101a0be0
add esp, 0xc
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, eax
xor edx, 2
or edx, ecx
jne 0x100164fb
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov ebx, dword [edx + 8]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], eax
test ebx, ebx
je 0x1001661e
mov dword [esi + 8], ecx
js 0x100166ae
movzx eax, byte [0x10283b09]
push 1
push ebx
call fcn.10013860
add esp, 8
test eax, eax
je 0x100166b2
mov ecx, dword [esi + 8]
mov edi, eax
jmp 0x10016623
mov edx, dword [esi + 0x38]
mov ebx, dword [ebp + 0x10]
movsd xmm0, qword [esi + 0x51]
mov edi, dword [esi + 0x5c]
mov dword [esi + 0x10], edx
mov edx, dword [esi + 0x3c]
movsd xmm1, qword [ebx]
movsd xmm2, qword [ebx + 8]
mov ebx, dword [ebp + 8]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [esi + 0x60]
mov dword [esi + 0x18], edi
mov edi, dword [esi + 0x7c]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x40]
movsd qword [ebx + 0x60], xmm2
movsd qword [ebx + 0x58], xmm1
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 4], ecx
movsd qword [esi + 0x88], xmm0
movsd xmm0, qword [esi + 0x68]
movzx ecx, byte [ebp + 0x14]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x58]
mov dword [ebx + 8], eax
movsd qword [esi + 0x90], xmm0
movsd xmm0, qword [esi + 0x70]
mov eax, dword [esi + 8]
movsd xmm2, qword [esi + 0x90]
mov dword [esi + 0x27], edx
mov edx, dword [esi + 0x78]
movsd qword [esi + 0x98], xmm0
movsd xmm0, qword [esi + 0x80]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0xc]
movsd xmm1, qword [esi + 0x20]
mov dword [esi + 0xa0], edx
mov edx, dword [esi + 0x44]
mov dword [ebx + 0xc], eax
mov dword [esi + 0x1c], edx
movzx edx, byte [esi + 0x50]
mov eax, dword [esi + 0x1c]
mov byte [esi + 7], dl
mov edx, dword [esi + 0x48]
mov dword [ebx + 0x14], eax
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x18], eax
movzx eax, byte [esi + 7]
mov dword [ebx + 0x1c], edx
mov edx, dword [ebp + 0xc]
mov byte [ebx + 0x20], al
mov eax, dword [esi + 0x27]
movsd qword [ebx + 0x21], xmm1
movsd xmm1, qword [esi + 0x88]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0xa0]
movsd qword [ebx + 0x30], xmm1
movsd xmm1, qword [esi + 0x98]
movsd qword [ebx + 0x38], xmm2
mov dword [ebx + 0x48], eax
movsd qword [ebx + 0x40], xmm1
mov dword [ebx + 0x4c], edi
movlps qword [ebx + 0x50], xmm0
mov dword [ebx + 0x68], edi
movss dword [ebx + 0x6c], xmm0
mov dword [ebx + 0x70], edx
mov byte [ebx + 0x74], cl
jmp 0x10016680
mov edi, 1
push ebx
push ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ebx
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], ebx
movzx eax, byte [ecx + 0xc]
mov ebx, edx
mov dword [edx + 8], 0
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edi
mov byte [ebx + 0x20], al
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ecx]
mov dword [ebx + 4], 0
mov dword [ebx], 2
test eax, eax
je 0x10016680
push 1
push eax
push dword [ecx + 4]
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [esi + 0xb8], 1
push ebx
push eax
call fcn.101cb650
add esp, 8
jmp 0x100166cb
xor eax, eax
jmp 0x100166b7
mov eax, 1
mov dword [esi + 0xb8], 2
push ebx
push eax
call fcn.101cb650
add esp, 8
ud2