Function at 0x4adcf0
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x52b432
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc18
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x355]
mov byte [esp + 0x354], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x358]
mov dword [esp + 0x24], ebp
push eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x4ae3fa
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x128
push ecx
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x4ae3f3
push 0x64
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0xc30], ebx
je 0x4adebd
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0xc30], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x14]
mov byte [esp + 0xc30], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x18]
mov byte [esp + 0xc30], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1c]
mov byte [esp + 0xc30], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x20]
mov byte [esp + 0xc30], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x24]
mov byte [esp + 0xc30], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x28]
mov byte [esp + 0xc30], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x2c]
mov byte [esp + 0xc30], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x38]
mov byte [esp + 0xc30], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x3c]
mov byte [esp + 0xc30], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x44]
mov byte [esp + 0xc30], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x4c]
mov byte [esp + 0xc30], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x50]
mov byte [esp + 0xc30], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x54]
mov byte [esp + 0xc30], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x5c]
mov byte [esp + 0xc30], 0xf
call sub.MFC42.DLL_CString::CString_3
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
jmp 0x4adebf
xor esi, esi
push 0x561f58
push esi
push 1
mov dword [esp + 0xc3c], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.004aee60
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
add esp, 0xc
mov dword [eax + 0x58], edx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4adfb6
mov edx, dword [esp + 0x2c]
cmp edx, 0x14
jbe 0x4adfc7
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x251]
mov byte [esp + 0x250], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x250]
push 0x104
push ecx
push edx
mov ecx, ebp
stosb byte es:[edi], al
call fcn.004adb70
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x250]
push edx
lea ecx, [eax + 0x2c]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x2c]
mov esi, dword [edx - 8]
cmp esi, ebx
je 0x4adf61
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, eax
jg 0x4adf72
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [edx + 0x2c]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x10]
mov ecx, ebp
add eax, 0x2c
push eax
call fcn.004adc00
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, ebp
call fcn.004ae870
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
call fcn.004ae4d0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov ecx, ebp
call fcn.004ae5b0
jmp 0x4adfc7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [edx + 0x2c]
call sub.MFC42.DLL_CString::operator_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14d]
mov byte [esp + 0x14c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14c]
push 0x104
push ecx
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea edx, [esp + 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4ae022
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14c]
push eax
add ecx, 0x2c
call sub.MFC42.DLL_CString::operator_3
cmp dword [esp + 0x2c], 0x14
jbe 0x4ae2b1
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
call fcn.004ae420
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0x10
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4ae0d8
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x459]
mov byte [esp + 0x458], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x841]
mov byte [esp + 0x840], bl
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
push 0x3e8
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x45c]
lea ecx, [esp + 0x844]
push eax
mov eax, dword [edx + 0x2c]
push 0x3e8
push ecx
push eax
call fcn.0041f6c0
mov edx, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esp + 0x458]
push ecx
lea ecx, [edx + 0x38]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x354]
push ecx
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ae0fd
mov edx, dword [esp + 0x10]
mov dword [edx + 0x30], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
mov eax, dword [eax + 0x10]
push eax
call fcn.004ae7e0
test eax, eax
je 0x4ae120
mov edx, dword [esp + 0x10]
mov dword [edx + 0x30], 1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
lea ecx, [eax + 0x20]
cmp dword [edx - 8], ebx
jne 0x4ae13c
add eax, 0x2c
push eax
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x10]
push 0x56f01c
lea ecx, [eax + 0x28]
call sub.MFC42.DLL_CString::operator_3
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 0x10]
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x4ae213
mov ecx, esi
call fcn.0040d680
cmp eax, 1
jbe 0x4ae177
mov ecx, esi
call fcn.0040d680
mov ebp, eax
jmp 0x4ae17c
mov ebp, 1
mov ecx, esi
call fcn.0040d680
add eax, ebp
mov dword [esp + 0x14], eax
jns 0x4ae18d
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esi + 4]
add esp, 4
mov ebp, eax
mov ecx, esi
push ebp
push edi
push edx
call fcn.00480680
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.00419b30
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push edi
call fcn.00480680
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0040d6e0
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0040d680
lea eax, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [esi + 8], eax
jmp 0x4ae3d0
mov eax, edi
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x4ae26a
lea ecx, [edi + 4]
push ecx
push edi
push edi
mov ecx, esi
call fcn.00480680
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00419b30
mov ecx, dword [esi + 8]
mov eax, edi
cmp edi, ecx
je 0x4ae261
mov edx, dword [esp + 0x10]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x4ae254
add dword [esi + 8], 4
jmp 0x4ae3d0
lea eax, [edi - 4]
push edi
push edi
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00480680
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x4ae294
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x4ae285
lea eax, [edi + 4]
cmp edi, eax
je 0x4ae2a8
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x4ae29b
add dword [esi + 8], 4
jmp 0x4ae3d0
mov esi, dword [esp + 0x10]
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x4ae3d0
lea ecx, [esi + 0x5c]
mov dword [esp + 0xc30], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [esp + 0xc30], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [esp + 0xc30], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [esp + 0xc30], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0xc30], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0xc30], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0xc30], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0xc30], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0xc30], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0xc30], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0xc30], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0xc30], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0xc30], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0xc30], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0xc30], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov dword [esp + 0xc30], 0xffffffff
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4add8a
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc24
ret