Function at 0x4174b0
Capabilities:
Check if file exists
Enumerate processes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1d29
mov eax, dword fs:[0]
push eax
sub esp, 0xcb4
mov eax, dword [0x51f524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xcb8], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xcc0], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xcb4], edi
mov dword [ebp - 0xcbc], 0
call fcn.00409e40
mov ecx, eax
test ecx, ecx
je 0x417c27
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
cmp dword [esi + 0xc], 0
push 0x208
mov dword [ebp - 4], 0
mov dword [ebp - 0xcbc], 1
push 0
jne 0x4177ca
lea eax, [ebp - 0x218]
push eax
call fcn.0048d040
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0048d040
mov eax, dword [esi + 0x10]
add esp, 0x18
mov dword [ebp - 0xcac], eax
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xca8], esi
test esi, esi
je 0x417616
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0048d040
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push dword [ebp - 0xca8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x417616
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea edx, [ebp - 0x218]
mov eax, edx
mov esi, 0x208
sub edi, eax
lea ecx, [esi + 0x7ffffdf6]
test ecx, ecx
je 0x417603
movzx eax, word [edi + edx]
test ax, ax
je 0x417603
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x4175e5
mov edi, dword [ebp - 0xcb4]
lea eax, [edx - 2]
test esi, esi
cmovne eax, edx
jmp 0x417736
push 0
push 2
mov dword [ebp - 0xca8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4176f2
push 0x228
lea eax, [ebp - 0xc9c]
push 0
push eax
call fcn.0048d040
add esp, 0xc
mov dword [ebp - 0xca0], 0x22c
lea eax, [ebp - 0xca0]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4176eb
nop dword [eax]
mov eax, dword [ebp - 0xcac]
cmp dword [ebp - 0xc98], eax
je 0x417691
lea eax, [ebp - 0xca0]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x417670
jmp 0x4176eb
lea ecx, [ebp - 0x218]
mov edx, 0x208
mov edi, ecx
lea eax, [ebp - 0xc7c]
sub eax, edi
mov edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x4176ce
movzx eax, word [edi + ecx]
test ax, ax
je 0x4176ce
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4176b0
mov edi, dword [ebp - 0xcb4]
lea eax, [ecx - 2]
test edx, edx
mov dword [ebp - 0xca8], 1
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xca8], 0
jne 0x41773b
lea ecx, [ebp - 0x218]
mov esi, 0x4f069c
mov eax, ecx
mov edx, 0x208
sub esi, eax
nop
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x41772e
movzx eax, word [esi + ecx]
test ax, ax
je 0x41772e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x417710
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xcb0]
push eax
call fcn.004acdac
lea eax, [ebp - 0xcb0]
push eax
lea eax, [ebp - 0xa74]
push eax
call fcn.004acc01
push dword [ebp - 0xa74]
mov eax, dword [ebp - 0xa64]
push dword [ebp - 0xa70]
inc eax
push dword [ebp - 0xa6c]
push dword [ebp - 0xa68]
push eax
mov eax, dword [ebp - 0xa60]
add eax, 0x76c
push eax
push str._d__02d__02d__02d__02d__02d
lea eax, [ebp - 0x830]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [ebp - 0x830]
push eax
mov eax, dword [ebp - 0xcb8]
lea ecx, [ebp - 0x218]
push dword [eax + 0x10]
push ecx
push dword [eax + 4]
push str._s_s__d__s.dmp
push edi
call fcn.00409d40
add esp, 0x48
jmp 0x417c08
lea eax, [ebp - 0x420]
push eax
call fcn.0048d040
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0048d040
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004601e0
mov ecx, dword [0x5221a0]
test ecx, ecx
jne 0x417864
push 0x51e120
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5221a0], 0
jne 0x417853
push 4
call fcn.00466af7
mov esi, eax
add esp, 4
mov dword [ebp - 0xcac], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x417841
mov ecx, esi
call fcn.00468260
jmp 0x417843
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0xcac], eax
mov dword [0x5221a0], esi
push 0x51e120
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5221a0]
lea eax, [ebp - 0xa50]
push eax
call fcn.00469c00
mov ecx, dword [str.entludashi]
mov esi, eax
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0xca8], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x417883
sub edx, dword [ebp - 0xca8]
mov eax, esi
sar edx, 1
cmp dword [esi + 0x14], 8
jb 0x4178a0
mov eax, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, edx
jne 0x4178d3
test esi, esi
je 0x4178ca
sub eax, ecx
mov dword [ebp - 0xca8], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x4178d3
mov eax, dword [ebp - 0xca8]
add ecx, 2
sub esi, 1
jne 0x4178b3
mov byte [ebp - 0xca1], 1
jmp 0x4178db
xor al, al
mov byte [ebp - 0xca1], al
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x41791b
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417911
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c31
push edx
push ecx
call fcn.00466699
add esp, 8
mov cl, byte [ebp - 0xca1]
test cl, cl
je 0x417ba4
mov ecx, dword [0x5221a0]
test ecx, ecx
jne 0x417990
push 0x51e120
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5221a0], 0
jne 0x41797f
push 4
call fcn.00466af7
mov esi, eax
add esp, 4
mov dword [ebp - 0xcac], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x41796d
mov ecx, esi
call fcn.00468260
jmp 0x41796f
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0xcac], eax
mov dword [0x5221a0], esi
push 0x51e120
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5221a0]
push 0
lea eax, [ebp - 0xa50]
push eax
call fcn.00468d30
mov esi, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 3
jb 0x4179af
mov esi, dword [esi]
call fcn.00409e40
mov ecx, eax
test ecx, ecx
je 0x417c36
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xcb4], eax
mov byte [ebp - 4], 4
test esi, esi
je 0x417a05
test esi, 0xffff0000
jne 0x4179ef
movzx eax, si
lea ecx, [ebp - 0xcb4]
push eax
call fcn.0040aa70
jmp 0x417a14
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4179f4
sub ecx, edx
sar ecx, 1
jmp 0x417a07
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0xcb4]
call fcn.0040ad60
mov edx, dword [ebp - 0xa3c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x417a58
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417a4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c40
push edx
push ecx
call fcn.00466699
add esp, 8
mov esi, dword [ebp - 0xcb4]
xor eax, eax
push esi
push 0x104
mov word [ebp - 0xa50], ax
lea eax, [ebp - 0x420]
push eax
push 0x4ef87c
push str.client_token
push str.general
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x5221a0]
test ecx, ecx
jne 0x417b05
push 0x51e120
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5221a0], 0
jne 0x417af4
push 4
call fcn.00466af7
add esp, 4
mov dword [ebp - 0xcac], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x417ae2
mov ecx, eax
call fcn.00468260
mov ecx, dword [ebp - 0xcac]
jmp 0x417ae4
xor ecx, ecx
mov byte [ebp - 4], 6
xchg dword [ebp - 0xcac], eax
mov dword [0x5221a0], ecx
push 0x51e120
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5221a0]
push 0
lea eax, [ebp - 0xa68]
push eax
call fcn.00468800
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x4f06f8
push 0x104
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0xa38]
push eax
movq qword [ecx + 0x10], xmm0
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov edx, dword [ebp - 0xa54]
add esp, 0x24
cmp edx, 8
jb 0x417b82
mov ecx, dword [ebp - 0xa68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c45
push edx
push ecx
call fcn.00466699
add esp, 8
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417b9e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov cl, byte [ebp - 0xca1]
xor esi, esi
push esi
test cl, cl
je 0x417bd2
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0xcb8]
push dword [eax + 4]
push str._s_s__s__03d.dmp
push edi
call fcn.00409d40
add esp, 0x18
jmp 0x417bf0
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0xcb8]
push dword [eax + 4]
push str._s_s__03d.dmp
push edi
call fcn.00409d40
add esp, 0x14
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417c08
mov cl, byte [ebp - 0xca1]
inc esi
cmp esi, 0xa
jle 0x417ba6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466ab7
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409b80
call fcn.004975c8
push 0x80004005
call fcn.00409b80
call fcn.004975c8
call fcn.004975c8
int3