Function at 0x4e5804
Capabilities:
Access peb ldr_data
Get file system object information
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x4e580c
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4e5b8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404600
lea eax, [ebx + 4]
call fcn.00404600
lea eax, [ebx + 8]
call fcn.00404600
lea eax, [ebx + 0xc]
call fcn.00404600
lea eax, [ebx + 0x10]
call fcn.00404600
lea eax, [ebx + 0x14]
call fcn.00404600
lea eax, [ebx + 0x18]
call fcn.00404600
lea eax, [ebx + 0x1c]
call fcn.00404600
lea eax, [ebx + 0x20]
call fcn.00404600
lea eax, [ebx + 0x24]
call fcn.00404600
lea eax, [ebx + 0x28]
call fcn.00404600
lea eax, [ebx + 0x2c]
call fcn.00404600
lea eax, [ebx + 0x30]
call fcn.00404600
lea eax, [ebx + 0x34]
call fcn.00404600
mov byte [ebx + 0x38], 0
mov byte [ebx + 0x3c], 0
mov byte [ebx + 0x39], 0
mov byte [ebx + 0x3a], 0
mov byte [ebx + 0x3b], 0
mov byte [ebx + 0x3d], 0
push 0x400
push 0x160
lea eax, [ebp - 0x180]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404ac0
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4e58e3
mov eax, ebx
lea edx, [ebp - 0x70]
mov ecx, 0x50
call fcn.00404870
push 0x2000
push 0x160
lea eax, [ebp - 0x180]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404ac0
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4e5b64
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404ac0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x4e5b64
mov eax, dword [ebp - 0x1c]
call fcn.004088e8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e5b5d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea edx, [ebp - 0x184]
mov eax, 0x4e5ba0
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x184]
lea eax, [ebx + 4]
call fcn.00404654
push ebp
lea edx, [ebp - 0x188]
mov eax, 0x4e5bb4
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x188]
lea eax, [ebx + 8]
call fcn.00404654
push ebp
lea edx, [ebp - 0x18c]
mov eax, 0x4e5bcc
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x18c]
lea eax, [ebx + 0xc]
call fcn.00404654
push ebp
lea edx, [ebp - 0x190]
mov eax, 0x4e5be0
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x190]
lea eax, [ebx + 0x10]
call fcn.00404654
push ebp
lea edx, [ebp - 0x194]
mov eax, 0x4e5bf8
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x194]
lea eax, [ebx + 0x14]
call fcn.00404654
push ebp
lea edx, [ebp - 0x198]
mov eax, 0x4e5c10
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x198]
lea eax, [ebx + 0x18]
call fcn.00404654
push ebp
lea edx, [ebp - 0x19c]
mov eax, 0x4e5c28
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x19c]
lea eax, [ebx + 0x1c]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1a0]
mov eax, 0x4e5c44
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x1a0]
lea eax, [ebx + 0x20]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1a4]
mov eax, 0x4e5c58
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x1a4]
lea eax, [ebx + 0x24]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1a8]
mov eax, 0x4e5c70
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x1a8]
lea eax, [ebx + 0x28]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1ac]
mov eax, 0x4e5c84
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x1ac]
lea eax, [ebx + 0x2c]
call fcn.00404654
push ebp
lea edx, [ebp - 0x1b0]
mov eax, 0x4e5c9c
call fcn.004e5778
pop ecx
mov edx, dword [ebp - 0x1b0]
lea eax, [ebx + 0x30]
call fcn.00404654
push ebp
call fcn.004e564c
pop ecx
mov dword [ebp - 0x20], eax
mov dx, 1
mov eax, dword [ebp - 0x20]
call fcn.004e5638
mov byte [ebx + 0x38], al
mov dx, 2
mov eax, dword [ebp - 0x20]
call fcn.004e5638
mov byte [ebx + 0x39], al
mov dx, 8
mov eax, dword [ebp - 0x20]
call fcn.004e5638
mov byte [ebx + 0x3b], al
mov dx, 0x20
mov eax, dword [ebp - 0x20]
call fcn.004e5638
mov byte [ebx + 0x3a], al
mov dx, 4
mov eax, dword [ebp - 0x20]
call fcn.004e5638
mov byte [ebx + 0x3c], al
mov dx, 0x10
mov eax, dword [ebp - 0x20]
call fcn.004e5638
mov byte [ebx + 0x3d], al
lea edx, [ebp - 0x1b4]
mov eax, dword [ebp - 0x20]
call fcn.004e5244
mov edx, dword [ebp - 0x1b4]
lea eax, [ebx + 0x34]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5b64
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00402b44
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5b91
lea eax, [ebp - 0x1b4]
mov edx, 0xd
call fcn.00404624
lea eax, [ebp - 0x10]
call fcn.00404600
ret