Function at 0x407323
Capabilities:
Terminate process

Disassembly:
push 0x68
mov eax, 0x59cc68
call fcn.00493819
mov eax, dword [ebp + 8]
add eax, 0x740
push eax
lea esi, [ebp - 0x64]
mov dword [ebp - 0x68], eax
call fcn.004023ec
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00402d76
cmp dword [ebp - 0x50], 8
mov ecx, dword [ebp - 0x64]
jae 0x407358
mov ecx, esi
mov edx, dword [eax]
push ecx
mov esi, str.EndProcessAndDelFile__path:_s
push esi
mov ebx, str.MainDlg.cpp
push ebx
push 0x56d
push edi
push eax
call dword [edx + 8]
add esp, 0x18
call fcn.00402d3b
cmp dword [ebp - 0x50], 8
mov ecx, dword [ebp - 0x64]
jae 0x407385
lea ecx, [ebp - 0x64]
mov edx, dword [eax]
push ecx
push esi
push edi
push eax
call dword [edx + 4]
add esp, 0x10
call fcn.004496f0
cmp dword [ebp - 0x50], 8
mov ecx, dword [ebp - 0x64]
jae 0x4073a2
lea ecx, [ebp - 0x64]
call fcn.004494d0
mov dword [ebp - 0x6c], eax
cmp eax, edi
je 0x40742d
mov esi, str.TerminateProcess__pid:_u
push dword [ebp - 0x6c]
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x70], eax
cmp eax, edi
je 0x40742d
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4073e3
push edi
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.00402d76
push dword [ebp - 0x6c]
mov ecx, dword [eax]
push esi
push ebx
push 0x57d
push edi
push eax
call dword [ecx + 8]
call fcn.00402d3b
push dword [ebp - 0x6c]
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 4]
add esp, 0x28
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x50], 8
mov ecx, dword [ebp - 0x64]
jae 0x407421
lea ecx, [ebp - 0x64]
call fcn.004494d0
mov dword [ebp - 0x6c], eax
cmp eax, edi
jne 0x4073b3
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push str._bin_
push eax
call fcn.004014b3
xor ebx, ebx
inc ebx
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0044bd90
add esp, 0x10
push ebx
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push str.patch_
push eax
call fcn.004014b3
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0044bd90
add esp, 0x10
push ebx
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
mov ebx, 0x5fd8e0
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004014b3
push str.DuoyiLauncher.exe
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040b69d
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004019e2
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004014b3
push 0x5fdbb4
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040b69d
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004014b3
push str.uninst.exe
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.0040b69d
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004014b3
push str.Launcher.ini
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.0040b69d
push 0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004014b3
push 0x5fe0b8
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.0040b69d
push 0
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
push ebx
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x68]
push eax
call fcn.004014b3
push str.preference.ini
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.0040b69d
push 0
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019e2
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004014b3
push str.GameSettings.ini
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.0040b69d
xor ebx, ebx
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0044bae0
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004019e2
call fcn.00402d76
mov ecx, dword [eax]
mov esi, str.EndProcessAndDelFile_end
push esi
push str.MainDlg.cpp
push 0x5a3
push ebx
push eax
call dword [ecx + 8]
add esp, 0x14
call fcn.00402d3b
mov ecx, dword [eax]
push esi
push ebx
push eax
call dword [ecx + 4]
add esp, 0xc
push 1
lea esi, [ebp - 0x64]
call fcn.004019e2
call fcn.00493863
ret 4