Function at 0x40c1c0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Resolve function by parsing pe exports
Set current directory
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x45f48f
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484904]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
cmp byte [ebx + 0x181], 1
jne 0x40c822
mov ecx, dword [ebx + 0x200]
call fcn.004162b0
sub esp, 0xc
mov ebp, eax
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov ecx, ebp
call fcn.00422420
call fcn.0040d030
add esp, 0xc
cmp eax, 8
jne 0x40c2a5
mov ecx, dword [ebx + 0x200]
push 0x3e7
call fcn.00416370
test al, al
je 0x40c806
call fcn.00409040
lea ecx, [esp + 0x18]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 0x54]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push 0
push ecx
mov dword [esp + 0x68], 1
mov dword [esp + 0x74], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40c806
mov ecx, ebx
call fcn.0040a610
lea ecx, [esp + 0x38]
call fcn.0041f550
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x11c], edi
call fcn.0041f550
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 1
call fcn.0041f550
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 2
call fcn.0041f550
mov ecx, ebp
mov byte [esp + 0x11c], 3
mov dword [esp + 0x1c], edi
call fcn.00422650
test eax, eax
jle 0x40c7bf
push edi
mov ecx, ebp
call fcn.00422630
mov ecx, eax
call fcn.00420b80
test eax, eax
jne 0x40c7a9
lea edx, [esp + 0x90]
push edx
push edi
mov ecx, ebp
call fcn.00422630
mov ecx, eax
call fcn.00422420
mov eax, dword [esp + 0x94]
push eax
call fcn.00444348
add esp, 4
lea ecx, [esp + 0x90]
mov esi, eax
call fcn.0041f1d0
mov ecx, dword [ebx + 0x200]
push esi
call fcn.00416370
test al, al
je 0x40c7a9
push edi
mov ecx, ebp
xor esi, esi
call fcn.00422630
mov ecx, eax
call fcn.00420bb0
test eax, eax
jle 0x40c7a9
lea ecx, [ecx]
lea ecx, [esp + 0x9c]
push ecx
push esi
push edi
mov ecx, ebp
call fcn.00422630
mov ecx, eax
call fcn.00420b90
mov ecx, eax
call fcn.00425da0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 4
call fcn.0041f3c0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x11c], 3
call fcn.0041f1d0
push esi
push edi
mov ecx, ebp
call fcn.00422630
mov ecx, eax
call fcn.00420b90
mov ecx, eax
call fcn.00425d90
sub eax, 9
je 0x40c781
sub eax, 1
je 0x40c776
sub eax, 1
jne 0x40c78f
sub esp, 0xc
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041f330
lea eax, [esp + 0xfc]
push eax
call fcn.00403c40
add esp, 0x10
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 5
call fcn.0041f3c0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x11c], 3
call fcn.0041f1d0
sub esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041f330
lea eax, [esp + 0x114]
push eax
call fcn.00403c40
mov eax, dword [eax + 4]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x108]
call fcn.0041f1d0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str.HTTP:__
call fcn.0041f3f0
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x130], 6
call fcn.0041f620
mov byte [esp + 0x12c], 7
mov ecx, eax
mov byte [esp + 0x12c], 8
call fcn.0041f290
cmp eax, 1
lea ecx, [esp + 0xb4]
sete bl
mov byte [esp + 0x11c], 3
call fcn.0041f1d0
test bl, bl
je 0x40c4ef
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
call fcn.0041f3c0
jmp 0x40c6d5
push 0x467770
lea ecx, [esp + 0x48]
call fcn.0041f260
test al, al
je 0x40c627
push 0x467b50
lea ecx, [esp + 0x70]
call fcn.0041f3f0
push 0x4678e4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x120], 9
call fcn.0041f3f0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x128], 0xa
call fcn.0040a130
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x104]
push edx
mov byte [esp + 0x128], 0xb
call fcn.0040a130
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x128], 0xc
call fcn.0040a130
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x50]
push edx
push eax
push ecx
mov byte [esp + 0x134], 0xd
call fcn.0040a130
lea eax, [esp + 0xf0]
push eax
call fcn.00403c40
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0xe
call fcn.0041f3c0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x11c], 0xd
call fcn.0041f1d0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x11c], 0xc
call fcn.0041f1d0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x11c], 0xb
call fcn.0041f1d0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x11c], 0xa
call fcn.0041f1d0
lea ecx, [esp + 0x78]
mov byte [esp + 0x11c], 9
call fcn.0041f1d0
lea ecx, [esp + 0x6c]
jmp 0x40c6c8
push 0x4678e4
lea ecx, [esp + 0x88]
call fcn.0041f3f0
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x128], 0xf
call fcn.0040a130
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
mov byte [esp + 0x134], 0x10
call fcn.0040a130
lea eax, [esp + 0xcc]
push eax
call fcn.00403c40
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x11
call fcn.0041f3c0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x11c], 0x10
call fcn.0041f1d0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x11c], 0xf
call fcn.0041f1d0
lea ecx, [esp + 0x84]
mov byte [esp + 0x11c], 3
call fcn.0041f1d0
push 0x467d6c
lea ecx, [esp + 0x54]
push ecx
sub esp, 0xc
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0041f330
lea edi, [esp + 0x74]
call fcn.0040a2c0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x124], 0x12
call fcn.0041f620
mov ecx, eax
mov byte [esp + 0x120], 0x13
call fcn.0041f200
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x11c], 0x12
call fcn.0041f1d0
mov ecx, edi
mov byte [esp + 0x11c], 3
call fcn.0041f1d0
test bl, bl
push 5
je 0x40c759
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x40c78f
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x40c78f
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
jmp 0x40c78a
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
call fcn.0041f3c0
push edi
mov ecx, ebp
add esi, 1
call fcn.00422630
mov ecx, eax
call fcn.00420bb0
cmp esi, eax
jl 0x40c380
add edi, 1
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.00422650
cmp edi, eax
jl 0x40c304
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 2
call fcn.0041f1d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 1
call fcn.0041f1d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 0
call fcn.0041f1d0
lea ecx, [esp + 0x38]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0041f1d0
mov ecx, ebx
call fcn.0040b200
mov ecx, dword [ebx + 0x20]
push 0
push 0x64
push 8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40c942
mov ecx, 0x491520
call fcn.00419330
mov esi, eax
test esi, esi
jne 0x40c862
cmp dword [ebx + 0x204], 7
jne 0x40c942
push eax
mov ecx, ebx
call fcn.00427738
mov ecx, ebx
call fcn.0040b200
mov edx, dword [ebx + 0x20]
push esi
push 0x64
push 8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40c942
cmp byte [0x486047], 0
je 0x40c93a
mov ecx, dword [ebx + 0x1fc]
mov byte [ebx + 0x181], 1
call fcn.00418390
mov ecx, dword [ebx + 0x200]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004182f0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, dword [ebx + 0x200]
mov dword [esp + 0x138], 0x14
call fcn.0041bac0
or edi, 0xffffffff
mov ecx, ebx
mov dword [esp + 0x134], edi
call fcn.0040b650
mov ecx, dword [ebx + 0x200]
push esi
call fcn.00416620
mov ecx, dword [ebx + 0x200]
call fcn.004162c0
push 0
lea ecx, [ebx + 0x74]
mov dword [ebx + 0x204], 9
call fcn.00427774
lea esi, [ebx + 0xc8]
push 1
mov ecx, esi
call fcn.00427774
push 0x10
lea edx, [esp + 0x64]
push edx
mov ecx, 0x491608
call fcn.0041a8c0
mov eax, dword [eax + 4]
push eax
mov ecx, esi
mov dword [esp + 0x120], 0x15
call fcn.0042769e
lea ecx, [esp + 0x60]
mov dword [esp + 0x11c], edi
call fcn.0041f1d0
jmp 0x40c942
push esi
mov ecx, ebx
call fcn.0040b6e0
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret