Function at 0x496d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e78
call fcn.005848d0
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
push esi
mov esi, dword [ebp + 8]
jne 0x496da8
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax - 1]
cmp ecx, 0x103
ja 0x496d94
test eax, eax
push edi
jle 0x496dd0
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
xor edi, edi
cmp dword [ebx + 0xc], edi
mov word [ebp + eax*2 - 0x61c], di
jne 0x497045
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0xe80]
push edx
push 0x3e8
lea eax, [ebp - 0x1e78]
push eax
call ecx
test eax, eax
je 0x497230
mov esi, dword [ebp - 0xe80]
push 0x4c
lea edx, [ebp - 0xed4]
push edi
shr esi, 2
push edx
mov dword [ebp - 0xe88], esi
mov dword [ebp - 0xed8], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
test esi, esi
mov dword [ebp - 0xe7c], edi
jbe 0x497230
jmp 0x496e40
push 0x5afe18
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push 0x5afe18
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0xe7c]
mov edx, dword [ebp + ecx*4 - 0x1e78]
push edx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x496eb2
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0xe80]
push eax
push 4
lea ecx, [ebp - 0xe84]
push ecx
push esi
call edx
test eax, eax
je 0x496eb2
mov ecx, dword [ebp - 0xe84]
mov edx, dword [ebx + 0x1c]
push 0x104
lea eax, [ebp - 0x824]
push eax
push ecx
push esi
call edx
push 0x206
lea eax, [ebp - 0x412]
push 0
push eax
mov word [ebp - 0x414], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
mov ecx, ebx
call fcn.004964c0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov word [ebp - 0x20c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x824]
push edx
mov ecx, ebx
call fcn.004964c0
cmp dword [ebp + 0xc], 0
je 0x496fab
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x496fcf
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
push str.KillProcess::__Dest::_s____s
push 0x5aff10
push 3
push str.CProcessUtil::KillProcess
push 0x185
push str.E:_txupdatecoding_baseutilfunProcessUtil.cpp
call fcn.004967b0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x824]
push edx
push str.KillProcess::__Enum::_s____s
push 0x5aff10
push 3
push str.CProcessUtil::KillProcess
push 0x186
push str.E:_txupdatecoding_baseutilfunProcessUtil.cpp
call fcn.004967b0
add esp, 0x40
mov dword [ebp + edi*4 - 0xed8], esi
add edi, 1
jmp 0x496fd6
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x496fcf
mov dword [ebp + edi*4 - 0xed8], esi
add edi, 1
jmp 0x496fd6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xe7c]
add eax, 1
cmp eax, dword [ebp - 0xe88]
mov dword [ebp - 0xe7c], eax
jb 0x496e40
test edi, edi
jle 0x497230
xor ebx, ebx
test edi, edi
jle 0x49702d
nop
mov esi, dword [ebp + ebx*4 - 0xed8]
test esi, esi
je 0x497026
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + ebx*4 - 0xed8], 0
add ebx, 1
cmp ebx, edi
jl 0x497000
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x20]
push edi
push 2
call edx
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0xe7c], esi
je 0x497230
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0xa50]
push eax
push esi
mov dword [ebp - 0xa50], 0x22c
call ecx
test eax, eax
je 0x497229
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0xa48]
mov eax, dword [ebx + 0x20]
push edx
push 8
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x497245
mov edx, dword [ebx + 0x2c]
lea ecx, [ebp - 0xe78]
push ecx
push esi
mov dword [ebp - 0xe78], 0x428
call edx
test eax, eax
je 0x4971f7
jmp 0x4970c0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov word [ebp - 0x20c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x61c]
push edx
mov ecx, ebx
call fcn.004964c0
push 0x206
lea eax, [ebp - 0x412]
push 0
push eax
mov word [ebp - 0x414], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0xc58]
push edx
mov ecx, ebx
call fcn.004964c0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x61c]
push ecx
push str.KillProcess::__Dest::_s____s
push 0x5aff10
push 3
push str.CProcessUtil::KillProcess
push 0x1d8
push str.E:_txupdatecoding_baseutilfunProcessUtil.cpp
call fcn.004967b0
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0xc58]
push eax
push str.KillProcess::__Enum::_s____s
push 0x5aff10
push 3
push str.CProcessUtil::KillProcess
push 0x1d9
push str.E:_txupdatecoding_baseutilfunProcessUtil.cpp
call fcn.004967b0
add esp, 0x40
test edi, edi
je 0x4971c0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x49724e
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 0xe78]
push eax
push esi
mov dword [ebp - 0xe78], 0x428
call ecx
jmp 0x4971ef
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xc58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x49724e
mov edx, dword [ebx + 0x30]
lea ecx, [ebp - 0xe78]
push ecx
push esi
mov dword [ebp - 0xe78], 0x428
call edx
test eax, eax
jne 0x4970c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xe7c]
mov edx, dword [ebx + 0x28]
lea eax, [ebp - 0xa50]
push eax
push ecx
mov dword [ebp - 0xa50], 0x22c
call edx
test eax, eax
jne 0x497080
mov esi, dword [ebp - 0xe7c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xe7c]
push eax
jmp 0x49722a
mov ecx, dword [ebp - 0xa48]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x49728d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00584870
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [ebp - 0xe7c]
push edx
call esi
jmp 0x497230