Function at 0x404b9c
Capabilities:
Initialize winsock library
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a00d
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x461de0]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x461de0]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
lea eax, [esp + 0x104]
push eax
xor ebx, ebx
push 0x202
mov esi, ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
je 0x404c0e
push 0xffffffffffffffff
push 0x10
push 0xbd0
call fcn.00424d7c
jmp 0x404f8a
push 0x4044c6
call fcn.0042fc07
pop ecx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 8
mov dword [esp + 0x44], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00426924
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.00426a36
mov ecx, esi
call fcn.00427085
push ebx
push str.042B0D65_EF5B_4E3F_ADFF_86C726E4F053
push ebx
lea ecx, [esp + 0x40]
call fcn.004277f1
mov dword [esp + 0x2a8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404ce7
lea ecx, [esp + 0x14]
call fcn.00409258
mov byte [esp + 0x2a8], 1
mov esi, 0xbcb
push esi
lea ecx, [esp + 0x18]
call fcn.0040199d
test eax, eax
jne 0x404cb6
call fcn.004233f9
call fcn.00425684
push dword [eax + 0x10]
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0040140f
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x1c]
call fcn.00424d33
mov byte [esp + 0x2a8], bl
lea ecx, [esp + 0x14]
jmp 0x404f74
push esi
call fcn.00404b34
mov edi, esi
call fcn.0040489b
push str.SlimWare_Utilities_Inc
mov ecx, esi
call fcn.00427876
call fcn.00425684
mov eax, dword [eax + 0x10]
lea edi, [esi + 0xb8]
push eax
mov ecx, edi
call fcn.0040165e
xor eax, eax
inc eax
lea ecx, [esp + 0x24]
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
call fcn.00409258
mov byte [esp + 0x2a8], 2
push dword [edi]
lea eax, [esp + 0x28]
push str._sRegistration
push eax
call fcn.00402d0f
add esp, 0xc
mov dword [esp + 0x14], ebx
mov byte [esp + 0x2a8], 3
mov dword [esp + 0x20], ebx
mov byte [esp + 0x2a8], 4
push str.SOFTWARESlimWare_Utilities_Inc
push reloc.OLEAUT32.dll_SysReAllocString
lea edi, [esp + 0x1c]
call fcn.00405339
test eax, eax
je 0x404d94
push ebx
push ebx
push 1
push 0x40000015
call dword [sym.imp.KERNEL32.dll_RaiseException]
push dword [esp + 0x24]
lea edi, [esp + 0x24]
push dword [esp + 0x18]
call fcn.00405339
test eax, eax
je 0x404db8
push ebx
push ebx
push 1
push 0x40000015
call dword [sym.imp.KERNEL32.dll_RaiseException]
lea ecx, [esp + 0x18]
push ecx
lea eax, [esi + 0xcc]
push eax
mov edi, str.MachineID
push edi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], 0x10
call fcn.00405307
test eax, eax
jne 0x404de7
cmp dword [esp + 0x18], 0x10
je 0x404df4
lea eax, [esi + 0xcc]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [esp + 0x18]
push ecx
lea eax, [esi + 0xdc]
push eax
push str.InstallationID
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x28], 0x10
call fcn.00405307
test eax, eax
jne 0x404e22
cmp dword [esp + 0x18], 0x10
je 0x404e2f
lea eax, [esi + 0xdc]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x10
lea eax, [esi + 0xcc]
push eax
push 3
push ebx
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x404e59
push ebx
push ebx
push 1
push 0x40000015
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 4
call fcn.0041c526
pop ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x2a8], 5
cmp eax, ebx
je 0x404ead
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x1bc]
call fcn.00409b38
mov byte [esp + 0x2a8], 6
mov eax, dword [eax]
lea ecx, [esi + 0xcc]
push ecx
lea ecx, [esi + 0xdc]
push ecx
push eax
push dword [esp + 0x38]
mov dword [esp + 0x2c], 1
call fcn.004062ca
jmp 0x404eaf
xor eax, eax
mov dword [esp + 0x2a8], 7
lea edi, [esi + 0x1b8]
mov dword [edi], eax
mov dword [esp + 0x2a8], 4
test byte [esp + 0x1c], 1
je 0x404ee2
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x28]
call fcn.00409282
mov edi, dword [edi]
push str.InstallerInvoked
push edi
call fcn.0040642d
push ebx
push ebx
push ebx
push ebx
mov edi, 0x454a1c
push edi
call fcn.0042847e
push eax
push edi
call fcn.0042401d
pop ecx
mov dword [esi + 0xbc], eax
pop ecx
lea eax, [esp + 0x54]
push eax
call fcn.00403370
mov byte [esp + 0x2a8], 8
lea eax, [esp + 0x54]
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.00422562
push dword [esp + 0x30]
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x2a8], 4
lea ecx, [esp + 0x54]
call fcn.00403446
mov byte [esp + 0x2a8], 3
lea ecx, [esp + 0x20]
call fcn.00402cf3
mov byte [esp + 0x2a8], 2
lea ecx, [esp + 0x14]
call fcn.00402cf3
mov byte [esp + 0x2a8], bl
lea ecx, [esp + 0x24]
call fcn.00409282
or dword [esp + 0x2a8], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00427839
xor eax, eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0042f1cb
mov esp, ebp
pop ebp
ret