Function at 0x40c660
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Set current directory
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x450eb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push ebp
mov ebx, ecx
cmp byte [ebx + 0x171], 1
push esi
push edi
mov dword [esp + 0x10], ebx
jne 0x40cc62
mov ecx, dword [ebx + 0x1f0]
call fcn.00416850
sub esp, 0xc
mov edi, eax
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, edi
call fcn.00424d60
call fcn.0040d5a0
add esp, 0xc
cmp eax, 8
jne 0x40c737
mov ecx, dword [ebx + 0x1f0]
push 0x3e7
call fcn.00416af0
test al, al
je 0x40cc4d
call fcn.00409d80
lea ecx, [esp + 0x10]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 0x40]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
push 0
push ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x60], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40cc4d
mov ecx, ebx
call fcn.0040ade0
lea ecx, [esp + 0x30]
call fcn.00421860
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x108], ebp
call fcn.00421860
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 1
call fcn.00421860
lea ecx, [esp + 0x4c]
mov byte [esp + 0x108], 2
call fcn.00421860
mov ecx, edi
mov byte [esp + 0x108], 3
call fcn.00424fc0
test eax, eax
jle 0x40cc06
push ebp
mov ecx, edi
call fcn.00424fa0
mov ecx, eax
call fcn.00423170
test eax, eax
jne 0x40cbf4
lea edx, [esp + 0x94]
push edx
push ebp
mov ecx, edi
call fcn.00424fa0
mov ecx, eax
call fcn.00423180
mov eax, dword [esp + 0x98]
push eax
call fcn.00433cf5
add esp, 4
lea ecx, [esp + 0x94]
mov esi, eax
call fcn.00421510
mov ecx, dword [ebx + 0x1f0]
push esi
call fcn.00416af0
test al, al
je 0x40cbf4
push ebp
mov ecx, edi
xor esi, esi
call fcn.00424fa0
mov ecx, eax
call fcn.004231f0
test eax, eax
jle 0x40cbf4
jmp 0x40c810
lea ecx, [esp + 0xb8]
push ecx
push esi
push ebp
mov ecx, edi
call fcn.00424fa0
mov ecx, eax
call fcn.004231d0
mov ecx, eax
call fcn.00428510
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x10c], 4
call fcn.00421710
lea ecx, [esp + 0xb8]
mov byte [esp + 0x108], 3
call fcn.00421510
push esi
push ebp
mov ecx, edi
call fcn.00424fa0
mov ecx, eax
call fcn.004231d0
mov ecx, eax
call fcn.00428500
sub eax, 9
je 0x40cbcc
sub eax, 1
je 0x40cbc1
sub eax, 1
jne 0x40cbda
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x50]
call fcn.00421710
sub esp, 0xc
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004216a0
lea ecx, [esp + 0xdc]
push ecx
call fcn.00404370
mov eax, dword [eax + 4]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0xd0]
call fcn.00421510
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str.HTTP:__
call fcn.00421740
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 5
call fcn.00421950
mov ecx, eax
mov byte [esp + 0x118], 7
call fcn.00421600
cmp eax, 1
lea ecx, [esp + 0xe8]
sete bl
mov byte [esp + 0x108], 3
call fcn.00421510
test bl, bl
je 0x40c93c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00421710
jmp 0x40cb25
push 0x4566bf
lea ecx, [esp + 0x50]
call fcn.004215a0
test al, al
je 0x40ca80
push 0x456848
lea ecx, [esp + 0xb0]
call fcn.00421740
push 0x456828
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10c], 8
call fcn.00421740
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x114], 9
call fcn.0040a830
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0xfc]
push edx
mov byte [esp + 0x114], 0xa
call fcn.0040a830
lea ecx, [esp + 0xac]
push ecx
push eax
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x114], 0xb
call fcn.0040a830
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x58]
push edx
push eax
push ecx
mov byte [esp + 0x120], 0xc
call fcn.0040a830
lea eax, [esp + 0xd0]
push eax
call fcn.00404370
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 0xd
call fcn.00421710
lea ecx, [esp + 0xc4]
mov byte [esp + 0x108], 0xc
call fcn.00421510
lea ecx, [esp + 0xdc]
mov byte [esp + 0x108], 0xb
call fcn.00421510
lea ecx, [esp + 0xf4]
mov byte [esp + 0x108], 0xa
call fcn.00421510
lea ecx, [esp + 0x58]
mov byte [esp + 0x108], 9
call fcn.00421510
lea ecx, [esp + 0x88]
mov byte [esp + 0x108], 8
call fcn.00421510
lea ecx, [esp + 0xac]
jmp 0x40cb18
push 0x456828
lea ecx, [esp + 0xa4]
call fcn.00421740
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x114], 0xe
call fcn.0040a830
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x30]
push edx
push eax
push ecx
mov byte [esp + 0x120], 0xf
call fcn.0040a830
lea eax, [esp + 0x70]
push eax
call fcn.00404370
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 0x10
call fcn.00421710
lea ecx, [esp + 0x64]
mov byte [esp + 0x108], 0xf
call fcn.00421510
lea ecx, [esp + 0x7c]
mov byte [esp + 0x108], 0xe
call fcn.00421510
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 3
call fcn.00421510
push 0x456bf4
lea ecx, [esp + 0x74]
push ecx
sub esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004216a0
lea eax, [esp + 0x50]
push eax
call fcn.0040a9b0
add esp, 0x10
mov ecx, eax
mov byte [esp + 0x110], 0x11
call fcn.00421950
mov ecx, eax
mov byte [esp + 0x10c], 0x12
call fcn.00421540
lea ecx, [esp + 0x70]
mov bl, al
mov byte [esp + 0x108], 0x11
call fcn.00421510
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], 3
call fcn.00421510
test bl, bl
push 5
je 0x40cba8
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, dword [esp + 0x10]
jmp 0x40cbda
mov edx, dword [esp + 0x20]
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, dword [esp + 0x10]
jmp 0x40cbda
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
jmp 0x40cbd5
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
call fcn.00421710
push ebp
mov ecx, edi
add esi, 1
call fcn.00424fa0
mov ecx, eax
call fcn.004231f0
cmp esi, eax
jl 0x40c810
mov ecx, edi
add ebp, 1
call fcn.00424fc0
cmp ebp, eax
jl 0x40c792
lea ecx, [esp + 0x4c]
mov byte [esp + 0x108], 2
call fcn.00421510
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 1
call fcn.00421510
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0
call fcn.00421510
lea ecx, [esp + 0x30]
mov dword [esp + 0x108], 0xffffffff
call fcn.00421510
mov edx, dword [ebx + 0x1c]
push 0
push 0x64
push 8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40ce45
mov ecx, 0x477618
call fcn.00419400
mov esi, eax
test esi, esi
jne 0x40cd65
cmp dword [ebx + 0x1f4], 7
jne 0x40ce45
push eax
mov ecx, ebx
call fcn.00442f68
push 0x3e
lea eax, [esp + 0x68]
push eax
mov ecx, 0x477708
call fcn.0041b570
mov esi, eax
push 0x3f
lea ecx, [esp + 0x80]
push ecx
mov ecx, 0x477708
mov dword [esp + 0x110], 0x13
call fcn.0041b570
mov edi, eax
push 0x13
lea edx, [esp + 0x74]
push edx
mov ecx, 0x477708
mov byte [esp + 0x110], 0x14
call fcn.0041b570
push edi
push eax
lea eax, [esp + 0x44]
mov bl, 0x15
push eax
mov byte [esp + 0x114], bl
call fcn.0040a830
mov esi, dword [esi + 4]
mov eax, dword [eax + 4]
push 0x40
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x114], 0x16
call fcn.004442ca
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], bl
call fcn.00421510
lea ecx, [esp + 0x70]
mov byte [esp + 0x108], 0x14
call fcn.00421510
lea ecx, [esp + 0x7c]
mov byte [esp + 0x108], 0x13
call fcn.00421510
lea ecx, [esp + 0x64]
mov dword [esp + 0x108], 0xffffffff
call fcn.00421510
mov ecx, dword [esi + 0x1c]
push 0
push 0x64
push 8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40ce45
cmp byte [0x46c147], 0
je 0x40ce3d
mov ecx, dword [ebx + 0x1ec]
mov byte [ebx + 0x171], 1
call fcn.00418740
mov ecx, dword [ebx + 0x1f0]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00416820
mov ecx, dword [ebx + 0x1f0]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x124], 0x17
call fcn.004167f0
or edi, 0xffffffff
mov ecx, ebx
mov dword [esp + 0x120], edi
call fcn.0040bb70
mov ecx, dword [ebx + 0x1f0]
push esi
call fcn.00416db0
mov ecx, dword [ebx + 0x1f0]
call fcn.00416860
push 0
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x1f4], 9
call fcn.00442fa4
lea esi, [ebx + 0xc0]
push 1
mov ecx, esi
call fcn.00442fa4
push 0x10
lea ecx, [esp + 0x5c]
push ecx
mov ecx, 0x477708
call fcn.0041b570
mov eax, dword [eax + 4]
push eax
mov ecx, esi
mov dword [esp + 0x10c], 0x18
call fcn.00442eee
lea ecx, [esp + 0x58]
mov dword [esp + 0x108], edi
call fcn.00421510
jmp 0x40ce45
push esi
mov ecx, ebx
call fcn.0040bbf0
mov ecx, dword [esp + 0x100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc
ret