Function at 0x412c80
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47df06
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4b04a8]
test eax, eax
je 0x41302f
mov esi, dword [esi + 0xe0]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x50], 0
je 0x412cea
push 0
push 0x9a
push 0x4ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x4b04a8]
test eax, eax
je 0x41304a
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004225c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x82
jne 0x412d4b
push 0x1ac
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00425a40
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x82
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x412fdd
cmp eax, 0xa3
jne 0x412d92
push 0x1ac
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00413060
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0xa3
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x412fdd
cmp eax, 0x443
jne 0x412dd6
push 0x184
call fcn.0045923a
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00407c70
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x443
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x412fdd
cmp eax, 0x467
jne 0x412e1a
push 0x184
call fcn.0045923a
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.004040c0
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x467
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x412fdd
cmp eax, 0x88
jne 0x412e69
push 0x208
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 4
mov ecx, eax
push dword [ebp - 0x14]
push 0x9a
push esi
call fcn.00421180
mov edi, eax
push edi
push 0x41ebe0
push dword [esi + 4]
push 0x88
push dword [0x4b0494]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
jmp 0x412fdd
cmp eax, 0x84
jne 0x412ec0
push 0x2d0
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.00420260
mov dword [ebp - 4], 0xffffffff
mov edi, eax
push dword [esi + 4]
mov ecx, edi
push 0x84
call fcn.0041eb90
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x2c]
push 1
push eax
mov dword [esi + 0x40], 1
call fcn.0042ccd0
jmp 0x412fdd
cmp eax, 0x85
jne 0x412efa
push 0x1ac
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.0041f690
push dword [esi + 4]
push 0x85
jmp 0x412fd4
cmp eax, 0xaa
jne 0x412f34
push 0x1ac
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.0040fbc0
push dword [esi + 4]
push 0xaa
jmp 0x412fd4
cmp eax, 0x86
jne 0x412f64
push 0x330
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.00424c50
push dword [esi + 4]
push 0x86
jmp 0x412fd4
cmp eax, 0x9a
jne 0x412f9b
push 0x238
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.00412300
push dword [esi + 4]
push 0x9a
jmp 0x412fd4
cmp eax, 0xac
jne 0x41304a
push 0x224
mov dword [esi + 0x44], 1
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.00410520
push dword [esi + 4]
push 0xac
mov edi, eax
mov ecx, edi
call fcn.0041eb90
test edi, edi
je 0x41304a
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x412ffe
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41301b
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41301b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x50], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 2
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, dword [esi + 0xe0]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret