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

Disassembly:
push 0xffffffffffffffff
push 0x461e34
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 + 0x181], 1
push esi
push edi
mov dword [esp + 0x14], ebx
jne 0x40cd91
mov ecx, dword [ebx + 0x200]
call fcn.00416ca0
sub esp, 0xc
mov edi, eax
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, edi
call fcn.00425590
call fcn.0040d650
add esp, 0xc
cmp eax, 8
jne 0x40c867
mov ecx, dword [ebx + 0x200]
push 0x3e7
call fcn.00416f60
test al, al
je 0x40cd7c
call fcn.00409b90
lea ecx, [esp + 0x14]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 0x4c]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
push 0
push ecx
mov dword [esp + 0x60], 1
mov dword [esp + 0x6c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40cd7c
mov ecx, ebx
call fcn.0040af10
lea ecx, [esp + 0x30]
call fcn.00421fb0
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x108], ebp
call fcn.00421fb0
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 1
call fcn.00421fb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], 2
call fcn.00421fb0
mov ecx, edi
mov byte [esp + 0x108], 3
call fcn.004257f0
test eax, eax
jle 0x40cd35
push ebp
mov ecx, edi
call fcn.004257d0
mov ecx, eax
call fcn.004239d0
test eax, eax
jne 0x40cd23
lea edx, [esp + 0x88]
push edx
push ebp
mov ecx, edi
call fcn.004257d0
mov ecx, eax
call fcn.004239e0
mov eax, dword [esp + 0x8c]
push eax
call fcn.00446971
add esp, 4
lea ecx, [esp + 0x88]
mov esi, eax
call fcn.00421ba0
mov ecx, dword [ebx + 0x200]
push esi
call fcn.00416f60
test al, al
je 0x40cd23
push ebp
mov ecx, edi
xor esi, esi
call fcn.004257d0
mov ecx, eax
call fcn.00423a50
test eax, eax
jle 0x40cd23
jmp 0x40c940
lea ecx, [esp + 0x94]
push ecx
push esi
push ebp
mov ecx, edi
call fcn.004257d0
mov ecx, eax
call fcn.00423a30
mov ecx, eax
call fcn.00428ef0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x10c], 4
call fcn.00421e20
lea ecx, [esp + 0x94]
mov byte [esp + 0x108], 3
call fcn.00421ba0
push esi
push ebp
mov ecx, edi
call fcn.004257d0
mov ecx, eax
call fcn.00423a30
mov ecx, eax
call fcn.00428ee0
sub eax, 9
je 0x40ccfb
sub eax, 1
je 0x40ccf0
sub eax, 1
jne 0x40cd09
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x40]
call fcn.00421e20
sub esp, 0xc
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00421d90
lea ecx, [esp + 0xe8]
push ecx
call fcn.00404300
mov eax, dword [eax + 4]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0xdc]
call fcn.00421ba0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push str.HTTP:__
call fcn.00421e50
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 5
call fcn.004220b0
mov byte [esp + 0x118], 6
mov ecx, eax
mov byte [esp + 0x118], 7
call fcn.00421cf0
cmp eax, 1
lea ecx, [esp + 0xf4]
sete bl
mov byte [esp + 0x108], 3
call fcn.00421ba0
test bl, bl
je 0x40ca74
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00421e20
jmp 0x40cc54
push 0x468780
lea ecx, [esp + 0x40]
call fcn.00421c60
test al, al
je 0x40cbac
push 0x468ad8
lea ecx, [esp + 0x68]
call fcn.00421e50
push 0x468a68
lea ecx, [esp + 0x74]
mov byte [esp + 0x10c], 8
call fcn.00421e50
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x114], 9
call fcn.0040a980
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0xf0]
push edx
mov byte [esp + 0x114], 0xa
call fcn.0040a980
lea ecx, [esp + 0x64]
push ecx
push eax
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x114], 0xb
call fcn.0040a980
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
lea edx, [esp + 0x48]
push edx
push eax
push ecx
mov byte [esp + 0x120], 0xc
call fcn.0040a980
lea eax, [esp + 0xdc]
push eax
call fcn.00404300
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 0xd
call fcn.00421e20
lea ecx, [esp + 0xd0]
mov byte [esp + 0x108], 0xc
call fcn.00421ba0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x108], 0xb
call fcn.00421ba0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x108], 0xa
call fcn.00421ba0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 9
call fcn.00421ba0
lea ecx, [esp + 0x70]
mov byte [esp + 0x108], 8
call fcn.00421ba0
lea ecx, [esp + 0x64]
jmp 0x40cc47
push 0x468a68
lea ecx, [esp + 0x80]
call fcn.00421e50
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x114], 0xe
call fcn.0040a980
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
lea edx, [esp + 0x30]
push edx
push eax
push ecx
mov byte [esp + 0x120], 0xf
call fcn.0040a980
lea eax, [esp + 0xb8]
push eax
call fcn.00404300
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 0x10
call fcn.00421e20
lea ecx, [esp + 0xac]
mov byte [esp + 0x108], 0xf
call fcn.00421ba0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x108], 0xe
call fcn.00421ba0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x108], 3
call fcn.00421ba0
push 0x468e84
lea ecx, [esp + 0x4c]
push ecx
sub esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00421d90
lea eax, [esp + 0x6c]
push eax
call fcn.0040aad0
add esp, 0x10
mov ecx, eax
mov byte [esp + 0x110], 0x11
call fcn.004220b0
mov ecx, eax
mov byte [esp + 0x10c], 0x12
call fcn.00421bd0
lea ecx, [esp + 0x48]
mov bl, al
mov byte [esp + 0x108], 0x11
call fcn.00421ba0
lea ecx, [esp + 0x58]
mov byte [esp + 0x108], 3
call fcn.00421ba0
test bl, bl
push 5
je 0x40ccd7
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, dword [esp + 0x14]
jmp 0x40cd09
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 + 0x14]
jmp 0x40cd09
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
jmp 0x40cd04
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
call fcn.00421e20
push ebp
mov ecx, edi
add esi, 1
call fcn.004257d0
mov ecx, eax
call fcn.00423a50
cmp esi, eax
jl 0x40c940
mov ecx, edi
add ebp, 1
call fcn.004257f0
cmp ebp, eax
jl 0x40c8c2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x108], 2
call fcn.00421ba0
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 1
call fcn.00421ba0
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0
call fcn.00421ba0
lea ecx, [esp + 0x30]
mov dword [esp + 0x108], 0xffffffff
call fcn.00421ba0
mov edx, dword [ebx + 0x20]
push 0
push 0x64
push 8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40ceaa
mov ecx, 0x492500
call fcn.004198f0
mov esi, eax
test esi, esi
jne 0x40cdca
cmp dword [ebx + 0x204], 7
jne 0x40ceaa
push eax
mov ecx, ebx
call fcn.0042a9d8
mov eax, dword [ebx + 0x20]
push esi
push 0x64
push 8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40ceaa
cmp byte [0x487027], 0
je 0x40cea2
mov ecx, dword [ebx + 0x1fc]
mov byte [ebx + 0x181], 1
call fcn.00418c10
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, dword [ebx + 0x200]
call fcn.00416c70
mov ecx, dword [ebx + 0x200]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [esp + 0x124], 0x13
call fcn.00416c40
or edi, 0xffffffff
mov ecx, ebx
mov dword [esp + 0x120], edi
call fcn.0040bc90
mov ecx, dword [ebx + 0x200]
push esi
call fcn.00417230
mov ecx, dword [ebx + 0x200]
call fcn.00416cb0
push 0
lea ecx, [ebx + 0x74]
mov dword [ebx + 0x204], 9
call fcn.0042aa14
lea esi, [ebx + 0xc8]
push 1
mov ecx, esi
call fcn.0042aa14
push 0x10
lea eax, [esp + 0x5c]
push eax
mov ecx, 0x4925e4
call fcn.0041bb20
mov eax, dword [eax + 4]
push eax
mov ecx, esi
mov dword [esp + 0x10c], 0x14
call fcn.0042a93e
lea ecx, [esp + 0x58]
mov dword [esp + 0x108], edi
call fcn.00421ba0
jmp 0x40ceaa
push esi
mov ecx, ebx
call fcn.0040bd10
mov ecx, dword [esp + 0x100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc
ret