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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1e0
mov esi, esp
mov dword [esi + 0x1c8], ebp
mov dword [esi + 0x1cc], esp
mov dword [esi + 0x1d8], 0xffffffff
mov dword [esi + 0x1d4], 0x10052770
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
mov edx, dword fs:[0]
mov dword [esi + 0x1d0], edx
mov dword fs:[0], ecx
mov dword [esi + 0x4c], 0
movq xmm0, qword [eax + 8]
mov edx, dword [eax + 0x10]
test byte [eax], 1
movd edi, xmm0
movdqa xmmword [esi + 0x50], xmm0
mov dword [esi + 0x18], edi
je 0x10049f06
mov ecx, dword [eax + 4]
jmp 0x10049ffb
mov eax, dword [0x10284a1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10049f17
dec ecx
jmp 0x10049ffb
mov dword [esi + 0xc], edx
mov byte [esi + 3], 1
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov dword [esi + 0x1d8], 1
lea eax, [esi + 0x68]
push 0xe
push 0x101d70a8
push eax
call fcn.10196370
add esp, 0xc
xor eax, eax
cmp eax, dword [esi + 0x68]
jno 0x10049f5f
movdqa xmm0, xmmword [esi + 0x50]
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
mov ecx, 0x200000
jmp 0x10049ff0
movq xmm0, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x70]
lea eax, [esi + 0x20]
mov dword [esi + 0x1d8], 8
movsd qword [esi + 0x28], xmm1
movq qword [esi + 0x20], xmm0
push eax
call fcn.101ab400
add esp, 4
lea ecx, [esi + 0x40]
push edx
push eax
push ecx
call fcn.10196760
add esp, 0xc
test byte [esi + 0x40], 1
je 0x10049fa4
mov ecx, 0x200000
jmp 0x10049fc4
push dword [esi + 0x48]
push dword [esi + 0x44]
lea eax, [esi + 0x40]
push eax
call fcn.101be810
add esp, 0xc
cmp byte [esi + 0x40], 0
mov ecx, 0x200000
jne 0x10049fc4
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x20]
movdqa xmm0, xmmword [esi + 0x50]
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
test eax, eax
je 0x10049ff0
push 1
push eax
push dword [esi + 0x24]
mov ebx, ecx
call fcn.10013460
mov edx, dword [esi + 0xc]
movdqa xmm0, xmmword [esi + 0x50]
mov ecx, ebx
add esp, 0xc
mov ebx, dword [0x10284a1c]
lea eax, [ecx + 1]
mov dword [ebx], eax
mov eax, edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x1d8], 1
neg eax
jno 0x1004a021
mov byte [esi + 3], 0
mov byte [esi + 4], 1
mov byte [esi + 5], 1
call fcn.10195eb0
jmp 0x1004a041
lea eax, [esi + 0x20]
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], edx
mov byte [esi + 3], 0
mov byte [esi + 4], 1
mov byte [esi + 5], 1
push eax
call fcn.10195e80
add esp, 4
mov dword [esi + 0x10], eax
lock inc dword [eax]
jle 0x1004a284
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x2c], 0
movzx eax, byte [0x10284b09]
push 4
push 0x18
call fcn.10013450
add esp, 8
test eax, eax
je 0x1004a253
movq xmm0, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
mov dword [esi + 0x40], eax
movq qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
lock inc dword [eax]
jle 0x1004a284
mov dword [esi + 0x68], eax
mov byte [esi + 8], 1
mov dword [esi + 0x1d8], 3
push 0
call fcn.10198210
add esp, 4
test eax, eax
je 0x1004a0d8
lock inc dword [eax]
jle 0x1004a284
mov byte [esi + 9], 1
mov dword [esi + 0x1d8], 4
mov dword [esi + 0x14], eax
push eax
call fcn.10198210
add esp, 4
test eax, eax
je 0x1004a102
lock dec dword [eax]
jne 0x1004a102
mov ecx, eax
call fcn.1004f7e0
lea eax, [esi + 0x78]
push 0x140
push dword [ebp + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x1bc], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1b8], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x1c0], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x1c], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x1004a158
add eax, 8
mov byte [esi + 6], 1
mov dword [esi + 0x1d8], 5
push eax
call fcn.10195610
add esp, 4
movzx eax, byte [0x10284b09]
push 8
push 0x150
call fcn.10013450
add esp, 8
test eax, eax
je 0x1004a26b
mov edi, eax
push 0x150
lea eax, [esi + 0x78]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 6], 0
mov dword [esi + 0x1d8], 5
lea eax, [esi + 0x20]
push 0x101d7098
push edi
push dword [esi + 0xc]
push eax
call fcn.101a9cb0
add esp, 0x10
movzx edx, byte [esi + 0x20]
mov edi, dword [ebp + 8]
cmp edx, 4
jne 0x1004a1cc
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
jmp 0x1004a23d
movzx eax, word [esi + 0x21]
movzx ebx, byte [esi + 0x23]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
mov dword [esi + 0xc], ecx
jne 0x1004a20d
lea eax, [esi + 0x40]
mov dword [esi + 0x1d8], 9
push eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x50], edx
call fcn.1004f0d0
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x14]
shl ebx, 0x18
shl eax, 8
or ebx, eax
or ebx, edx
mov edx, dword [esi + 0x10]
lock dec dword [edx]
jne 0x1004a231
lea eax, [esi + 0x10]
push eax
call fcn.100069c0
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi], 0
mov eax, dword [esi + 0x1d0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x1d8], 7
push 0x18
push 4
call fcn.101cc329
add esp, 8
jmp 0x1004a284
mov dword [esi + 0x1d8], 6
push 0x150
push 8
call fcn.101cc329
add esp, 8
ud2