Function at 0x5ddf0c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x5ddf15
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
call fcn.00404968
mov eax, dword [ebp + 8]
call fcn.00404968
xor eax, eax
push ebp
push 0x5de63a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5ddf5a
mov eax, dword [0x60f11c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x5ddfe8
imul eax, dword [ebp - 0xc], 0x2f7
mov edx, dword [0x60f078]
mov edx, dword [edx]
cmp byte [edx + eax + 0x297], 0
jne 0x5ddfe8
imul ebx, dword [ebp - 0xc], 0x2f7
mov eax, dword [0x60f078]
mov eax, dword [eax]
lea eax, [eax + ebx + 0x2bb]
mov edx, dword [ebp + 0xc]
call fcn.0040450c
mov eax, dword [0x60f078]
mov eax, dword [eax]
lea eax, [eax + ebx + 0x2bf]
mov edx, dword [ebp + 8]
call fcn.0040450c
cmp dword [ebp + 8], 0
je 0x5ddfd0
mov eax, dword [0x60f078]
mov eax, dword [eax]
lea eax, [eax + ebx + 0x2c3]
mov edx, 0x5de658
call fcn.0040450c
jmp 0x5ddfe8
mov eax, dword [0x60f078]
mov eax, dword [eax]
lea eax, [eax + ebx + 0x2c3]
mov edx, 0x5de668
call fcn.0040450c
call fcn.005c9098
imul edx, dword [ebp - 0xc], 0x2f7
mov ecx, dword [0x60f078]
mov ecx, dword [ecx]
mov dword [ecx + edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5de674
call fcn.004048c4
je 0x5de574
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 1
mov edx, 1
call fcn.004049d8
mov eax, dword [ebp - 0x10]
mov edx, 0x5de684
call fcn.004048c4
jne 0x5de05b
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404778
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 2
call fcn.004049d8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call fcn.00404d40
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004e1138
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004063d4
mov edx, 0x5de690
mov eax, 0x5de6a0
call fcn.00404abc
test eax, eax
jle 0x5de12a
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6a8
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov edx, dword [ebp - 0x1c]
mov eax, 0x5de6b8
call fcn.00404f48
test eax, eax
jg 0x5de0db
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6c4
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov edx, dword [ebp - 0x20]
mov eax, 0x5de6b8
call fcn.00404f48
test eax, eax
jle 0x5de12a
xor eax, eax
push ebp
push 0x5de120
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x60ee4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.00455d78
mov eax, dword [eax + 8]
mov ecx, 0x5de6e8
mov edx, 3
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5de12a
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6f4
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.00404e78
je 0x5de3df
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6f4
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x28]
mov edx, 0x5de70c
call fcn.00404e78
jne 0x5de2cd
mov eax, dword [0x60efc0]
mov eax, dword [eax]
mov edx, 0x5de730
call fcn.004048c4
jne 0x5de1ec
mov eax, dword [0x60e518]
mov eax, dword [eax]
mov edx, 0x5de73c
call fcn.004048c4
jne 0x5de1ec
mov eax, dword [0x60ea84]
mov eax, dword [eax]
mov edx, 0x5de730
call fcn.004048c4
jne 0x5de1bd
mov eax, dword [0x60ece4]
mov eax, dword [eax]
call fcn.00492d48
push 0
call sub.kernel32.dll_ExitProcess_1
mov eax, dword [0x60e6e0]
mov eax, dword [eax]
mov edx, 0x5de730
call fcn.004048c4
jne 0x5de1ec
mov eax, dword [0x60ece4]
mov eax, dword [eax]
call fcn.00492d48
push 0
push 9
call sub.user32.dll_ExitWindowsEx
push 0
call sub.kernel32.dll_ExitProcess_1
imul eax, dword [ebp - 0xc], 0x2f7
mov edx, dword [0x60f078]
mov edx, dword [edx]
mov byte [edx + eax + 0x297], 1
mov eax, dword [0x60efdc]
mov byte [eax], 1
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6c4
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x5de744
call fcn.00404dcc
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00404740
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5de778
call fcn.005b8b34
mov edx, 0x5de690
mov eax, 0x5de6a0
call fcn.00404abc
test eax, eax
jle 0x5de278
xor ebx, ebx
jmp 0x5de576
mov eax, dword [0x60ece4]
mov eax, dword [eax]
call fcn.00492ab0
push 0x1f4
call sub.kernel32.dll_Sleep
imul eax, dword [ebp - 0xc], 0x2f7
mov edx, dword [0x60f078]
mov edx, dword [edx]
cmp byte [edx + eax + 0x297], 0
jne 0x5de262
mov eax, dword [ebp - 4]
imul ebx, dword [ebp - 0xc], 0x2f7
mov edx, dword [0x60f078]
mov edx, dword [edx]
mov edx, dword [edx + ebx + 0x2ef]
call fcn.004063d4
mov eax, dword [ebp - 8]
mov edx, dword [0x60f078]
mov edx, dword [edx]
mov edx, dword [edx + ebx + 0x2f3]
call fcn.0040450c
mov bl, 1
jmp 0x5de576
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de784
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x38]
xor edx, edx
call fcn.00404e78
je 0x5de344
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6f4
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x44]
push 0x5de79c
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de784
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404e30
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.00404740
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5de778
call fcn.005b8b34
jmp 0x5de39b
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6f4
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x54]
push 0x5de79c
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6c4
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404e30
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
call fcn.00404740
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5de778
call fcn.005b8b34
mov eax, 0x5de7ac
call fcn.00409c58
test al, al
je 0x5de3d8
push dword [ebp + 0xc]
push 0x5de684
push dword [ebp + 8]
push 0x5de7c0
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00404838
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.005b8b34
xor ebx, ebx
jmp 0x5de576
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6a8
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x60]
xor edx, edx
call fcn.00404e78
je 0x5de49c
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6f4
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x6c]
push 0x5de79c
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de6a8
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00404e30
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
call fcn.00404740
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5de778
call fcn.005b8b34
mov eax, 0x5de7ac
call fcn.00409c58
test al, al
je 0x5de495
push dword [ebp + 0xc]
push 0x5de684
push dword [ebp + 8]
push 0x5de7c0
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x74]
mov edx, 5
call fcn.00404838
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.005b8b34
xor ebx, ebx
jmp 0x5de576
mov edx, dword [ebp + 0xc]
mov eax, 0x5de7cc
call fcn.00404abc
test eax, eax
jne 0x5de570
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, 0x5de7e8
call fcn.00404abc
test eax, eax
jle 0x5de570
mov eax, 0x5de7ac
call fcn.00409c58
test al, al
je 0x5de56c
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de7f8
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x80]
push 0x5de79c
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5de784
mov ebx, dword [eax]
call dword [ebx + 0x44]
push dword [ebp - 0x84]
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404e30
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
call fcn.00404740
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5de778
call fcn.005b8b34
push dword [ebp + 0xc]
push 0x5de684
push dword [ebp + 8]
push 0x5de7c0
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x88]
mov edx, 5
call fcn.00404838
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.005b8b34
xor ebx, ebx
jmp 0x5de576
mov bl, 1
jmp 0x5de576
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5de644
lea eax, [ebp - 0x88]
call fcn.004044b8
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00404bdc
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004044dc
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404bdc
lea eax, [ebp - 0x64]
call fcn.004044b8
lea eax, [ebp - 0x60]
call fcn.00404bc4
lea eax, [ebp - 0x5c]
call fcn.004044b8
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404bdc
lea eax, [ebp - 0x4c]
call fcn.004044b8
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404bdc
lea eax, [ebp - 0x3c]
call fcn.004044b8
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404bdc
lea eax, [ebp - 0x2c]
call fcn.004044b8
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00404bdc
lea eax, [ebp - 0x14]
call fcn.004063bc
lea eax, [ebp - 0x10]
call fcn.004044b8
lea eax, [ebp + 8]
mov edx, 2
call fcn.004044dc
ret