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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a04d
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 0x404b4b
push 0xffffffffffffffff
push 0x10
push 0xbd0
call fcn.00424e1a
jmp 0x404ec7
push 0x404403
call fcn.0042fc47
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.004269bd
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.00426acf
mov ecx, esi
call fcn.0042711e
push ebx
push str.042B0D65_EF5B_4E3F_ADFF_86C726E4F053
push ebx
lea ecx, [esp + 0x40]
call fcn.0042788a
mov dword [esp + 0x2a8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404c24
lea ecx, [esp + 0x14]
call fcn.00409202
mov byte [esp + 0x2a8], 1
mov esi, 0xbcb
push esi
lea ecx, [esp + 0x18]
call fcn.00401963
test eax, eax
jne 0x404bf3
call fcn.00423496
call fcn.00425722
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.00424dd1
mov byte [esp + 0x2a8], bl
lea ecx, [esp + 0x14]
jmp 0x404eb1
push esi
call fcn.00404a71
mov edi, esi
call fcn.004047d8
push str.SlimWare_Utilities_Inc
mov ecx, esi
call fcn.0042790f
call fcn.00425722
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.00409202
mov byte [esp + 0x2a8], 2
push dword [edi]
lea eax, [esp + 0x28]
push str._sRegistration
push eax
call fcn.00402c37
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.00405276
test eax, eax
je 0x404cd1
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.00405276
test eax, eax
je 0x404cf5
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.00405244
test eax, eax
jne 0x404d24
cmp dword [esp + 0x18], 0x10
je 0x404d31
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.00405244
test eax, eax
jne 0x404d5f
cmp dword [esp + 0x18], 0x10
je 0x404d6c
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 0x404d96
push ebx
push ebx
push 1
push 0x40000015
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 4
call fcn.0041c566
pop ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x2a8], 5
cmp eax, ebx
je 0x404dea
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x1bc]
call fcn.00409b91
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.0040625f
jmp 0x404dec
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 0x404e1f
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x28]
call fcn.0040922c
mov edi, dword [edi]
push str.InstallerInvoked
push edi
call fcn.004063c2
push ebx
push ebx
push ebx
push ebx
mov edi, 0x454a4c
push edi
call fcn.00428517
push eax
push edi
call fcn.004240bb
pop ecx
mov dword [esi + 0xbc], eax
pop ecx
lea eax, [esp + 0x54]
push eax
call fcn.004032ad
mov byte [esp + 0x2a8], 8
lea eax, [esp + 0x54]
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.004225a5
push dword [esp + 0x30]
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x2a8], 4
lea ecx, [esp + 0x54]
call fcn.00403383
mov byte [esp + 0x2a8], 3
lea ecx, [esp + 0x20]
call fcn.00402c1b
mov byte [esp + 0x2a8], 2
lea ecx, [esp + 0x14]
call fcn.00402c1b
mov byte [esp + 0x2a8], bl
lea ecx, [esp + 0x24]
call fcn.0040922c
or dword [esp + 0x2a8], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.004278d2
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.0042f20b
mov esp, ebp
pop ebp
ret