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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d15f3
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
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 - 0x48], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x34], al
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
call fcn.0040f7b0
mov ecx, dword [esi + 0x10]
mov edx, eax
cmp ecx, 4
jb 0x436e14
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x436cd5
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.00438e50
add esp, 0x10
test eax, eax
jne 0x436e14
push ecx
call fcn.0042f060
add esp, 4
test al, al
je 0x436d17
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
test byte [eax + 3], 0x40
jne 0x436f21
mov dword [ebp - 0x80], 0
push 3
xor eax, eax
mov dword [ebp - 0x70], 0
push 0x4ebb6c
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 3
call fcn.004123e0
mov dword [ebp - 0x68], 0
push 3
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4e9670
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov byte [ebp - 4], 5
call fcn.004123e0
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.004362b0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x68]
mov edx, eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.004366d0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x436dd2
mov ecx, eax
call fcn.004127e0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x110]
call fcn.004127e0
lea ecx, [ebp - 0x128]
call fcn.004127e0
lea ecx, [ebp - 0x68]
call fcn.004127e0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.004127e0
sub esp, 8
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.00436850
add esp, 8
test al, al
je 0x436f4a
cmp dword [ebp - 0x1c], 0
lea edi, [ebp - 0x2c]
cmove edi, esi
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x436e28
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x436f6b
push eax
call fcn.00485139
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 0xb
cmp dword [edi + 0x14], 8
jb 0x436e58
mov edi, dword [edi]
push esi
push dword [ebp - 0x4c]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x436f93
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x4eafcc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x436fbb
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0xfeef04bd
jne 0x436fe3
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov eax, ecx
mov edi, dword [ebp - 0x48]
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.00485360
add esp, 4
cmp byte [ebp - 0x34], 0
jne 0x436ed7
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
call fcn.00438710
lea ecx, [ebp - 0x2c]
call fcn.004127e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412590
push eax
push str.Cannot_query_a_.sys_file_version_from_PPL_process__ls
lea ecx, [ebp - 0x94]
call fcn.00438690
push 0x5057bc
lea eax, [ebp - 0x94]
push eax
call fcn.004a0209
push str.Unable_to_make_a_.sys_copy
lea ecx, [ebp - 0xa8]
call fcn.0043e080
push 0x5057bc
lea eax, [ebp - 0xa8]
push eax
call fcn.004a0209
push 0x4ebb90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0xbc]
push eax
call fcn.004a0209
push 0x4ebba8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0xd0]
push eax
call fcn.004a0209
push 0x4ebbbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0xe4]
push eax
call fcn.004a0209
push str.VerQueryValueW_signature_is_invalid
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xf8]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0xf8]
push eax
call fcn.004a0209
int3