Function at 0x423f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553fa2
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xb4], esi
cmp dword [esi + 0x128], 0
je 0x424061
cmp byte [esi + 0x134], 0
jne 0x424061
mov edx, dword [esi + 0x124]
mov eax, edx
mov ecx, dword [esi + 0x120]
and edx, 1
shr eax, 1
dec ecx
and ecx, eax
mov eax, dword [esi + 0x11c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*8]
mov eax, 3
add ecx, 0x8130
xchg dword [ecx], eax
mov eax, dword [0x62da44]
mov edx, dword [esi + 0x124]
mov ecx, edx
shr ecx, 1
and edx, 1
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x120]
dec eax
and ecx, eax
mov eax, dword [esi + 0x11c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
add eax, 0x8134
cmp dword [eax + 0x14], 0x10
jb 0x423fbd
mov eax, dword [eax]
push eax
push str.draining_track__s
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xbc], 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 [0x559ac8]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0xf4
sub esp, 0x18
mov dword [ebp - 4], 0
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00410930
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 [0x62da44]
mov dword [ebp - 4], 0xffffffff
call dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
add esp, 0x40
mov esi, dword [esi + 0x1e0]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x424072
lock inc dword [eax + 4]
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 1
push dword [ebp + 8]
push eax
call fcn.00433fd0
or edi, 0xffffffff
test esi, esi
je 0x4240c3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4240c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4240c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [0x62da44]
lea ecx, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
xorps xmm0, xmm0
cmovae ecx, dword [ebp - 0xac]
mov eax, dword [eax]
cmp dword [ebp - 0x38], 0x10
push ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
push str.new_track_id__s_____s_
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], 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 [0x559ac8]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0xf8
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.00410930
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 [0x62da44]
mov byte [ebp - 4], 3
call dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
add esp, 0x44
mov eax, dword [esi + 0x128]
lea ecx, [esi + 0x134]
mov dword [ebp - 0xbc], ecx
test eax, eax
je 0x424370
cmp byte [ecx], 0
je 0x424370
mov eax, dword [0x62da44]
xorps xmm0, xmm0
mov edx, dword [esi + 0x148]
mov ecx, edx
shr ecx, 2
and edx, 3
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x144]
dec eax
and ecx, eax
mov eax, dword [esi + 0x140]
mov eax, dword [eax + ecx*4]
push dword [eax + edx*4]
push dword [ebp - 0x34]
push str.flow_track_of_duration__d_will_start_at__u
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], 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 [0x559ac8]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x113
sub esp, 0x18
mov byte [ebp - 4], 7
mov edi, esp
mov ecx, edi
push 0x50
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.00410930
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 [0x62da44]
mov byte [ebp - 4], 3
call dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
lea eax, [ebp - 0xac]
add esp, 0x44
mov ecx, dword [esi + 0x12c]
push eax
add ecx, 0x814c
call fcn.0041d840
mov edi, dword [esi + 0x144]
mov ecx, dword [esi + 0x148]
mov edx, ecx
shr ecx, 2
and edx, 3
lea eax, [edi - 1]
and ecx, eax
mov eax, dword [esi + 0x140]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xb0], eax
test edx, edx
jne 0x4242ee
mov eax, dword [esi + 0x14c]
add eax, 4
shr eax, 2
cmp edi, eax
ja 0x4242ee
push 1
lea ecx, [esi + 0x13c]
call fcn.0041e260
mov ecx, dword [esi + 0x144]
lea eax, [ecx*4]
lea edi, [eax - 1]
and edi, dword [esi + 0x148]
mov dword [esi + 0x148], edi
cmove edi, eax
dec ecx
dec edi
mov eax, edi
shr eax, 2
and ecx, eax
mov eax, dword [esi + 0x140]
shl ecx, 2
mov dword [ebp - 0xb4], ecx
cmp dword [ecx + eax], 0
jne 0x424346
push 0x10
call fcn.0054f9cc
mov ecx, dword [esi + 0x140]
add esp, 4
mov edx, dword [ebp - 0xb4]
mov dword [edx + ecx], eax
jmp 0x424348
mov edx, ecx
mov eax, dword [esi + 0x140]
mov ecx, edi
and ecx, 3
mov eax, dword [eax + edx]
mov edx, dword [ebp - 0xb0]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x14c]
mov dword [esi + 0x148], edi
jmp 0x4245fc
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xc8], 0
test eax, eax
jne 0x424392
mov eax, dword [esi + 0xbc]
neg eax
jmp 0x424394
xor eax, eax
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0xb8], eax
inc eax
mov dword [esi + 0xcc], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [esi + 0x138]
push eax
lea eax, [esi + 0x108]
push eax
push ecx
lea eax, [esi + 0xd0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [esi + 0xe8]
push eax
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0041c340
add esp, 0x34
mov eax, dword [0x62da44]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc4]
add eax, 0x8134
cmp dword [eax + 0x14], 0x10
jb 0x42442a
mov eax, dword [eax]
push eax
push str.loading_with_id__s
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xcc], 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 [0x559ac8]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x100
sub esp, 0x18
mov byte [ebp - 4], 6
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00410930
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 [0x62da44]
mov byte [ebp - 4], 5
call dword [ebp - 0xb8]
push 0x2c
lea eax, [ebp - 0xf8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0xc4]
lea eax, [ebp - 0xf8]
add esp, 0x4c
mov ecx, esi
push eax
call fcn.00413810
mov eax, dword [esi + 0x81e8]
add dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb4]
cmp byte [eax], 0
je 0x424515
lea eax, [ebp - 0xd8]
push eax
lea ecx, [edi + 0x13c]
call fcn.004231a0
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x28]
mov esi, dword [esi + 0x81e8]
add eax, 0x78
push eax
neg esi
call fcn.00409bc0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xf8]
push esi
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push dword [edi + 0x110]
call fcn.00428530
mov ecx, dword [ebp - 0x14]
add esp, 0x14
cmp ecx, 0x10
jb 0x424589
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42457f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42457f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov al, byte [edi + 0x60]
nop
test al, al
jne 0x4245a1
push 2
push dword [edi + 0x110]
call fcn.00428530
add esp, 8
lea eax, [ebp - 0xc4]
push eax
lea ecx, [edi + 0x118]
call fcn.00423230
mov esi, dword [ebp - 0xc4]
push 0
push 0
push esi
push 0x423ef0
push dword [esi + 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
mov esi, dword [ebp - 0xc0]
test esi, esi
je 0x4245fc
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4245fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4245fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xac]
call fcn.0040c0c0
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.0054f742
mov esp, ebp
pop ebp
ret 8