Function at 0x4362b0
Capabilities:
Create process on windows
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cab1
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1bfc]
test ecx, ecx
jns 0x4362f1
xor eax, eax
jmp 0x436c4b
mov eax, dword [esi + 0x1acc]
mov ebx, dword [eax + ecx*4]
mov eax, dword [esi + 0x2560]
or eax, dword [esi + 0x2564]
mov dword [ebp - 0x420], ebx
jne 0x43633c
mov eax, dword [esi + 0x2568]
or eax, dword [esi + 0x256c]
jne 0x43633c
mov eax, dword [esi + 0x25e8]
or eax, dword [esi + 0x25ec]
jne 0x43633c
mov eax, dword [esi + 0x24b0]
or eax, dword [esi + 0x24b4]
jne 0x43633c
xor ecx, ecx
jmp 0x436341
mov ecx, 1
mov eax, dword [ebx + 8]
mov dword [ebp - 0x414], ecx
cmp word [eax], 0
je 0x43637b
test byte [ebx + 0x1c], 2
je 0x43635a
test ecx, ecx
je 0x43637b
test eax, eax
mov ecx, 0x4c2758
cmovne ecx, eax
xor eax, eax
cmp dword [ebp + 8], eax
sete al
or eax, 0x20000
push eax
push 0
push ecx
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov edx, dword [ebx + 0x1c]
mov eax, 4
mov ecx, edx
mov edi, edx
and ecx, 0x200
mov ebx, edx
test al, dl
cmovne ecx, eax
mov eax, dword [ebp - 0x420]
mov eax, dword [eax + 0x10]
cmp word [eax], 0
je 0x43672b
test ecx, ecx
je 0x4363ce
mov eax, dword [ebp - 0x414]
cmp ecx, 0x200
jne 0x4363bd
test eax, eax
je 0x4363ce
cmp ecx, 4
jne 0x43672b
test eax, eax
je 0x43672b
push 0
lea ecx, [ebp - 0x508]
call fcn.00455d90
mov eax, dword [ebp - 0x420]
mov dword [ebp - 4], 0
push 0x4b8a24
mov dword [ebp - 0x4ec], 5
mov ecx, dword [eax + 0x1c]
mov edi, ecx
mov eax, dword [eax + 0x10]
shr edi, 4
mov dword [ebp - 0x42c], ecx
and edi, 1
test eax, eax
mov ecx, 0x4c2758
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x508]
call fcn.00455ef0
xor ebx, ebx
cmp dword [ebp - 0x4f4], ebx
jle 0x43670e
shl edi, 6
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x424], 0xffffffff
push 0
lea ecx, [ebp - 0x45c]
call fcn.00455d90
push 0
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 1
call fcn.00455d90
mov byte [ebp - 4], 2
mov dword [ebp - 0x440], 5
cmp ebx, dword [ebp - 0x4f4]
jge 0x436484
mov eax, dword [ebp - 0x4f0]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x10]
jmp 0x436486
xor eax, eax
push 0x4b8a30
push eax
lea ecx, [ebp - 0x45c]
call fcn.00455ef0
mov eax, dword [ebp - 0x448]
mov edi, 1
mov dword [ebp - 0x4cc], 1
cmp eax, edi
jle 0x4364db
cmp edi, eax
jge 0x4364c2
mov eax, dword [ebp - 0x444]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x4364c4
xor eax, eax
push eax
lea ecx, [ebp - 0x4e8]
call fcn.00456200
mov eax, dword [ebp - 0x448]
inc edi
cmp edi, eax
jl 0x4364b4
push 0
push 0x4b8a28
push 0x4b8a3c
lea ecx, [ebp - 0x4e8]
call fcn.004560c0
xor edi, edi
mov dword [ebp - 0x428], edi
test eax, eax
je 0x436525
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d522
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], edi
mov word [edi], ax
push 0
push 0x4b8a34
push 0x4b8a4c
push 0
push 0x4b8a44
push 0x4b8a70
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 3
call fcn.004560c0
push eax
push edi
lea ecx, [ebp - 0x4e8]
call fcn.00455f60
cmp dword [ebp - 0x448], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x4c0], 0
movlpd qword [ebp - 0x4b8], xmm0
movlpd qword [ebp - 0x4b0], xmm0
movlpd qword [ebp - 0x4a8], xmm0
movlpd qword [ebp - 0x4a0], xmm0
movlpd qword [ebp - 0x498], xmm0
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x4c8], 0x3c
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4bc], 0
jle 0x4365ce
mov eax, dword [ebp - 0x444]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
jmp 0x4365d0
xor eax, eax
mov dword [ebp - 0x4b8], eax
lea eax, [ebp - 0x4c8]
push eax
mov dword [ebp - 0x4b4], edi
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4366d0
test byte [ebp - 0x42c], 0x10
je 0x4366d0
cmp dword [ebp - 0x490], 0
je 0x4366d0
push 0x200
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
push 0xbcd
call fcn.00464390
lea eax, [ebp - 0x210]
push eax
push 0x4b8a50
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0042fd10
add esp, 0x10
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
push 0xbcd
call fcn.004643d0
push 0
mov ecx, esi
call fcn.00464650
push 0x64
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4366a8
mov ecx, esi
call fcn.00464de0
test eax, eax
jne 0x436688
push 0x64
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x436688
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, esi
call fcn.00464650
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
push 0xbcd
call fcn.004643d0
test edi, edi
je 0x4366e7
push edi
call fcn.0047d4ed
add esp, 4
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x4e8]
call fcn.00455e20
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0
call fcn.00455e20
inc ebx
cmp ebx, dword [ebp - 0x4f4]
jl 0x436442
lea ecx, [ebp - 0x508]
mov dword [ebp - 4], 0xffffffff
call fcn.00455e20
mov eax, dword [ebp - 0x420]
mov edi, dword [eax + 0x1c]
mov ebx, edi
test edi, 0x400
je 0x436b76
mov eax, dword [esi + 0x1ad4]
test eax, eax
je 0x436b76
cmp word [eax], 0
mov ecx, dword [ebp - 0x414]
je 0x436b7c
mov eax, dword [esi + 0x1adc]
lea edi, [esi + 0x1adc]
test eax, eax
je 0x436b7c
cmp word [eax], 0
je 0x436b7c
test ecx, ecx
jne 0x436783
test ebx, 0x800
jne 0x436b7c
or edx, 0xffffffff
mov dword [ebp - 0x438], 0xffffffff
mov ecx, 0x4b8a80
call fcn.0043a7d0
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
push 1
push 0
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.00440090
push ecx
lea eax, [ebp - 0x468]
mov ecx, esi
push eax
call fcn.00440230
push 1
lea eax, [ebp - 0x474]
mov ecx, esi
push eax
call fcn.00440370
mov eax, dword [ebp - 0x480]
test eax, eax
je 0x43684b
cmp dword [ebp - 0x47c], 0
mov ecx, eax
jne 0x436850
mov ecx, 0x4c2963
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xffffffff
test ecx, ecx
je 0x436876
or edx, 0xffffffff
call fcn.0043a7d0
mov dword [ebp - 0x41c], eax
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x468]
test ebx, ebx
je 0x43688f
cmp dword [ebp - 0x464], 0
mov eax, ebx
jne 0x436894
mov eax, 0x4c2963
push eax
lea ecx, [ebp - 0x41c]
call fcn.0043a570
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x4368b3
cmp dword [ebp - 0x470], 0
jne 0x4368b8
mov eax, 0x4c2963
push eax
lea ecx, [ebp - 0x41c]
call fcn.0043a570
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x41c]
test eax, eax
mov ecx, 0x4c2758
cmovne ecx, eax
call fcn.00446750
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x43c]
test eax, eax
mov ecx, 0x4c2758
cmovne ecx, eax
call fcn.00446750
or edx, 0xffffffff
mov dword [ebp - 0x45c], 0
mov ecx, 0x4b8a78
mov dword [ebp - 0x458], 0xffffffff
call fcn.0043a7d0
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 9
mov ecx, 0x4c2758
mov eax, dword [ebp - 0x41c]
test eax, eax
mov dword [ebp - 0x454], 0
cmovne ecx, eax
mov dword [ebp - 0x450], 0xffffffff
or edx, 0xffffffff
call fcn.0043a7d0
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 0xa
or edx, 0xffffffff
mov ecx, 0x4b8ab4
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xffffffff
call fcn.0043a7d0
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 0xb
mov ecx, 0x4c2758
mov eax, dword [ebp - 0x43c]
test eax, eax
mov dword [ebp - 0x444], 0
cmovne ecx, eax
mov dword [ebp - 0x440], 0xffffffff
or edx, 0xffffffff
call fcn.0043a7d0
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x45c]
push eax
push ecx
lea ecx, [ebp - 0x4e8]
call fcn.0043a3a0
push 0x436c70
push 2
push 0x10
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 0xe
push eax
call fcn.0047d3be
push edi
lea ecx, [ebp - 0x428]
call fcn.0043a640
mov byte [ebp - 4], 0xf
mov eax, dword [edi]
test eax, eax
mov edi, 0x4c2758
mov ecx, edi
cmovne ecx, eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.0045d2c0
lea edx, [ebp - 0x428]
mov ecx, eax
call fcn.004469b0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xffffffff
mov byte [ebp - 4], 0x11
mov eax, edi
mov edi, dword [ebp - 0x428]
test edi, edi
cmovne eax, edi
push eax
push 0x4b8aa8
call fcn.0045a020
mov ecx, dword [ebp - 0x424]
add esp, 0xc
test ecx, ecx
jns 0x436a97
test edi, edi
jne 0x436a88
xor ecx, ecx
jmp 0x436a9d
mov ecx, edi
call fcn.0042ea40
mov ecx, eax
mov dword [ebp - 0x424], ecx
mov edx, edi
test edi, edi
jne 0x436aa2
mov edx, 0x4c2758
mov eax, dword [esi + 0x1ad4]
mov ebx, 0x4c2758
test eax, eax
push 0
cmovne ebx, eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x48c]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0045d2c0
xor edx, edx
mov ecx, eax
call fcn.00460000
mov eax, dword [ebp - 0x434]
add esp, 0x14
mov ebx, dword [ebp - 0x468]
test eax, eax
je 0x436afa
push eax
call fcn.0047d4ed
add esp, 4
mov dword [ebp - 0x434], 0
push dword [ebp - 0x48c]
mov dword [ebp - 0x430], 0xffffffff
call fcn.00486e21
add esp, 4
test edi, edi
je 0x436b1f
push edi
call fcn.0047d4ed
add esp, 4
lea ecx, [ebp - 0x4e8]
call fcn.00436cc0
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x436b3d
push eax
call fcn.0047d4ed
add esp, 4
push dword [ebp - 0x474]
call fcn.00486e21
push ebx
call fcn.00486e21
push dword [ebp - 0x480]
call fcn.00486e21
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x436b76
push eax
call fcn.0047d4ed
add esp, 4
mov ecx, dword [ebp - 0x414]
mov ebx, dword [ebp - 0x420]
mov eax, dword [ebx + 0x1c]
test eax, 0x1c0
je 0x436c46
cmp dword [ebx + 0x18], 0
jl 0x436c46
test ecx, ecx
je 0x436ba6
test al, 4
jne 0x436c46
push esi
lea ecx, [ebp - 0xb8]
call fcn.00448230
mov dword [ebp - 4], 0x12
mov eax, dword [ebx + 0x1c]
mov esi, eax
shr esi, 5
and esi, 1
test al, 0x40
je 0x436bcf
mov eax, 0x51
jmp 0x436bdc
test al, 0x80
mov eax, 0
setne al
add eax, 0x4f
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x436bf5
push eax
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004482d0
cmp eax, 1
jne 0x436c3b
mov ecx, str.SeShutdownPrivilege
call fcn.0045afc0
mov eax, dword [ebx + 0x1c]
test al, 0x40
je 0x436c11
push esi
push 1
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
jmp 0x436c3b
test al, al
jns 0x436c20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
jmp 0x436c3b
test eax, 0x100
je 0x436c3b
push 0x80040000
push 0
push esi
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExA]
lea ecx, [ebp - 0xb8]
call fcn.004482c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 4