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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa20
mov esi, esp
mov dword [esi + 0xa08], ebp
mov dword [esi + 0xa0c], esp
mov dword [esi + 0xa18], 0xffffffff
mov dword [esi + 0xa14], 0x10015d20
mov dword [esi + 0x44], ecx
lea eax, [esi + 0xa10]
mov ecx, dword fs:[0]
mov dword [esi + 0xa10], ecx
mov dword fs:[0], eax
mov ecx, dword [edx + 0x40]
mov eax, dword [edx + 0x5c]
mov edi, ecx
sub edi, eax
jb 0x1001584c
cmp edi, dword [edx + 0x28]
mov dword [esi + 0xc], edx
mov dword [esi + 0x54], edi
jne 0x100151d3
cmp ecx, eax
jbe 0x10015856
mov ecx, dword [esi + 0xc]
imul eax, eax, 0x260
mov ebx, dword [ecx + 0x3c]
cmp dword [ebx + eax], 3
je 0x100151d3
add ebx, eax
lea eax, [esi + 0xb0]
push ebx
push eax
call fcn.100182e0
add esp, 8
mov eax, dword [esi + 0xb4]
imul edx, dword [esi + 0xb8], 0x78
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x20], ebx
add edx, eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
mov dword [esi + 8], ecx
mov dword [esi + 0x14], edx
cmp eax, 2
je 0x10015131
cmp eax, 3
jne 0x10015151
lea eax, [ebx + 4]
mov dword [esi + 0xa18], 0
push eax
call fcn.10016270
add esp, 4
jmp 0x10015193
cmp dword [ebx + 4], 0x80000001
je 0x10015193
mov eax, dword [esi + 0x20]
mov dword [esi + 0xa18], 0
lea ecx, [eax + 4]
call fcn.1000be50
jmp 0x10015193
lea eax, [ebx + 0x258]
mov dword [esi + 0xa18], 1
push eax
call fcn.101a1020
add esp, 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x254]
lock dec dword [eax]
jne 0x10015193
mov eax, dword [esi + 0x20]
mov dword [esi + 0xa18], 0
add eax, 0x254
push eax
call fcn.10007390
add esp, 4
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x10]
mov dword [ecx], 3
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
add ecx, 0x14
push 0x24c
lea eax, [esi + 0xb0]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0xa18], 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0x58
push edi
call fcn.101ab560
add esp, 4
lea ecx, [esi + 0xb0]
push edx
push eax
push ecx
call fcn.101a16f0
add esp, 0xc
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov ebx, dword [esi + 0xb8]
mov dword [esi + 0x40], edi
cmp eax, 2
mov dword [esi + 0x14], eax
jne 0x10015268
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 0x20], ecx
mov dword [esi + 0xa18], 2
mov eax, dword [eax + 0x60]
mov dword [esi + 0x10], eax
push edi
call fcn.101ab560
add esp, 4
push edx
push eax
lea eax, [esi + 0xb0]
push eax
call fcn.1019bfe0
add esp, 0xc
mov eax, dword [esi + 0xb0]
movsd xmm0, qword [esi + 0xb4]
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0x18], 0x80000000
mov dword [esi + 0x50], ecx
movsd qword [esi + 0x48], xmm0
jmp 0x100152c4
mov eax, dword [esi + 0xc4]
movsd xmm0, qword [esi + 0xbc]
mov edi, ecx
lea ecx, [esi + 0x574]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0xcc]
movsd qword [esi + 0x48], xmm0
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc8]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xd0]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xd4]
mov dword [esi + 0x10], eax
lea eax, [esi + 0xd8]
push 0x234
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
mov dword [esi + 0x18], edi
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x31c], eax
movq xmm0, qword [esi + 0x48]
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x574]
mov edi, dword [ebx + 0x60]
mov dword [esi + 0x328], eax
movq qword [esi + 0x320], xmm0
lea eax, [esi + 0x33c]
push 0x234
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x570], edi
mov edx, dword [esi + 8]
cmp dword [ebx + 0x20], 0
mov dword [esi + 0x314], ecx
mov dword [esi + 0x318], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x330], edx
mov edx, dword [esi + 0x34]
mov dword [esi + 0x32c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x334], edx
mov dword [esi + 0x338], eax
je 0x10015567
lea eax, [ebx + 0x20]
lea edi, [esi + 0x7a8]
mov dword [esi + 0x58], eax
lea eax, [esi + 0x314]
push 0x260
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 7], 0
mov dword [esi + 0xa18], 3
lea eax, [esi + 0x90]
push edi
push eax
call fcn.10017920
add esp, 8
mov ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x94]
lea edi, [esi + 0x58]
lea edx, [esi + 0x38]
mov dword [esi + 0x38], edi
mov dword [esi + 0x5c], edx
cmp ecx, 2
mov dword [esi + 0x1c], eax
mov dword [esi + 0x3c], ecx
jb 0x10015533
mov ecx, dword [esi + 0x3c]
cmp ecx, 0x15
jae 0x10015519
mov eax, dword [esi + 0x1c]
imul ecx, ecx, 0x78
mov dword [esi + 0x10], 0
add ecx, eax
lea edx, [eax + 0x78]
mov dword [esi + 0x34], ecx
jmp 0x100153f7
mov eax, ebx
push 0x78
lea ecx, [esi + 0xb0]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [esi + 0x18]
add edx, 0x78
add dword [esi + 0x10], 0xffffff88
cmp edx, dword [esi + 0x34]
je 0x10015533
mov eax, dword [edx]
mov ecx, dword [edx - 0x74]
lea ebx, [edx - 0x78]
xor eax, 2
or eax, dword [edx + 4]
mov eax, dword [edx - 0x78]
jne 0x10015420
xor eax, 2
or eax, ecx
je 0x100153e7
jmp 0x10015454
xor eax, 2
or eax, ecx
je 0x100153e7
mov eax, dword [esi + 0x38]
mov dword [esi + 0x20], ebx
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xa18], 7
push ebx
push edx
push ecx
mov dword [esi + 0x18], edx
call dword [eax + 0x10]
mov edx, dword [esi + 0x18]
add esp, 0xc
mov ebx, dword [esi + 0x20]
cmp al, 0xff
jne 0x100153e7
push 0x78
push edx
lea eax, [esi + 0xb0]
push eax
mov edi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x78
push ebx
mov dword [esi + 0x18], edi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x1c]
cmp ebx, eax
je 0x100153d2
mov edi, dword [esi + 0x10]
jmp 0x100154ae
xor eax, 2
or eax, ecx
je 0x100153d0
push 0x78
push edx
push ebx
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, 0x78
je 0x10015511
mov eax, dword [esi + 0xb0]
mov ecx, dword [ebx - 0x74]
lea edx, [ebx - 0x78]
xor eax, 2
or eax, dword [esi + 0xb4]
mov eax, dword [ebx - 0x78]
je 0x10015490
xor eax, 2
or eax, ecx
je 0x100153d0
mov eax, dword [esi + 0x38]
mov dword [esi + 8], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x14], edx
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xa18], 8
push edx
lea edx, [esi + 0xb0]
push edx
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov ebx, dword [esi + 0x20]
mov edi, dword [esi + 8]
mov edx, dword [esi + 0x14]
cmp al, 0xff
je 0x1001549b
jmp 0x100153d0
mov eax, dword [esi + 0x1c]
jmp 0x100153d2
lea eax, [esi + 0x5c]
mov dword [esi + 0xa18], 7
push eax
push ecx
push dword [esi + 0x1c]
call fcn.10016140
add esp, 0xc
imul ecx, dword [esi + 0x3c], 0x78
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x90]
mov dword [esi + 0x314], 3
add ecx, edx
mov dword [esi + 0x318], edx
mov dword [esi + 0x31c], edx
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], ecx
cmp byte [ebx + 0x34], 0
mov edi, ebx
je 0x10015754
mov byte [esi + 7], 1
mov dword [esi + 0xa18], 3
push dword [esi + 0x40]
call fcn.101ab560
add esp, 4
mov byte [esi + 7], 1
push edx
push eax
lea eax, [esi + 0xb0]
push eax
call fcn.10016570
add esp, 0xc
movdqu xmm2, xmmword [esi + 0xb0]
mov edx, dword [esi + 0xb4]
movd ecx, xmm2
mov eax, ecx
xor eax, 2
or eax, edx
jne 0x10015612
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x44]
pshufd xmm0, xmm2, 0xee
lea ecx, [esi + 0x318]
mov eax, dword [eax + 0x60]
mov dword [edx], 0x80000000
mov dword [edx + 4], 0x80000000
movq qword [edx + 0x14], xmm0
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x314]
cmp eax, 2
je 0x100157f0
cmp eax, 3
jne 0x1001580d
mov dword [esi + 0xa18], 0xffffffff
push ecx
call fcn.10016270
jmp 0x10015847
movq xmm0, qword [esi + 0xc0]
movq xmm1, qword [esi + 0xc8]
mov dword [esi + 0x14], edx
mov dword [esi + 8], ecx
movdqa xmmword [esi + 0x20], xmm2
mov dword [esi + 0xa18], 5
movq qword [esi + 0xa8], xmm1
movq qword [esi + 0xa0], xmm0
movdqu xmmword [esi + 0x90], xmm2
push dword [esi + 0x40]
call fcn.101ab560
add esp, 4
push edx
push eax
lea eax, [esi + 0xb0]
push eax
call fcn.1019bfe0
add esp, 0xc
lea eax, [esi + 0xa0]
mov edx, dword [esi + 8]
movdqa xmm1, xmmword [esi + 0x20]
mov edi, dword [esi + 0xc]
mov ecx, dword [eax + 8]
movsd xmm0, qword [eax]
mov dword [esi + 0x78], ecx
movsd qword [esi + 0x70], xmm0
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x60], edx
mov edx, dword [esi + 0xac]
pshufd xmm0, xmm1, 0xff
pshufd xmm1, xmm1, 0xee
mov dword [esi + 0x64], ecx
movd dword [esi + 0x68], xmm1
movd dword [esi + 0x6c], xmm0
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x7c], edx
mov edx, dword [edi + 0x4c]
movq xmm0, qword [esi + 0xb4]
mov dword [esi + 0x80], ecx
cmp edx, dword [edi + 0x44]
mov ecx, dword [esi + 0xbc]
movq qword [esi + 0x84], xmm0
mov dword [esi + 0x8c], ecx
jne 0x10015700
lea eax, [edi + 0x44]
mov dword [esi + 0xa18], 4
push eax
mov dword [esi + 0x20], edx
call fcn.10018b50
mov edx, dword [esi + 0x20]
mov edi, dword [esi + 0xc]
add esp, 4
mov eax, dword [edi + 0x48]
movq xmm0, qword [esi + 0x60]
movq xmm1, qword [esi + 0x68]
movq xmm2, qword [esi + 0x70]
movsd xmm3, qword [esi + 0x78]
movsd xmm4, qword [esi + 0x80]
movsd xmm5, qword [esi + 0x88]
lea ecx, [edx + edx*2]
inc edx
shl ecx, 4
movsd qword [eax + ecx + 0x28], xmm5
movsd qword [eax + ecx + 0x20], xmm4
movsd qword [eax + ecx + 0x18], xmm3
movq qword [eax + ecx + 0x10], xmm2
movq qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov dword [edi + 0x4c], edx
lea eax, [esi + 0x314]
push 0x260
push eax
lea eax, [esi + 0xb0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [edi + 0x40]
cmp ebx, dword [edi + 0x38]
jne 0x10015796
lea eax, [edi + 0x38]
mov dword [esi + 0xa18], 6
push eax
mov dword [esi + 0x20], ebx
call fcn.10018c00
mov ebx, dword [esi + 0x20]
mov edi, dword [esi + 0xc]
add esp, 4
imul eax, ebx, 0x260
add eax, dword [edi + 0x3c]
push 0x260
lea ecx, [esi + 0xb0]
push ecx
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov eax, dword [esi + 0x54]
inc ebx
mov dword [ecx + 0x40], ebx
cmp eax, dword [ecx + 0x28]
jne 0x100157d3
mov eax, dword [ecx + 0x5c]
cmp eax, 0xffffffff
je 0x10015862
inc eax
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x44]
mov dword [eax], 0x80000001
mov eax, dword [esi + 0xa10]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x318], 0x80000001
je 0x100157dc
mov dword [esi + 0xa18], 0xffffffff
call fcn.1000be50
jmp 0x100157dc
lea eax, [esi + 0x56c]
mov dword [esi + 0xa18], 9
push eax
call fcn.101a1020
add esp, 4
mov eax, dword [esi + 0x568]
lock dec dword [eax]
jne 0x100157dc
lea eax, [esi + 0x568]
mov dword [esi + 0xa18], 0xffffffff
push eax
call fcn.10007390
add esp, 4
jmp 0x100157dc
push 0x101ce28c
call fcn.101cc810
push 0x101ce26c
push ecx
push eax
call fcn.101cc9d4
mov byte [esi + 7], 0
mov dword [esi + 0xa18], 3
push 0x101ce27c
call fcn.101cc810
add esp, 4
ud2