Function at 0x406140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da6f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x52506c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push 0xc4a
xor ebx, ebx
push ecx
mov ecx, 0x5bd568
mov dword [esp + 0x34], ebx
call fcn.00442120
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004b278f
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.004b2656
cmp dword [0x5335dc], ebx
je 0x4061df
push 0xffffffffffffffff
mov ecx, 0x5335c8
call fcn.00482829
lea edx, [esp + 0x10]
mov ecx, 0x5335d8
push edx
call fcn.004b278f
mov ecx, 0x5335c8
call fcn.00482023
mov eax, dword [0x5335dc]
push ebx
push ebx
push 0x753
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea edx, [esp + 0xc]
mov ecx, 0x534950
push edx
call fcn.00406410
push 0x40
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.004b2b77
cmp eax, ebx
jle 0x406358
mov ecx, dword [0x53494c]
mov edx, dword [0x534940]
and ecx, 0xffff
lea edi, [ecx*8]
sub edi, ecx
cmp dword [edx + edi*4 + 0x14], 1
jne 0x40622c
push 0x2b
jmp 0x40622e
push 0x20
push eax
lea ecx, [esp + 0x14]
call fcn.004b2c08
mov eax, dword [0x53494c]
mov ecx, dword [0x534940]
and eax, 0xffff
lea edx, [eax*8]
sub edx, eax
cmp dword [ecx + edx*4 + 0x14], 1
jne 0x4062c0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0040de50
mov edi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
push ecx
mov ecx, 0x534938
call fcn.004063d0
mov edx, dword [0x5166c0]
mov ecx, dword [edi]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x10]
push str.proto
push ecx
push edx
push eax
add esi, 0xc
push str._s_cmd__shello_sNeoAudio_s_s_d
push esi
mov byte [esp + 0x48], 5
call fcn.004acb0b
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call fcn.004b2656
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x1c]
jmp 0x40631e
mov ecx, dword [0x52506c]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x20]
mov ecx, esi
push edx
mov byte [esp + 0x30], 6
call fcn.0040de50
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.cddb_hello__s_NeoAudio__s
push edx
mov byte [esp + 0x3c], 7
call fcn.004acb0b
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 6
call fcn.004b2656
lea eax, [esp + 0x14]
push ebx
push eax
mov ecx, esi
call fcn.00406850
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x14]
call fcn.004b2656
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b2656
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0x1c]
push 0xc1c
push ecx
mov ecx, 0x5bd568
call fcn.00442120
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.004b278f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.004b2656
mov edx, dword [esp + 0x10]
push ebx
push ebx
push edx
call fcn.004c0fde
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.004b2656
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b2656
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret