Function at 0x40020856
Capabilities:
Terminate process

Disassembly:
mov eax, 0x40071fe1
call fcn.4006f3a0
sub esp, 0x248
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x254]
mov dword [ebp - 0x3c], ecx
push eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x40], eax
sub esp, 0x18
lea eax, [ebp - 0x254]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, esp
mov dword [ebp - 0x20], eax
mov dword [eax + 0x10], ebx
push 0x14
mov dword [ebp - 4], ebx
call fcn.400549a4
pop ecx
test eax, eax
jne 0x400208c4
call fcn.400522fc
mov ecx, dword [ebp - 0x20]
lea edi, [eax + 4]
mov dword [eax], 0x4008286c
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x10], eax
call fcn.4004df20
cmp dword [ebp - 0x34], 0
jne 0x400208f0
xor eax, eax
inc eax
jmp 0x40020bbb
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x1c]
call fcn.400069d1
xor eax, eax
lea ecx, [ebp - 0x1c]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
call fcn.40006b63
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.40006b9b
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x14]
call fcn.400069d1
push 2
pop eax
mov byte [ebp - 4], al
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x30]
call fcn.40006f05
mov byte [ebp - 4], 3
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x18]
call fcn.40006f05
push 4
pop eax
mov byte [ebp - 4], al
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x28]
call fcn.40006f05
mov byte [ebp - 4], 5
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x2c]
call fcn.40006f05
mov byte [ebp - 4], 6
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x24]
call fcn.40006f05
mov byte [ebp - 4], 7
call fcn.4004fba0
cmp ax, 0x11
jne 0x400209e9
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
push 0x40082538
push eax
call fcn.40007b5a
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x400825ac
call fcn.40006a29
push 0x40082598
lea ecx, [ebp - 0x28]
call fcn.40006a29
push 0x400825f8
lea ecx, [ebp - 0x2c]
call fcn.40006a29
lea eax, [ebp - 0x18]
jmp 0x40020a89
call fcn.4004fba0
push 4
pop ecx
cmp ax, cx
jne 0x40020a48
call fcn.4004fbf0
push 2
pop ecx
cmp ax, cx
jne 0x40020a48
push 0x4007e4e4
lea ecx, [ebp - 0x14]
call fcn.40006a29
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
push 0x400825c0
push eax
call fcn.40007b5a
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x4008261c
call fcn.40006a29
push str._rzI_
lea ecx, [ebp - 0x28]
call fcn.40006a29
push 0x40082714
jmp 0x400209d9
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
push str._s_is_in_the_process_of_being_synchronized_or_terminated._nWould_you_like_to_terminate__s_in_process_and_restart_
push eax
call fcn.40007b5a
add esp, 0x10
lea ecx, [ebp - 0x18]
push str.Restart
call fcn.40006a29
push str.Wait_a_while
lea ecx, [ebp - 0x28]
call fcn.40006a29
push str.Cancel
lea ecx, [ebp - 0x2c]
call fcn.40006a29
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.400088ff
mov ecx, str.PropertyService_fenrir.co.jp
call fcn.400047fe
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
call fcn.400081d4
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
test esi, esi
je 0x40020afd
mov eax, dword [esi]
push 0x4007ca10
push str.app.msgbox.change
push esi
call dword [eax + 0x1c]
mov eax, dword [esi]
push edi
push str.app.msgbox.yes
push esi
call dword [eax + 0x1c]
mov eax, dword [esi]
push ebx
push str.app.msgbox.no
push esi
call dword [eax + 0x1c]
push dword [ebp - 0x2c]
mov eax, dword [esi]
push str.app.msgbox.cancel
push esi
call dword [eax + 0x1c]
push dword [ebp - 0x24]
mov eax, dword [esi]
push str.app.msgbox.button.size.text
push esi
call dword [eax + 0x1c]
push ecx
push ecx
push dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x30]
push 3
pop edx
call fcn.40048740
mov ecx, eax
cmp ecx, 6
jne 0x40020b52
push 0x63
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40020b3d
mov eax, dword [esi]
push 0x4007ca10
push str.startup.force
push esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
inc ecx
push 0x7d0
mov byte [eax], cl
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40020b63
cmp ecx, 7
mov eax, 0x80004004
push 1
pop ecx
cmove eax, ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 7
test esi, esi
je 0x40020b71
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea ecx, [ebx - 0x10]
call fcn.40004636
lea ecx, [edi - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.40004636
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.40004636
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret