Function at 0x1002454
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [0x10060f0]
push ebx
mov ebx, dword [sym.imp.ntdll.dll__wcsicmp]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x10012e4
xor esi, esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xa18], esi
call ebx
test eax, eax
pop ecx
pop ecx
je 0x10024a6
push 0x10012c8
push edi
call ebx
test eax, eax
pop ecx
pop ecx
je 0x10024a6
push 0x104
lea eax, [ebp - 0x210]
push eax
push edi
jmp 0x10024c1
push 0x104
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0xa18], 1
push 0x1001294
call dword [0x10010e0]
test eax, eax
je 0x10024d1
lea edi, [ebp - 0x210]
xor ebx, ebx
cmp dword [ebp + 0x14], esi
je 0x10025fb
cmp dword [0x1006100], esi
jne 0x1002516
push 0x1001234
mov dword [ebp - 0xa14], esi
call dword [fcn.01001064]
cmp eax, esi
je 0x1002722
push 0x1001284
push eax
call dword [fcn.01001060]
cmp eax, esi
mov dword [0x1006100], eax
je 0x1002722
push edi
call dword [fcn.01001054]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [fcn.01001048]
cmp eax, esi
mov dword [ebp - 0xa14], eax
jne 0x100253b
xor eax, eax
jmp 0x1002728
push edi
push eax
call dword [fcn.01001058]
cmp dword [ebp + 0xc], esi
jne 0x1002567
push dword [ebp - 0xa14]
call fcn.0100240f
mov ebx, eax
cmp ebx, esi
je 0x1002567
cmp word [ebx], si
je 0x1002565
mov word [ebx], si
inc ebx
inc ebx
jmp 0x1002567
xor ebx, ebx
push dword [ebp - 0xa14]
call fcn.01002170
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0xa64]
rep stosd dword es:[edi], eax
movzx eax, word [ebp + 0x18]
mov edi, dword [ebp - 0xa14]
mov dword [ebp - 0xa48], eax
lea eax, [ebp - 0xa64]
push eax
mov dword [ebp - 0xa64], 0x3c
mov dword [ebp - 0xa60], 0x640
mov dword [ebp - 0xa54], edi
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa58], 0x1001278
call dword [0x1006100]
cmp eax, esi
mov dword [ebp - 0xa14], eax
je 0x10025ef
cmp dword [ebp + 0x10], esi
je 0x10025e3
push 0xffffffffffffffff
push dword [ebp - 0xa2c]
call dword [0x1001074]
push dword [ebp - 0xa2c]
call dword [fcn.0100106c]
push edi
call dword [fcn.01001044]
jmp 0x1002722
mov ax, word [ebp + 0x18]
mov word [ebp - 0xa3c], ax
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xa6c]
push eax
mov eax, dword [ebp + 0xc]
push esi
mov ecx, eax
push esi
inc ebx
neg ecx
sbb ecx, ecx
push 0x20
push esi
not ecx
push esi
and ecx, edi
neg eax
push esi
sbb eax, eax
push ecx
and eax, edi
push eax
mov dword [ebp - 0xa6c], 0x44
mov dword [ebp - 0xa68], edi
mov dword [ebp - 0xa60], edi
mov dword [ebp - 0xa64], esi
mov dword [ebp - 0xa50], esi
mov dword [ebp - 0xa54], esi
mov dword [ebp - 0xa58], esi
mov dword [ebp - 0xa5c], esi
mov dword [ebp - 0xa40], ebx
mov dword [ebp - 0xa38], esi
mov word [ebp - 0xa3a], si
call dword [0x10010f8]
cmp eax, esi
mov dword [ebp - 0xa14], eax
jne 0x10026f9
call fcn.010021b1
test eax, eax
jne 0x1002722
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x1d4], esi
je 0x1002722
cmp dword [ebp - 0xa18], ebx
jne 0x1002722
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, 0x200
push ebx
lea eax, [ebp - 0xa10]
push eax
push 0x648
push esi
call edi
push ebx
lea eax, [ebp - 0x610]
push eax
push 0x647
push esi
call edi
push esi
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x610]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x1002722
cmp dword [ebp + 0x10], esi
je 0x100270c
push 0xffffffffffffffff
push dword [ebp - 0xa28]
call dword [0x1001074]
push dword [ebp - 0xa28]
mov esi, dword [fcn.0100106c]
call esi
push dword [ebp - 0xa24]
call esi
mov eax, dword [ebp - 0xa14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01004e6a
leave
ret 0x14