Function at 0x413330
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c86df
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x50b0cc]
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 - 0x2c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], 0
push 7
push str.Desktop
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00403680
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0x40
push 0x4f47a8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00403680
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], reloc.WS2_32.dll_accept
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.004131b0
add esp, 8
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x4133ef
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403a20
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x41341a
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00403a20
sub esp, 0x18
mov dword [ebp - 0x4c], 0xf
mov ecx, esp
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x413449
mov eax, dword [ecx]
jmp 0x41344b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00403780
lea ecx, [ebp - 0x78]
call fcn.00413090
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x413474
mov edx, dword [edx]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41349a
mov eax, dword [esi]
jmp 0x41349c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x4134bf
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4134b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004033e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], 1
cmp eax, 8
jb 0x4134e8
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00404050
cmp dword [ebp - 0x18], 0
jne 0x413550
mov edx, 0x4d0950
lea ecx, [ebp - 0x78]
call fcn.004137f0
mov edi, eax
cmp esi, edi
je 0x41353b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x413514
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404050
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41352c
mov eax, dword [esi]
jmp 0x41352e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00409830
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x413550
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00404050
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x413565
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403a20
mov eax, esi
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.00488d6f
mov esp, ebp
pop ebp
ret