Function at 0x4b3938
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4b3940
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d18
mov eax, dword [ebp - 8]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4b4018
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4c3bc4], 1
mov bl, 1
call fcn.004b9520
test al, al
jne 0x4b398c
call fcn.004b94a0
test al, al
je 0x4b3998
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466cd8
lea eax, [ebp - 0x20]
call fcn.00404868
lea edx, [ebp - 0x24]
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.004671fc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
call fcn.004691dc
cmp dword [ebp - 0x1c], 0
je 0x4b39e6
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x28]
mov eax, 6
call fcn.00409104
mov eax, dword [ebp - 0x28]
call fcn.00404d28
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404a60
push 0x4c3be0
mov eax, dword [0x4c3be0]
call fcn.00404b28
mov ecx, eax
mov edx, 6
mov eax, dword [0x4c3be0]
call fcn.00404d88
mov eax, dword [0x4c3be0]
call fcn.00409134
mov dword [0x4c3b9c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.004b9080
mov eax, dword [ebp - 0x30]
mov ecx, 5
mov edx, 1
call fcn.00404d88
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [0x4c3b9c]
call fcn.00408fc8
mov ecx, dword [ebp - 0x34]
mov eax, 0x4c3be0
pop edx
call fcn.00404b74
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
lea edx, [ebp - 0x3c]
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x31c]
call fcn.0044719c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408bf8
push dword [ebp - 0x38]
push 0x4b4030
lea edx, [ebp - 0x40]
mov eax, dword [0x4c3b9c]
call fcn.00408fc8
push dword [ebp - 0x40]
push 0x4b4030
call fcn.0040aaa4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x44]
mov eax, 0x4b403c
call fcn.0040b708
push dword [ebp - 0x44]
push 0x4b4030
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404be8
push dword [ebp - 0x10]
push dword [0x4c3bcc]
push 0x4b4030
push dword [0x4c3bd0]
push 0x4b4030
push 0x4b4058
push 0x4b4030
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
call fcn.004b97f8
push dword [ebp - 0x48]
call fcn.004b9890
lea edx, [ebp - 0x4c]
call fcn.00408fc8
push dword [ebp - 0x4c]
push 0x4b4030
push dword [ebp - 4]
push 0x4b4064
push dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edx, 0xe
call fcn.00404be8
lea eax, [ebp - 0x50]
call fcn.004b9080
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x14]
call fcn.004089a8
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00468ef8
push dword [0x4c3bc8]
push 0x4b4074
push dword [ebp - 0x14]
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404be8
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
xor edx, edx
push ebp
push 0x4b3bbe
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x416808]
call fcn.0041b4e0
mov edi, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4af4d4]
call fcn.004af9bc
mov esi, eax
mov dword [esi + 0x9c], 0x1388
mov ecx, edi
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004afae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b3bfa
xor eax, eax
mov dword [0x4c3bc4], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x58]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x5c]
mov eax, esi
call fcn.00403a94
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
mov edx, dword [edi + 4]
mov eax, 0x4b4094
call fcn.00404e6c
test eax, eax
jle 0x4b3dc3
mov eax, dword [0x4c3c38]
mov dword [0x4c3c40], eax
mov eax, dword [0x4c3c3c]
mov dword [0x4c3c44], eax
mov edx, dword [edi + 4]
mov eax, 0x4b40a4
call fcn.00404e6c
test eax, eax
jle 0x4b3c7d
mov eax, edi
call fcn.00403a94
mov eax, 0x4b40bc
call fcn.0042d714
xor eax, eax
mov dword [0x4c3bc4], eax
call fcn.004046f4
mov edx, dword [edi + 4]
mov eax, 0x4b40d8
call fcn.00404e6c
test eax, eax
jle 0x4b3cab
mov eax, edi
call fcn.00403a94
mov eax, 0x4b40ec
call fcn.0042d714
xor eax, eax
mov dword [0x4c3bc4], eax
call fcn.004046f4
mov edx, dword [edi + 4]
mov eax, 0x4b410c
call fcn.00404e6c
test eax, eax
jle 0x4b3ce5
mov eax, edi
call fcn.00403a94
mov eax, 0x4b411c
call fcn.0042d714
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466cd8
call fcn.004b9578
xor eax, eax
mov dword [0x4c3bc4], eax
mov edx, dword [edi + 4]
mov eax, 0x4b4138
call fcn.00404e6c
test eax, eax
jle 0x4b3d2a
mov eax, edi
call fcn.00403a94
mov dl, 1
mov eax, 0x4b4148
call fcn.004b93c0
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466cd8
call fcn.004b9578
xor eax, eax
mov dword [0x4c3bc4], eax
mov edx, dword [edi + 4]
mov eax, 0x4b4164
call fcn.00404e6c
test eax, eax
jle 0x4b3dae
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b3d6f
mov eax, edi
call fcn.00403a94
mov eax, 0x4b4178
call fcn.0042d714
xor eax, eax
mov dword [0x4c3bc4], eax
call fcn.004046f4
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b3dae
mov eax, edi
call fcn.00403a94
mov dl, 1
mov eax, 0x4b4148
call fcn.004b93c0
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466cd8
xor eax, eax
mov dword [0x4c3bb0], eax
mov bl, 1
xor eax, eax
mov dword [0x4c3bc4], eax
jmp 0x4b3fdb
mov edx, dword [edi + 4]
mov eax, 0x4b4190
call fcn.00404e6c
test eax, eax
jle 0x4b3de9
mov eax, edi
call fcn.00403a94
xor ebx, ebx
xor eax, eax
mov dword [0x4c3bc4], eax
jmp 0x4b3fdb
mov edx, dword [edi + 4]
mov eax, 0x4b41a4
call fcn.00404e6c
test eax, eax
jle 0x4b3fd4
mov eax, dword [0x4c3c38]
mov dword [0x4c3c40], eax
mov eax, dword [0x4c3c3c]
mov dword [0x4c3c44], eax
lea eax, [ebp - 0x18]
mov edx, dword [edi + 4]
call fcn.00404900
mov eax, edi
call fcn.00403a94
mov al, byte [0x4b41ac]
push eax
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 0x4b41a4
mov eax, dword [ebp - 0x18]
call fcn.0040dd00
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
call fcn.00404900
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x33c]
xor edx, edx
call fcn.004471cc
lea eax, [ebp - 0x58]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4b4030
call fcn.00404e6c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404d88
mov edx, dword [ebp - 0x58]
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x338]
call fcn.004471cc
lea eax, [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41b8
call fcn.00404e6c
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4b4030
call fcn.00404e6c
sub ebx, eax
dec ebx
push ebx
mov edx, dword [ebp - 0x18]
mov eax, 0x4b4030
call fcn.00404e6c
mov edx, eax
inc edx
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00404d88
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x340]
call fcn.004471cc
lea eax, [ebp - 0x60]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41c4
call fcn.00404e6c
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41b8
call fcn.00404e6c
sub ebx, eax
dec ebx
push ebx
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41b8
call fcn.00404e6c
mov edx, eax
inc edx
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00404d88
mov edx, dword [ebp - 0x60]
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x33c]
call fcn.004471cc
push 0x4c3bd8
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41d0
call fcn.00404e6c
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404b28
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00404d88
lea eax, [ebp - 0x64]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41d0
call fcn.00404e6c
mov ebx, eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x18]
call fcn.00408bf8
mov edx, dword [ebp - 0x68]
mov eax, 0x4b41c4
call fcn.00404e6c
sub ebx, eax
sub ebx, 2
push ebx
mov edx, dword [ebp - 0x18]
mov eax, 0x4b41c4
call fcn.00404e6c
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00404d88
mov edx, dword [ebp - 0x64]
mov eax, dword [0x4c241c]
mov eax, dword [eax + 0x358]
call fcn.004471cc
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
mov bl, 1
xor eax, eax
mov dword [0x4c3bb0], eax
xor eax, eax
mov dword [0x4c3bc4], eax
xor eax, eax
mov dword [0x4c3bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b401f
lea eax, [ebp - 0x68]
mov edx, 0xb
call fcn.0040488c
lea eax, [ebp - 0x3c]
call fcn.00404868
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.0040488c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040488c
ret