Function at 0x4021a0
Capabilities:
Get common file path
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446195
push eax
mov dword fs:[0], esp
sub esp, 0x534
mov eax, dword [esp + 0x544]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ebp, [esi + 0x1b8]
mov ecx, ebp
call fcn.00403570
xor ebx, ebx
cmp eax, ebx
jne 0x402597
lea ecx, [esp + 0x14]
mov byte [esi + 0x1b4], 1
call fcn.0040d3c0
mov eax, dword [ebp]
mov dword [esp + 0x54c], ebx
cmp eax, 9
jne 0x40255a
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Num_Reboots
call fcn.0042e357
push ecx
mov byte [esp + 0x554], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREEACADEMYDC
call fcn.0042e357
lea ecx, [esp + 0x1c]
mov byte [esp + 0x554], bl
call fcn.0040d3d0
mov edi, eax
cmp edi, 0xffffffff
jne 0x4023ec
mov eax, dword [esi + 0x1f0]
cmp eax, ebx
jle 0x402330
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Num_Reboots
call fcn.0042e357
push ecx
mov byte [esp + 0x558], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SOFTWAREEACADEMYDC
call fcn.0042e357
lea ecx, [esp + 0x20]
mov byte [esp + 0x558], bl
call fcn.0040d5d0
lea ecx, [esp + 0x144]
push 0x400
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call fcn.0042e357
push str._rebootrun
lea ecx, [esp + 0x14]
mov byte [esp + 0x550], 3
call fcn.0042e6c5
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042e05e
push ecx
mov byte [esp + 0x554], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4596c8
call fcn.0042e357
push ecx
mov byte [esp + 0x558], 5
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
call fcn.0042e357
lea ecx, [esp + 0x20]
mov byte [esp + 0x558], 3
call fcn.0040d670
lea ecx, [esp + 0x10]
mov byte [esp + 0x54c], bl
call fcn.0042e2e9
lea ecx, [esp + 0x3c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
push edx
call fcn.0042e357
push str.DC.GAM
lea ecx, [esp + 0x24]
mov byte [esp + 0x550], 6
call fcn.0042e6c5
mov eax, dword [esp + 0x20]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x4023d7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
call fcn.00433432
mov ecx, dword [esp + 0x20]
push ebx
push 1
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x558], 7
call fcn.004334a7
mov edx, dword [esp + 0x554]
lea ecx, [esp + 0x28]
push edx
call fcn.0043361a
lea ecx, [esp + 0x28]
call fcn.004337d7
lea ecx, [esp + 0x28]
mov byte [esp + 0x54c], 6
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x54c], bl
call fcn.0042e2e9
jmp 0x40254e
push ecx
cmp edi, ebx
mov byte [esi + 0x20c], 1
mov ecx, esp
jbe 0x402517
mov dword [esp + 0x20], esp
push str.Num_Reboots
call fcn.0042e357
push ecx
mov byte [esp + 0x554], 8
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREEACADEMYDC
call fcn.0042e357
lea ecx, [esp + 0x1c]
mov byte [esp + 0x554], bl
call fcn.0040d720
cmp edi, 1
je 0x402476
dec edi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Num_Reboots
call fcn.0042e357
push ecx
mov byte [esp + 0x558], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SOFTWAREEACADEMYDC
call fcn.0042e357
lea ecx, [esp + 0x20]
mov byte [esp + 0x558], bl
call fcn.0040d5d0
lea eax, [esp + 0x144]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x14]
call fcn.0042e357
push str._rebootrun
lea ecx, [esp + 0x14]
mov byte [esp + 0x550], 0xa
call fcn.0042e6c5
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0042e05e
push ecx
mov byte [esp + 0x554], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4596c8
call fcn.0042e357
push ecx
mov byte [esp + 0x558], 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
call fcn.0042e357
lea ecx, [esp + 0x20]
mov byte [esp + 0x558], 0xa
call fcn.0040d670
lea ecx, [esp + 0x10]
mov byte [esp + 0x54c], bl
call fcn.0042e2e9
jmp 0x40254e
mov dword [esp + 0x20], esp
push str.Num_Reboots
call fcn.0042e357
push ecx
mov byte [esp + 0x554], 0xd
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREEACADEMYDC
call fcn.0042e357
lea ecx, [esp + 0x1c]
mov byte [esp + 0x554], bl
call fcn.0040d720
push 0x87
mov ecx, esi
call fcn.0040f380
lea edi, [esi + 0x120]
push ebp
mov ecx, edi
call fcn.004055e0
mov eax, dword [esi + 0x118]
lea ecx, [esi + 0x19c]
push eax
call fcn.0042e472
mov ecx, edi
call fcn.0040dcf0
lea ecx, [esp + 0x14]
mov dword [esp + 0x54c], 0xffffffff
call fcn.004099f0
jmp 0x402608
cmp eax, 3
jne 0x4025a2
push ebx
call fcn.0041b80a
cmp eax, 2
jne 0x402608
mov byte [esi + 0x1b4], 1
mov eax, dword [0x45e450]
mov dword [esp + 0x10], eax
add esi, 0x130
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x550], 0xe
call fcn.0042e422
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0042e05e
mov ecx, ebp
call fcn.00404230
cmp al, bl
je 0x4025f4
push ebx
call fcn.0041b80a
lea ecx, [esp + 0x10]
mov dword [esp + 0x54c], 0xffffffff
call fcn.0042e2e9
mov ecx, dword [esp + 0x544]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x540
ret 4