Function at 0x10052330
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x6dc
mov eax, dword [0x101425c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 0
push 0x10052970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [0x10144e48], 0
je 0x1005295a
mov dword [ebp - 0x680], 0x380699a7
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x680], 0x5761f6cb
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov dword [ebp - 0x690], eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x68c], ecx
mov ecx, dword [ebp - 0x67c]
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x688], eax
mov dword [ebp - 0x684], ecx
xorps xmm1, xmmword [ebp - 0x690]
movaps xmmword [ebp - 0x90], xmm1
mov dword [ebp - 0x680], 0x541c298
mov dword [ebp - 0x67c], 0xcb72de01
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x680], 0xd4016e48
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x680], 0x5761f6cb
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov dword [ebp - 0x6a0], eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x69c], ecx
mov ecx, dword [ebp - 0x67c]
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x694], ecx
xorps xmm1, xmmword [ebp - 0x6a0]
movaps xmmword [ebp - 0x80], xmm1
mov dword [ebp - 0x680], 0x380699a7
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x680], 0x5761f6cb
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x6ac], ecx
mov ecx, dword [ebp - 0x67c]
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0x6a8], eax
mov dword [ebp - 0x6a4], ecx
xorps xmm1, xmmword [ebp - 0x6b0]
movaps xmmword [ebp - 0x70], xmm1
mov dword [ebp - 0x680], 0x541c298
mov dword [ebp - 0x67c], 0xcb72de01
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x680], 0xd4016e48
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x680], 0x5761f6cb
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
xorps xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x60], xmm1
mov dword [ebp - 0x680], 0x23128381
mov dword [ebp - 0x67c], 0xd86fef44
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x680], 0xb064724e
mov dword [ebp - 0x67c], 0x2f55bbd
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x680], 0xf477e7af
mov dword [ebp - 0x67c], 0xee5eeb94
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x680], 0x844b6dae
mov dword [ebp - 0x67c], 0xfd5a1e0f
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x680], 0x5761f6cb
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x680], 0x9d1582fd
mov dword [ebp - 0x67c], 0xee369fe6
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x680], 0x844b6dae
mov dword [ebp - 0x67c], 0xfd5a1e0f
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
vmovdqu ymm0, ymmword [ebp - 0x40]
vpxor ymm0, ymm0, ymmword [ebp - 0xc0]
vmovdqa ymmword [ebp - 0xc0], ymm0
mov dword [ebp - 0x680], 0x320d9282
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x680], 0x5761f6cb
mov dword [ebp - 0x67c], 0xb91bbc64
mov eax, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x67c]
mov dword [ebp - 0x680], 0xd401063c
mov dword [ebp - 0x6c0], eax
mov dword [ebp - 0x67c], 0x22c1089d
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x6bc], ecx
mov ecx, dword [ebp - 0x67c]
vmovaps xmm1, xmmword [ebp - 0x50]
cmp dword [0x10144ff8], 0
mov dword [ebp - 0x6b8], eax
mov dword [ebp - 0x6b4], ecx
vxorps xmm1, xmm1, xmmword [ebp - 0x6c0]
vmovaps xmmword [ebp - 0x50], xmm1
vzeroupper
je 0x1005295a
push 0x5b8
lea eax, [ebp - 0x678]
push 0
push eax
call fcn.100db5a0
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x678]
push eax
call fcn.10056a40
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x678]
call fcn.10056940
lea ecx, [ebp - 0x678]
call fcn.10056920
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.10056990
lea ecx, [ebp - 0x678]
call fcn.10056920
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.10056970
lea ecx, [ebp - 0x678]
call fcn.10056920
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.100569f0
lea ecx, [ebp - 0x678]
call fcn.10056920
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.100569c0
lea ecx, [ebp - 0x678]
call fcn.10056930
push 0
mov esi, eax
call fcn.100ee255
add esp, 4
mov ecx, esi
push edx
push eax
call fcn.10056a20
push 0
lea ecx, [ebp - 0x678]
call fcn.10056a70
mov ecx, dword [0x10144ff8]
call fcn.10055f00
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__void___cdecl_DiscordRPC::UpdateDiscord_char_const___char_const___char_const___char_const___char_const___char_const__::_5::_lambda_1___void__enum_discord::Result_.0
mov dword [ecx + 0x24], ecx
lea ecx, [ebp - 0x678]
push ecx
mov ecx, eax
call fcn.100552a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100be994
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret