Function at 0x4306e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ec75
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4b0280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x18
mov dword [ebp - 4], 1
call fcn.0046516a
mov esi, eax
mov dword [ebp - 0x3c], eax
add esp, 4
test esi, esi
je 0x430761
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], 0x495f58
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x430766
xor esi, esi
mov dword [ebp - 0x3c], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
nop word [eax + eax]
cmp byte [eax + 0xd], 0
jne 0x4308db
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
test esi, esi
je 0x430798
lock inc dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408ac0
mov eax, dword [ebp - 0x34]
lea esi, [ebp + 0x28]
movups xmm0, xmmword [ebp - 0x2c]
sub esp, 0x28
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x34], 0
sub esp, 0x278
mov edi, esp
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x44]
mov dword [ecx + 8], eax
xor eax, eax
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__lambda_98cda6bc9b8603990fd4254cd0812f79___void__struct_HookParam_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
movups xmmword [ecx + 0xc], xmm0
mov dword [ebp - 0x30], 0
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], ecx
mov ecx, 0x9e
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004455f0
mov eax, dword [ebp - 0x38]
add esp, 0x2a4
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x430860
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x430853
cmp eax, dword [ecx + 8]
jne 0x430853
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x430843
mov esi, dword [ebp - 0x3c]
mov eax, ecx
mov ecx, dword [ebp - 0x50]
jmp 0x430774
mov eax, ecx
mov dword [ebp - 0x38], eax
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x43087f
nop dword [eax]
mov ecx, dword [edx]
mov eax, edx
mov dword [ebp - 0x38], edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x430870
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
jmp 0x430780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004651a8
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 2
test esi, esi
je 0x4308ea
lock inc dword [esi + 4]
mov edi, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edi
push 8
mov byte [ebp - 4], 7
call fcn.0046516a
add esp, 4
test eax, eax
je 0x43091a
lea ecx, [esi + 0xc]
mov dword [eax + 4], esi
xor edi, edi
mov dword [eax], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], edi
jmp 0x43091c
xor eax, eax
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x41a770
push 0
push 0
call fcn.00475e52
add esp, 0x18
mov dword [ebp - 0x48], eax
test eax, eax
je 0x430a03
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x430a16
push ecx
push eax
call fcn.0044d97e
add esp, 8
test eax, eax
jne 0x430a16
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
test edi, edi
je 0x430994
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x430994
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x430994
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edi, 0xffffffff
test esi, esi
je 0x4309b9
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4309b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4309b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
mov ecx, eax
call fcn.00419c20
mov ecx, dword [ebp + 0x24]
cmp ecx, 7
jbe 0x4308bf
mov edx, dword [ebp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4309f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430a11
push ecx
push edx
call fcn.0046519a
add esp, 8
jmp 0x4308bf
push 6
mov dword [ebp - 0x44], 0
call fcn.0044d7b5
call fcn.0046ac2f
push 1
call fcn.0044d7b5
int3