Function at 0x419580
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.00419000
test al, al
je 0x4198e0
call fcn.00418f50
test al, al
je 0x4195ba
call fcn.00418fd0
test al, al
je 0x4198e0
push str._StartFrom:XLDownloadClient
push esi
mov byte [ebp - 0x236], 0
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x4198cb
push 1
push dword [0x4506bc]
push 0x43d8c8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x4198cb
push ebx
push edi
xor edi, edi
mov byte [ebp - 0x235], al
push edi
xor esi, esi
mov dword [ebp - 0x24c], edi
xor ebx, ebx
mov dword [ebp - 0x234], esi
push 2
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x4198c9
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x419883
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.00415950
mov ecx, eax
test ecx, ecx
je 0x4198f6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x234]
push esi
mov dword [ebp - 0x234], eax
call fcn.00414f80
test al, al
jne 0x4196cc
test esi, esi
jne 0x4196a4
xor ecx, ecx
jmp 0x4196bf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4196b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x234]
call fcn.00416920
mov esi, dword [ebp - 0x234]
push str.Thunder.exe
push esi
call fcn.00423cde
add esp, 8
test eax, eax
jne 0x41979e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x228]
cmp ecx, eax
je 0x41979e
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x234], eax
test eax, eax
jne 0x419759
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x41979e
mov byte [ebp - 0x235], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x419877
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x248]
jmp 0x41989c
cmp ebx, edi
je 0x41976a
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x244], ebx
jmp 0x419795
lea eax, [ebp - 0x234]
push eax
push ebx
lea ecx, [ebp - 0x248]
call fcn.00419030
mov edi, dword [ebp - 0x240]
mov ebx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x23c]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x234], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4197ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x234], 0
jne 0x419660
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x248]
mov dword [ebp - 0x234], esi
sub ebx, esi
sar ebx, 2
test ebx, ebx
je 0x41984b
push 0x3e8
push 1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, esi
mov dword [ebp - 0x23c], eax
cmp ebx, dword [ebp - 0x244]
je 0x419844
mov edi, dword [ebp - 0x244]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx]
call esi
add ebx, 4
cmp ebx, edi
jne 0x419827
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x23c]
cmp eax, 0x102
je 0x41989c
mov byte [ebp - 0x236], 1
test esi, esi
je 0x4198c9
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x4198bf
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4198f1
jmp 0x4198bf
mov esi, dword [ebp - 0x248]
mov dword [ebp - 0x234], esi
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x235], 0
jne 0x4197f3
test esi, esi
je 0x4198c9
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x4198bf
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4198f1
push edi
push esi
call fcn.0041b5ab
add esp, 8
pop edi
pop ebx
mov al, byte [ebp - 0x236]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
call fcn.00420285
push 0x80004005
call fcn.00412540
int3