Function at 0x48c6d0
Capabilities:
Get file version info
Get process heap flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5af3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x120
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x58], esi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov byte [ebp - 0x3c], al
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
call fcn.00413640
mov ecx, dword [esi + 0x10]
mov edx, eax
cmp ecx, 4
jb 0x48c8a4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48c769
mov eax, dword [esi]
push edx
add ecx, 0xfffffffc
mov edx, str..sys
push 4
push 4
push 4
lea ecx, [eax + ecx*2]
call fcn.00421d70
add esp, 0x10
test eax, eax
jne 0x48c8a4
push ecx
call fcn.004469e0
add esp, 4
test al, al
je 0x48c7ab
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
test byte [eax + 3], 0x40
jne 0x48c9b3
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push 0x52d9b0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.0040a960
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push 0x52d9b8
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.0040a960
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call fcn.0048bb60
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x70]
mov edx, eax
push ecx
lea ecx, [ebp - 0x118]
call fcn.0048bfc0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x34]
cmp eax, edi
je 0x48c85f
mov ecx, eax
call fcn.0040aa40
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x118]
call fcn.0040aa40
lea ecx, [ebp - 0x130]
call fcn.0040aa40
lea ecx, [ebp - 0x70]
call fcn.0040aa40
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040aa40
sub esp, 8
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.0048c160
add esp, 8
test al, al
je 0x48c9dc
cmp dword [ebp - 0x24], 0
lea edi, [ebp - 0x34]
cmove edi, esi
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x48c8b8
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x48c9fd
push eax
call fcn.004af42f
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x48c8e8
mov edi, dword [edi]
push esi
push dword [ebp - 0x54]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x48ca25
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x528d0c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x48ca4d
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0xfeef04bd
jne 0x48ca75
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov eax, ecx
mov edi, dword [ebp - 0x50]
shr eax, 0x10
push esi
mov word [edi], ax
mov eax, edx
shr eax, 0x10
mov word [edi + 2], cx
mov word [edi + 4], ax
mov word [edi + 6], dx
call fcn.004af421
add esp, 4
cmp byte [ebp - 0x3c], 0
jne 0x48c967
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], eax
call fcn.0048d5a0
lea ecx, [ebp - 0x34]
call fcn.0040aa40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, esi
call fcn.0040aae0
push eax
push str.Cannot_query_a_.sys_file_version_from_PPL_process__ls
lea ecx, [ebp - 0x9c]
call fcn.0048d380
push 0x549cdc
lea eax, [ebp - 0x9c]
push eax
call fcn.004b1dab
push str.Unable_to_make_a_.sys_copy
lea ecx, [ebp - 0xb0]
call fcn.004957e0
push 0x549cdc
lea eax, [ebp - 0xb0]
push eax
call fcn.004b1dab
push 0x536618
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00495810
push 0x549cdc
lea eax, [ebp - 0xc4]
push eax
call fcn.004b1dab
push 0x536630
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00495810
push 0x549cdc
lea eax, [ebp - 0xd8]
push eax
call fcn.004b1dab
push 0x5365e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xec]
call fcn.00495810
push 0x549cdc
lea eax, [ebp - 0xec]
push eax
call fcn.004b1dab
push str.VerQueryValueW_signature_is_invalid
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x100]
call fcn.00495810
push 0x549cdc
lea eax, [ebp - 0x100]
push eax
call fcn.004b1dab
int3