Function at 0x10034870
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e667
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x234]
call fcn.10004650
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jbe 0x10034b68
mov ecx, dword [ebp - 0x268]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x254]
call fcn.10036800
mov byte [ebp - 4], 1
push str._ntoskrnl.exe
lea ecx, [ebp - 0x254]
call fcn.10005160
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x254]
call fcn.100095b0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jbe 0x10034b59
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.1015cfc9
add esp, 4
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x10034b59
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x264]
push eax
push 0
lea ecx, [ebp - 0x254]
call fcn.100095b0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10034b4a
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x258]
push edx
push str....
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10034b4a
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
cmp dword [edx], 0xfeef04bd
jne 0x10034b4a
mov eax, dword [ebp - 0x25c]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.10034040
add esp, 8
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x234]
call fcn.100052e0
lea ecx, [ebp - 0x2a0]
call fcn.10004780
push 0x101e6058
lea ecx, [ebp - 0x234]
call fcn.100052c0
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
lea edx, [ebp - 0x2b8]
push edx
call fcn.10034040
add esp, 8
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1000b2b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.10004780
push 0x101e605c
lea ecx, [ebp - 0x234]
call fcn.100052c0
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.10034040
add esp, 8
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1000b2b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.10004780
push 0x101e6060
lea ecx, [ebp - 0x234]
call fcn.100052c0
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
lea edx, [ebp - 0x2e8]
push edx
call fcn.10034040
add esp, 8
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1000b2b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e8]
call fcn.10004780
mov edx, dword [ebp - 0x260]
push edx
call fcn.1015cfd4
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10009870
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
call fcn.100045d0
mov ecx, dword [ebp - 0x26c]
or ecx, 1
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10004780
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret