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

Disassembly:
push 0xffffffffffffffff
push 0x461c4f
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486904]
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 0x40d742
mov ecx, dword [ebx + 0x200]
call fcn.00417160
sub esp, 0xc
mov ebp, eax
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov ecx, ebp
call fcn.00424510
call fcn.0040df50
add esp, 0xc
cmp eax, 8
jne 0x40d1c5
mov ecx, dword [ebx + 0x200]
push 0x3e7
call fcn.00417180
test al, al
je 0x40d726
call fcn.0040a020
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 0x40d726
mov ecx, ebx
call fcn.0040b530
lea ecx, [esp + 0x38]
call fcn.00421640
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x11c], edi
call fcn.00421640
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 1
call fcn.00421640
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 2
call fcn.00421640
mov ecx, ebp
mov byte [esp + 0x11c], 3
mov dword [esp + 0x1c], edi
call fcn.00424740
test eax, eax
jle 0x40d6df
push edi
mov ecx, ebp
call fcn.00424720
mov ecx, eax
call fcn.00422c70
test eax, eax
jne 0x40d6c9
lea edx, [esp + 0x90]
push edx
push edi
mov ecx, ebp
call fcn.00424720
mov ecx, eax
call fcn.00424510
mov eax, dword [esp + 0x94]
push eax
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x90]
mov esi, eax
call fcn.004212c0
mov ecx, dword [ebx + 0x200]
push esi
call fcn.00417180
test al, al
je 0x40d6c9
push edi
mov ecx, ebp
xor esi, esi
call fcn.00424720
mov ecx, eax
call fcn.00422ca0
test eax, eax
jle 0x40d6c9
lea ecx, [ecx]
lea ecx, [esp + 0x9c]
push ecx
push esi
push edi
mov ecx, ebp
call fcn.00424720
mov ecx, eax
call fcn.00422c80
mov ecx, eax
call fcn.00427fd0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 4
call fcn.004214b0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x11c], 3
call fcn.004212c0
push esi
push edi
mov ecx, ebp
call fcn.00424720
mov ecx, eax
call fcn.00422c80
mov ecx, eax
call fcn.00427fc0
sub eax, 9
je 0x40d6a1
sub eax, 1
je 0x40d696
sub eax, 1
jne 0x40d6af
sub esp, 0xc
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00421420
lea eax, [esp + 0xfc]
push eax
call fcn.004045e0
add esp, 0x10
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 5
call fcn.004214b0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x11c], 3
call fcn.004212c0
sub esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00421420
lea eax, [esp + 0x114]
push eax
call fcn.004045e0
mov eax, dword [eax + 4]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x108]
call fcn.004212c0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str.HTTP:__
call fcn.004214e0
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x130], 6
call fcn.00421710
mov byte [esp + 0x12c], 7
mov ecx, eax
mov byte [esp + 0x12c], 8
call fcn.00421380
cmp eax, 1
lea ecx, [esp + 0xb4]
sete bl
mov byte [esp + 0x11c], 3
call fcn.004212c0
test bl, bl
je 0x40d40f
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
call fcn.004214b0
jmp 0x40d5f5
push 0x469790
lea ecx, [esp + 0x48]
call fcn.00421350
test al, al
je 0x40d547
push 0x469b70
lea ecx, [esp + 0x70]
call fcn.004214e0
push 0x469904
lea ecx, [esp + 0x7c]
mov byte [esp + 0x120], 9
call fcn.004214e0
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.0040b050
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x104]
push edx
mov byte [esp + 0x128], 0xb
call fcn.0040b050
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x128], 0xc
call fcn.0040b050
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.0040b050
lea eax, [esp + 0xf0]
push eax
call fcn.004045e0
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0xe
call fcn.004214b0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x11c], 0xd
call fcn.004212c0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x11c], 0xc
call fcn.004212c0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x11c], 0xb
call fcn.004212c0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x11c], 0xa
call fcn.004212c0
lea ecx, [esp + 0x78]
mov byte [esp + 0x11c], 9
call fcn.004212c0
lea ecx, [esp + 0x6c]
jmp 0x40d5e8
push 0x469904
lea ecx, [esp + 0x88]
call fcn.004214e0
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.0040b050
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.0040b050
lea eax, [esp + 0xcc]
push eax
call fcn.004045e0
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 0x11
call fcn.004214b0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x11c], 0x10
call fcn.004212c0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x11c], 0xf
call fcn.004212c0
lea ecx, [esp + 0x84]
mov byte [esp + 0x11c], 3
call fcn.004212c0
push 0x469eec
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.00421420
lea edi, [esp + 0x74]
call fcn.0040b1e0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x124], 0x12
call fcn.00421710
mov ecx, eax
mov byte [esp + 0x120], 0x13
call fcn.004212f0
lea ecx, [esp + 0x50]
mov bl, al
mov byte [esp + 0x11c], 0x12
call fcn.004212c0
mov ecx, edi
mov byte [esp + 0x11c], 3
call fcn.004212c0
test bl, bl
push 5
je 0x40d679
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x40d6af
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x40d6af
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
jmp 0x40d6aa
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
call fcn.004214b0
push edi
mov ecx, ebp
add esi, 1
call fcn.00424720
mov ecx, eax
call fcn.00422ca0
cmp esi, eax
jl 0x40d2a0
add edi, 1
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.00424740
cmp edi, eax
jl 0x40d224
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 2
call fcn.004212c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 1
call fcn.004212c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 0
call fcn.004212c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004212c0
mov ecx, ebx
call fcn.0040c120
mov ecx, dword [ebx + 0x20]
push 0
push 0x64
push 8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40d862
mov ecx, 0x493528
call fcn.0041a2b0
mov esi, eax
test esi, esi
jne 0x40d782
cmp dword [ebx + 0x204], 7
jne 0x40d862
push eax
mov ecx, ebx
call fcn.00429c47
mov ecx, ebx
call fcn.0040c120
mov edx, dword [ebx + 0x20]
push esi
push 0x64
push 8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40d862
cmp byte [0x488047], 0
je 0x40d85a
mov ecx, dword [ebx + 0x1fc]
mov byte [ebx + 0x181], 1
call fcn.0041d3f0
mov ecx, dword [ebx + 0x200]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00417130
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.0041d3c0
or edi, 0xffffffff
mov ecx, ebx
mov dword [esp + 0x134], edi
call fcn.0040c570
mov ecx, dword [ebx + 0x200]
push esi
call fcn.00417430
mov ecx, dword [ebx + 0x200]
call fcn.004010f0
push 0
lea ecx, [ebx + 0x74]
mov dword [ebx + 0x204], 9
call fcn.00429c83
lea esi, [ebx + 0xc8]
push 1
mov ecx, esi
call fcn.00429c83
push 0x10
lea edx, [esp + 0x64]
push edx
mov ecx, 0x493610
call fcn.0041b840
mov eax, dword [eax + 4]
push eax
mov ecx, esi
mov dword [esp + 0x120], 0x15
call fcn.00429bad
lea ecx, [esp + 0x60]
mov dword [esp + 0x11c], edi
call fcn.004212c0
jmp 0x40d862
push esi
mov ecx, ebx
call fcn.0040c600
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret