Function at 0x46af77
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
call fcn.0046b240
mov dword [0x61493c], 1
mov ebx, dword [0x6148b4]
add ebx, 4
mov dword [ebp - 8], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 8]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x46afe5
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46aff8
push ebx
call fcn.0055dd85
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push str.Mutex.
mov ecx, 2
call fcn.004036b1
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46b03f
push ebx
call fcn.0055dd85
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push 0
push 0x1f0001
call dword [0x614b28]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x46b06b
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46b07e
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
push htons
push 0
push 0x4716ad
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x46b0ec
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x46b111
push 6
call fcn.0055dd91
add esp, 4
push htons
push 0
push 0x47208f
push 1
mov ebx, 0x9dc
call fcn.0055f060
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 8]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x46b179
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x46b19e
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 8], esp
push 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x46b1c5
push 6
call fcn.0055dd91
add esp, 4
mov dword [0x61493c], 0
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x46b1f1
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x46b213
push 6
call fcn.0055dd91
add esp, 4
push dword [0x6148bc]
push 0x6148b8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
push 0x6148b8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.0046b249
mov esp, ebp
pop ebp
ret