Function at 0x45e540
Capabilities:
Enumerate process modules
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5775ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push esi
push edi
push 0x57e8ec
push 0x1000
mov dword [ebp - 0x38], ecx
call fcn.00546a96
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45eb14
mov edi, dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
lea eax, [ebp - 0x1c]
push eax
mov esi, 0x1000
push esi
push ebx
call edi
test eax, eax
je 0x45eb14
mov ecx, dword [ebp - 0x1c]
mov al, 1
mov byte [ebp - 0xd], al
cmp ecx, esi
jne 0x45e630
nop dword [eax + eax]
test al, al
je 0x45e630
push ebx
add esi, esi
call fcn.00546a3c
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
push 0x57e8ec
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546a96
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45e616
push eax
call fcn.00546a3c
shr esi, 1
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
push 0x57e8ec
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546a96
add esp, 8
mov byte [ebp - 0xd], 0
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
call edi
test eax, eax
je 0x45eb14
mov ecx, dword [ebp - 0x1c]
mov al, byte [ebp - 0xd]
cmp ecx, esi
je 0x45e5b0
shr ecx, 2
xor eax, eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x45eaf8
mov eax, dword [ebx + eax*4]
push eax
push 0
push 0x410
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x45eae8
mov dword [ebp - 4], 0
call fcn.0042c120
test eax, eax
je 0x45eb31
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov edx, 1
mov dword [ebp - 0x44], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x45e6b8
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0042c630
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push ecx
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x45e6d5
xor ecx, ecx
jmp 0x45e6ee
push dword [eax - 8]
push eax
call fcn.0054bad7
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x45eb27
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x45eb27
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov word [eax + ecx*2], dx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.0042c120
test eax, eax
je 0x45eb31
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0042c390
test al, al
jne 0x45e769
test esi, esi
jne 0x45e745
xor eax, eax
jmp 0x45e75f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e750
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0042c6d0
mov byte [ebp - 4], 5
call fcn.0042c120
test eax, eax
je 0x45eb31
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
call fcn.0042c120
test eax, eax
je 0x45eb31
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x45e7dd
push eax
push 0x58a2f0
lea ecx, [ebp - 0x28]
call fcn.0042c6d0
push edi
push 0x58a2f0
lea ecx, [ebp - 0x24]
call fcn.0042c6d0
jmp 0x45e900
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45e900
push esi
push edi
push 0
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x58a2e4
push esi
call edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x34]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x45e8f9
mov ecx, dword [ebp - 0x34]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x188]
push str.StringFileInfo_04x_04xFileDescription
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x34]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x288]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x188]
push eax
push esi
call edi
test eax, eax
je 0x45e8b2
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x45e88e
xor ecx, ecx
jmp 0x45e8a8
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e893
sub ecx, edi
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0042c6d0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x288]
push eax
push esi
call edi
test eax, eax
je 0x45e8f9
mov edx, dword [ebp - 0x50]
test edx, edx
jne 0x45e8d3
xor ecx, ecx
jmp 0x45e8ef
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e8e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042c6d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.0042ba50
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 9
mov edi, dword [esi - 0xc]
test edi, edi
js 0x45eb27
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45e942
push edi
lea ecx, [ebp - 0x18]
call fcn.0042c630
mov esi, dword [ebp - 0x18]
lea eax, [edi + 1]
push eax
push esi
call fcn.00551c0b
lea ecx, [esi - 0x10]
add esp, 8
cmp edi, dword [ecx + 8]
jg 0x45eb27
xor eax, eax
mov dword [ecx + 4], edi
push ecx
mov word [esi + edi*2], ax
mov esi, esp
mov dword [ebp - 0x30], esi
call fcn.0042ba50
add eax, 0x10
mov dword [esi], eax
call fcn.00444330
add esp, 4
push eax
lea eax, [ebp - 0x18]
push 0x5924b8
push eax
call fcn.0041eac0
mov eax, dword [ebp - 0x18]
add esp, 0xc
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0042ba50
add eax, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x70], eax
call fcn.0042ba50
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0042ba50
add eax, 0x10
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.0042ba50
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0042ba50
add eax, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xe
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x45ea2a
lea edx, [ebp - 0x74]
mov ecx, esi
call fcn.0045e460
test al, al
je 0x45ea2a
add esi, 0x18
cmp esi, edi
jne 0x45ea15
mov edi, dword [ebp - 0x38]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x45ea55
lea ecx, [ebp - 0x74]
push ecx
cmp eax, dword [edi + 8]
je 0x45ea4d
mov edx, eax
call fcn.00460a50
add esp, 4
add dword [edi + 4], 0x18
jmp 0x45ea55
push eax
mov ecx, edi
call fcn.004607c0
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x74]
call fcn.004215a0
mov edx, dword [ebp - 0x58]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ea7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ea96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45eaae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45eac6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45eae8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x5c]
jl 0x45e643
push ebx
call fcn.00546a3c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0042c6b0
push 0x80004005
call fcn.0042c6b0
int3