Function at 0x41c270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d7e3
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
lea esi, [edi + 0x64]
push esi
mov dword [ebp - 0x50], esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x41cbba
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x41cbc1
lea ecx, [edi + 0x61]
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], ecx
mov al, 1
xchg byte [ecx], al
push 0x60
mov byte [ebp - 0x29], 0
call fcn.0050945c
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x41c30c
sub esp, 0x18
lea eax, [edi + 0x2c]
mov ecx, esp
push eax
call fcn.00404bb0
mov ecx, esi
call fcn.004374d0
mov ecx, eax
mov dword [ebp - 0x40], eax
jmp 0x41c311
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov esi, ecx
mov dword [ebp - 0x30], esi
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], ecx
mov edx, ecx
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x41c381
push 0x10
call fcn.0050945c
mov ecx, dword [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41c370
xorps xmm0, xmm0
xor esi, esi
movq qword [eax], xmm0
xor edx, edx
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_resource_class_cspot::LoginBlob___struct_std::default_delete_class_cspot::LoginBlob__.0
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
jmp 0x41c383
xor esi, esi
xor eax, eax
xor edx, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
jmp 0x41c383
xor ecx, ecx
mov dword [edi + 0x1cc], ecx
mov ecx, dword [edi + 0x1d0]
mov dword [ebp - 0x30], ecx
mov dword [edi + 0x1d0], eax
test ecx, ecx
je 0x41c3c5
mov edx, dword [ebp - 0x3c]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41c3c5
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x40]
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
lock xadd dword [ecx + 8], eax
jne 0x41c3c5
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0
test edx, edx
je 0x41c3df
mov ecx, esi
call fcn.00416120
push 0x60
push esi
call fcn.0050948c
add esp, 8
cmp dword [0x55a054], 0
je 0x41c4b4
cmp dword [0x55a06c], 0
je 0x41c4b4
mov ecx, dword [edi + 0x1cc]
push 0x55a05c
push 0x55a044
call fcn.00439270
mov eax, dword [0x55fc44]
xorps xmm0, xmm0
push str.User_Password_mode
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x30], eax
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x208
sub esp, 0x18
mov byte [ebp - 4], 3
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040b130
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x47
mov ecx, 0x11
mov dword [esi + 0x14], 0x4f
mov esi, str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_src_spotify.cpp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x47], 0
push dword [0x55fc44]
mov byte [ebp - 4], 0
call dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
add esp, 0x3c
jmp 0x41c57b
cmp dword [edi + 0x54], 0
je 0x41c570
mov ecx, dword [edi + 0x1cc]
lea eax, [edi + 0x44]
push eax
call fcn.00438ee0
mov eax, dword [0x55fc44]
xorps xmm0, xmm0
push str.Reusable_credentials_mode
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x30], eax
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x20c
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040b130
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x47
mov ecx, 0x11
mov dword [esi + 0x14], 0x4f
mov esi, str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_src_spotify.cpp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x47], 0
push dword [0x55fc44]
mov byte [ebp - 4], 0
call dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
add esp, 0x3c
jmp 0x41c57b
mov ecx, edi
mov byte [ebp - 0x29], 1
call fcn.004192f0
mov al, byte [edi + 0x61]
lea esi, [edi + 0x61]
nop
test al, al
je 0x41caea
nop word [eax + eax]
cmp byte [ebp - 0x29], 0
je 0x41c5a1
lea ecx, [edi + 0x98]
call fcn.00483710
mov al, byte [esi]
nop
test al, al
je 0x41caea
lea ecx, [edi + 0x5c]
mov eax, 1
xchg dword [ecx], eax
cmp dword [edi + 0x40], 0x10
mov eax, dword [0x55fc44]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
lea eax, [edi + 0x2c]
mov dword [ebp - 0x38], eax
mov ecx, eax
jb 0x41c5d3
mov ecx, dword [eax]
push ecx
push str.Spotify_client_launched_for__s
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x3c], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x21b
sub esp, 0x18
mov byte [ebp - 4], 5
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040b130
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x47
mov ecx, 0x11
mov dword [esi + 0x14], 0x4f
mov esi, str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_src_spotify.cpp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x47], 0
push dword [0x55fc44]
mov byte [ebp - 4], 0
call dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
add esp, 0x38
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x1d0]
test eax, eax
je 0x41c685
lock inc dword [eax + 4]
mov eax, dword [edi + 0x1cc]
mov dword [ecx], eax
mov eax, dword [edi + 0x1d0]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00417700
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov ecx, dword [edi + 0x104]
mov byte [ebp - 4], 6
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x7c]
add ecx, 0x2c
call fcn.00422830
mov eax, dword [ebp - 0x48]
sub esp, 8
mov edx, esp
mov ecx, dword [eax + 0x7c]
mov dword [edx], 0
add ecx, 0x2c
mov dword [edx + 4], 0
mov eax, dword [edi + 0x1d0]
test eax, eax
je 0x41c6e8
lock inc dword [eax + 4]
mov eax, dword [edi + 0x1cc]
mov dword [edx], eax
mov eax, dword [edi + 0x1d0]
mov dword [edx + 4], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00421bf0
mov edx, dword [ebp - 0x48]
mov esi, eax
lea eax, [edx + 0x34]
mov dword [ebp - 0x30], eax
cmp eax, esi
je 0x41c742
mov ecx, eax
call fcn.00406380
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x41c78e
mov edx, dword [ebp - 0x58]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x41c76c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cae4
push edx
push ecx
call fcn.0050948c
mov edx, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov eax, dword [edx + 0x38]
sub eax, dword [edx + 0x34]
je 0x41c9f3
lea eax, [ebp - 0x28]
mov ecx, edx
push eax
call fcn.0041a590
cmp dword [eax + 0x14], 0x10
jb 0x41c7ad
mov eax, dword [eax]
push eax
push 5
push dword [edi + 0x110]
call fcn.004211f0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp ecx, 0x10
jb 0x41c7f2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c7e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cae4
push ecx
push edx
call fcn.0050948c
add esp, 8
push 0x48
call fcn.0050945c
mov edx, eax
add esp, 4
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 7
test edx, edx
je 0x41c83a
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x41c826
lock inc dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov ecx, edx
call fcn.00432800
jmp 0x41c83c
xor eax, eax
mov ecx, dword [edi + 0x1d4]
mov byte [ebp - 4], 6
mov dword [edi + 0x1d4], eax
test ecx, ecx
je 0x41c857
push 1
call fcn.00416800
mov ecx, dword [edi + 0x1d4]
lea eax, [ebp - 0x68]
push eax
call fcn.00433220
mov ecx, dword [eax]
sub esp, 0x28
mov eax, esp
mov byte [ebp - 4], 8
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__private_virtual:_void___thiscall_CSpotPlayer::runTask_void_::_26::_lambda_1___unsigned_int__unsigned_char___unsigned_int__class_std::basic_string_view_char__struct_std::char_traits_char___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.00435a10
mov esi, dword [ebp - 0x64]
mov byte [ebp - 4], 6
test esi, esi
je 0x41c8ae
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41c8ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41c8ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1d4]
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__private_virtual:_void___thiscall_CSpotPlayer::runTask_void_::_26::_lambda_2___void__class_std::unique_ptr_struct_cspot::SpircHandler::Event__struct_std::default_delete_struct_cspot::SpircHandler::Event___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.00434220
mov eax, dword [ebp - 0x48]
push 0
push 0
mov esi, dword [eax + 0x7c]
push esi
push 0x41cbf0
push dword [esi + 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
lea esi, [edi + 0x5c]
mov eax, dword [esi]
nop
cmp eax, 1
jne 0x41c91b
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x7c]
call fcn.0043e700
mov eax, dword [esi]
nop
cmp eax, 2
jne 0x41c913
cmp byte [ebp - 0x29], 0
jne 0x41c913
mov eax, 1
xchg dword [esi], eax
mov eax, dword [esi]
nop
cmp eax, 1
je 0x41c8f3
mov ecx, dword [edi + 0x1d4]
call fcn.00433200
mov ecx, dword [edi + 0x1d4]
mov dword [edi + 0x1d4], 0
test ecx, ecx
je 0x41c941
push 1
call fcn.00416800
mov eax, dword [0x55fc44]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 0x10
jb 0x41c959
mov eax, dword [eax]
push eax
push str.disconnecting_player___s_
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x38], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x241
sub esp, 0x18
mov byte [ebp - 4], 9
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040b130
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x47
mov ecx, 0x11
mov dword [esi + 0x14], 0x4f
mov esi, str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_src_spotify.cpp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x47], 0
push dword [0x55fc44]
mov byte [ebp - 4], 6
call dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
add esp, 0x40
jmp 0x41caa5
mov eax, dword [0x55fc44]
xorps xmm0, xmm0
push str.failed_authentication__forcing_ZeroConf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 4]
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x30], eax
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x243
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040b130
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x47
mov ecx, 0x11
mov dword [esi + 0x14], 0x4f
mov esi, str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_src_spotify.cpp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x47], 0
push dword [0x55fc44]
mov byte [ebp - 4], 6
call dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
add esp, 0x3c
cmp byte [ebp - 0x29], 0
jne 0x41caa1
mov ecx, esi
call fcn.004192f0
mov byte [ebp - 0x29], 1
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
test edi, edi
je 0x41cad1
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41cad1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41cad1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [esi + 0x61]
nop
test al, al
je 0x41caed
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x4c]
jmp 0x41c590
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x34]
mov eax, dword [0x55fc44]
add esi, 0x2c
cmp dword [esi + 0x14], 0x10
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
jb 0x41cb05
mov esi, dword [esi]
push esi
push str.terminating_player___s_
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x54], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x249
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov edi, esp
mov ecx, edi
push 0x50
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.0040b130
mov dword [edi], eax
mov ecx, 0x11
mov dword [edi + 0x10], 0x47
mov esi, str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_src_spotify.cpp
mov dword [edi + 0x14], 0x4f
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x47], 0
push dword [0x55fc44]
mov byte [ebp - 4], 0
call dword [ebp - 0x4c]
push dword [ebp - 0x50]
call sub.MSVCP140.dll__Mtx_unlock
add esp, 0x44
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
dec eax
push 6
mov dword [esi + 0x2c], eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3