Function at 0x4034c0
Capabilities:
Enumerate processes
Get file version info

Disassembly:
sub esp, 0x894
mov eax, dword [0x41f050]
xor eax, esp
mov dword [esp + 0x88c], eax
push ebx
push ebp
push esi
xor ebx, ebx
push edi
xor eax, eax
push 0x103
mov dword [esp + 0x159], eax
mov dword [esp + 0x15d], eax
lea eax, [esp + 0x165]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x160], bl
mov byte [esp + 0x16c], bl
call fcn.004100c0
push 0x104
lea ecx, [esp + 0x279]
push ebx
push ecx
mov byte [esp + 0x280], bl
call fcn.004100c0
push 0x104
lea edx, [esp + 0x495]
push ebx
push edx
mov byte [esp + 0x49c], bl
call fcn.004100c0
push 0x104
lea eax, [esp + 0x7b9]
push ebx
push eax
mov byte [esp + 0x7c0], bl
call fcn.004100c0
push 0x104
lea ecx, [esp + 0x3a5]
push ebx
push ecx
mov byte [esp + 0x3ac], bl
call fcn.004100c0
push 0x104
lea edx, [esp + 0x6c9]
push ebx
push edx
mov byte [esp + 0x6d0], bl
call fcn.004100c0
add esp, 0x48
push 0x104
lea eax, [esp + 0x585]
push ebx
push eax
mov byte [esp + 0x58c], bl
call fcn.004100c0
push 0x41c870
lea ecx, [esp + 0x488]
call fcn.00404480
push 0x41c87c
lea ecx, [esp + 0x7a4]
call fcn.00404480
push 0x41c888
lea ecx, [esp + 0x388]
call fcn.00404480
push 0x41c898
lea ecx, [esp + 0x6a4]
call fcn.00404480
push 0x41c8a8
lea ecx, [esp + 0x5a0]
call fcn.00404480
add esp, 0x20
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [esp + 0x1c], edx
cmp edx, 0xffffffff
jne 0x403632
xor eax, eax
jmp 0x403878
mov ecx, 0x128
lea eax, [esp + 0x28]
jmp 0x403640
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x403640
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], 0x224
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40385c
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
cmp esi, ebx
je 0x40367f
push esi
call fcn.0040954d
add esp, 4
xor esi, esi
push ebx
push ebx
lea edi, [esp + 0x54]
call fcn.00403a00
add esp, 8
test eax, eax
jne 0x403854
mov edx, dword [esp + 0x30]
push edx
push ebx
push 0x410
call ebp
cmp eax, ebx
je 0x40383b
push 0x105
lea ecx, [esp + 0x26c]
push ecx
push ebx
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jbe 0x40383b
push ebx
lea edx, [esp + 0x26c]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jbe 0x40383b
push edi
call fcn.0040993e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40383b
push esi
push edi
push ebx
lea eax, [esp + 0x274]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40383b
lea ecx, [esp + 0x790]
push ecx
lea edx, [esp + 0x47c]
push edx
push str._s_s
lea eax, [esp + 0x16c]
push 0x104
push eax
call fcn.00408ef8
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x168]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40383b
cmp dword [esp + 0x10], ebx
jbe 0x40383b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
rol edx, 0x10
push edx
push str._08x
lea eax, [esp + 0x15c]
push 9
push eax
call fcn.00408ef8
lea ecx, [esp + 0x698]
push ecx
lea edx, [esp + 0x168]
push edx
lea eax, [esp + 0x388]
push eax
push 0x41c8c4
lea ecx, [esp + 0x180]
push 0x104
push ecx
call fcn.00408ef8
add esp, 0x28
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x168]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40383b
cmp dword [esp + 0x10], ebx
jbe 0x40383b
lea edx, [esp + 0x580]
push edx
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x378]
push ecx
push str._s_s_s
lea edx, [esp + 0x170]
push 0x104
push edx
call fcn.00408ef8
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x168]
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40383b
cmp dword [esp + 0x10], ebx
jbe 0x40383b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push eax
push ecx
xor edi, edi
call fcn.00403a00
add esp, 8
test eax, eax
jne 0x403854
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403670
jmp 0x40385c
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x403874
push esi
call fcn.0040954d
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x89c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004089ca
add esp, 0x894
ret