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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x730
mov esi, esp
mov dword [esi + 0x718], ebp
mov dword [esi + 0x71c], esp
mov dword [esi + 0x728], 0xffffffff
mov dword [esi + 0x724], 0x10015ab0
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x720]
mov ecx, dword fs:[0]
mov dword [esi + 0x720], ecx
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x10], 0x80000000
mov ecx, eax
neg ecx
jno 0x10013c07
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10013e7d
nop dword [eax]
mov dword [ebx + 0x60], eax
cmp byte [ebx + 0x36], 0
je 0x10013930
mov edx, dword [ebx + 0x58]
cmp eax, edx
jae 0x10013930
dec edx
mov dword [ebx + 0x58], edx
imul edx, edx, 0x78
mov ecx, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x54]
setb bl
cmp eax, ecx
seta bh
or bh, bl
cmp bh, 1
mov ebx, dword [edi + edx + 0x58]
mov dword [esi + 0xc], ebx
mov ebx, dword [edi + edx + 0x5c]
mov dword [esi + 8], ebx
jne 0x1001395b
mov ecx, dword [esi + 0xc]
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x10013930
push 1
push ecx
push dword [esi + 8]
call fcn.10013460
add esp, 0xc
mov eax, dword [ebx + 0x60]
nop dword [eax + eax]
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x10013971
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x728], 0xffffffff
mov ecx, ebx
call fcn.10015830
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x100138d0
jmp 0x10013e7d
add edi, edx
mov edx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esi + 0x10], edx
xor edx, 2
or edx, ebx
je 0x10013933
jmp 0x10013f10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10014039
mov ecx, dword [ebx + 0x3c]
imul edx, eax, 0x260
lea eax, [edx + ecx - 0x260]
mov ecx, dword [edx + ecx - 0x260]
cmp ecx, 3
jne 0x100139ed
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0x10]
je 0x1001393a
lea edx, [ecx + 0x78]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx + 0x14]
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x14], eax
movsd xmm0, qword [ecx + 0x1c]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [ecx + 0x24]
movsd qword [esi + 0x30], xmm0
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x38], eax
movsd xmm0, qword [ecx + 0xc]
add ecx, 0x30
movsd qword [esi + 0x18], xmm0
push 0x48
push ecx
jmp 0x10013b40
cmp ecx, 2
jne 0x10013a0a
mov edi, dword [eax + 4]
mov dword [eax + 4], 2
cmp edi, 2
je 0x1001393a
jmp 0x10013fae
mov edi, dword [eax + 0x25c]
mov dword [esi + 0x728], 0xffffffff
push eax
lea eax, [esi + 0x178]
push eax
call fcn.10196c80
add esp, 8
test byte [esi + 0x178], 1
je 0x10013acf
mov edx, dword [esi + 0x17c]
mov ecx, dword [esi + 0x180]
mov eax, dword [esi + 0x184]
test edx, edx
je 0x10013ae4
mov dword [esi + 0x44c], edx
mov dword [esi + 0x450], ecx
mov dword [esi + 0x454], eax
push 0x248
lea eax, [esi + 0x188]
push eax
lea eax, [esi + 0x458]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x44c]
inc edi
mov dword [esi + 0x728], 2
push eax
push edi
lea eax, [esi + 0x40]
push eax
call fcn.10016490
add esp, 0xc
mov eax, dword [esi + 0x44c]
lock dec dword [eax]
jne 0x10013ac1
lea eax, [esi + 0x44c]
mov dword [esi + 0x728], 0xffffffff
push eax
call fcn.10007150
add esp, 4
mov eax, dword [esi + 0x48]
mov ebx, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
mov dword [esi + 0x14], eax
jmp 0x10013b0a
xor edi, edi
mov ebx, 3
mov eax, ebx
xor eax, 3
or eax, edi
jne 0x10013b5c
jmp 0x10013937
inc edi
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x80000000
mov dword [esi + 0x14], 0
mov ebx, 2
mov dword [esi + 0x6c], edi
xor edi, edi
lea ecx, [esi + 0x4c]
movsd xmm1, qword [ecx + 0x10]
mov eax, dword [ecx + 0x20]
movsd xmm0, qword [ecx + 0x18]
movsd xmm2, qword [ecx]
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [ecx + 8]
mov dword [esi + 0x38], eax
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x18], xmm2
movsd qword [esi + 0x20], xmm1
push 0x48
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0xb8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
xor eax, 3
or eax, edi
je 0x10013937
mov eax, ebx
xor eax, 2
or eax, edi
mov eax, dword [esi + 0x14]
je 0x10013faa
movsd xmm1, qword [esi + 0x28]
lea ecx, [esi + 0x10c]
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x38]
movsd xmm0, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x18]
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [esi + 0x20]
mov dword [ecx + 0x20], eax
movsd qword [ecx + 0x18], xmm0
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
push 0x48
lea eax, [esi + 0xb8]
push eax
lea eax, [esi + 0x130]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x100]
mov dword [esi + 0x728], 0xffffffff
lea ecx, [esi + 0x178]
mov edx, ebx
push eax
call fcn.10014120
add esp, 4
mov eax, dword [esi + 0x178]
xor eax, 3
or eax, dword [esi + 0x17c]
je 0x1001394b
jmp 0x10013ebb
cmp byte [ebx + 0x37], 0
mov ecx, dword [ebx + 0x1c]
movsd xmm0, qword [ebx + 0x14]
mov dword [esi + 0x44c], eax
mov dword [esi + 0x458], ecx
movsd qword [esi + 0x450], xmm0
je 0x10013dca
lea eax, [esi + 0x44c]
xorps xmm0, xmm0
mov dword [esi + 0x178], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 7
mov byte [esi + 7], 1
mov dword [esi + 0x728], 0
movsd qword [esi + 0x192], xmm0
movsd qword [esi + 0x18c], xmm0
mov byte [esi + 0x194], 1
mov dword [esi + 0x180], 0x2000000
push eax
call fcn.101ab400
add esp, 4
mov byte [esi + 7], 1
lea ecx, [esi + 0x178]
lea edi, [esi + 0x40]
push edx
push eax
push ecx
push edi
call fcn.10196c40
add esp, 0x10
movzx eax, byte [esi + 0x40]
cmp eax, 4
jne 0x10013ce1
mov edx, dword [esi + 0x44]
lea ecx, [esi + 0x178]
mov byte [esi + 7], 1
call fcn.10015af0
test byte [esi + 0x178], 1
je 0x10013daa
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x180]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
jmp 0x10013cfc
movzx edx, byte [esi + 0x43]
movzx ecx, word [esi + 0x41]
mov edi, dword [esi + 0x44]
shl ecx, 8
shl edx, 0x18
mov dword [esi + 8], edi
or edx, ecx
or edx, eax
mov dword [esi + 0xc], edx
mov ebx, dword [esi + 0x454]
test ebx, ebx
js 0x10014054
mov eax, dword [esi + 0x450]
je 0x10013d36
mov dword [esi + 0x10], eax
movzx eax, byte [0x10284b09]
push 1
push ebx
call fcn.10013450
add esp, 8
test eax, eax
je 0x10014058
mov edi, eax
mov eax, dword [esi + 0x10]
jmp 0x10013d3b
mov edi, 1
push ebx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], 0
mov dword [eax], 2
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ecx
movzx ecx, byte [esi + 0x458]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
mov byte [eax + 0x20], cl
mov ecx, dword [esi + 0x44c]
mov dword [eax + 0x2c], 0
test ecx, ecx
je 0x10013efb
push 1
push ecx
push dword [esi + 0x450]
call fcn.10013460
mov eax, dword [ebp + 8]
add esp, 0xc
jmp 0x10013efb
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x198]
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
movsd xmm0, qword [esi + 0x44c]
movsd xmm1, qword [esi + 0x454]
mov byte [esi + 7], 0
mov dword [esi + 0x728], 0
lea eax, [esi + 0x178]
lea ecx, [esi + 0x3d0]
movsd qword [esi + 0x180], xmm1
movsd qword [esi + 0x178], xmm0
push 0
push eax
push 0
push ecx
call fcn.100167d0
add esp, 0x10
mov eax, dword [esi + 0x3d0]
xor eax, 2
or eax, dword [esi + 0x3d4]
jne 0x10013e30
push 0x78
lea eax, [esi + 0x3d0]
jmp 0x10013ec3
lea edi, [esi + 0x6a0]
push 0x78
lea eax, [esi + 0x3d0]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov byte [esi + 7], 0
lea ecx, [esi + 0x178]
push edi
call fcn.10014120
add esp, 4
mov eax, dword [esi + 0x178]
xor eax, 3
or eax, dword [esi + 0x17c]
jne 0x10013ebb
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x100138cc
cmp byte [ebx + 0x36], 0
je 0x10013eeb
mov dword [ebx + 0x60], 0
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x10013eeb
dec ecx
mov dword [ebx + 0x58], ecx
imul ecx, ecx, 0x78
mov eax, dword [ebx + 0x54]
cmp dword [ebx + 0x2c], 0
mov edi, dword [eax + ecx + 0x58]
mov edx, dword [eax + ecx + 0x5c]
je 0x10013ed4
test edi, edi
je 0x10013eeb
push 1
push edi
push edx
call fcn.10013460
add esp, 0xc
jmp 0x10013eeb
push 0x78
lea eax, [esi + 0x178]
push eax
mov edi, dword [ebp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, edi
add esp, 0xc
jmp 0x10013efb
mov dword [esi + 0x10], edx
mov edx, dword [eax + ecx]
mov ebx, dword [eax + ecx + 4]
mov dword [esi + 0xc], edx
xor edx, 2
mov dword [esi + 8], ebx
or edx, ebx
jne 0x10013f5a
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 3
mov ecx, dword [esi + 0x720]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [edi + 8]
add ecx, 8
push 0x50
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x58], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x5c], ecx
mov ecx, dword [esi + 0x10]
movsd xmm0, qword [edi + 0x60]
movsd xmm1, qword [edi + 0x68]
movsd qword [eax + 0x60], xmm0
movsd qword [eax + 0x68], xmm1
movsd xmm0, qword [edi + 0x70]
movsd qword [eax + 0x70], xmm0
mov dword [eax + 4], ebx
jmp 0x10013fa3
lea ebx, [eax + ecx + 8]
mov eax, dword [ebp + 8]
add eax, 8
push 0x50
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x58], edi
mov dword [eax + 0x5c], ecx
mov ecx, dword [esi + 8]
movsd xmm0, qword [ebx + 0x58]
movsd xmm1, qword [ebx + 0x60]
movsd qword [eax + 0x60], xmm0
movsd qword [eax + 0x68], xmm1
movsd xmm0, qword [ebx + 0x68]
movsd qword [eax + 0x70], xmm0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
jmp 0x10013efb
mov edi, eax
jmp 0x10013fdc
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x38], ecx
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x30], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
mov ebx, dword [ebp + 8]
movsd xmm1, qword [esi + 0x28]
mov eax, dword [esi + 0x38]
movsd xmm0, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x18]
movsd qword [ebx + 0x1c], xmm1
movsd xmm1, qword [esi + 0x20]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x30]
movsd qword [ebx + 0x24], xmm0
movsd qword [ebx + 0xc], xmm2
movsd qword [ebx + 0x14], xmm1
push 0x48
lea ecx, [esi + 0xb8]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
add esp, 0xc
mov dword [ebx + 4], 0
mov dword [ebx], 2
mov dword [ebx + 8], edi
jmp 0x10013efb
mov dword [esi + 0x728], 0xffffffff
push 0x101ce2dc
push 0x1e
push 0x101ce260
call fcn.101cc4e0
xor eax, eax
jmp 0x1001405d
mov eax, 1
mov dword [esi + 0x728], 1
push ebx
push eax
call fcn.101cc311
add esp, 8
ud2