Function at 0x101dfed0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10251bd9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x8c]
lea eax, [edi - 0x26]
mov ebp, 1
cmp eax, 6
ja case.0x101dff17.39
jmp dword [eax*4 + 0x101e02c8]
call fcn.101f60c0
test al, al
je case.0x101dff17.39
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [esp + 0x34]
call fcn.10055ee0
mov dword [esp + 0x80], ebp
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x4c]
call fcn.10055ce0
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.10055f50
mov byte [esp + 0x80], 4
lea ecx, [esp + 0x48]
call fcn.100560b0
mov bl, 5
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x30]
call fcn.100560b0
push str.ProgramFilesDir
lea ecx, [esp + 0x20]
call fcn.100044a0
mov byte [esp + 0x80], 6
push ebp
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.10055e70
mov byte [esp + 0x80], 7
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.101e5020
mov byte [esp + 0x80], 9
lea ecx, [esp + 0x54]
call fcn.100560b0
mov byte [esp + 0x80], 0xa
lea ecx, [esp + 0x1c]
call fcn.10004720
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x101e002f
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10056360
mov dword [esp + 0x18], ebp
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x14]
call fcn.10004720
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x24]
call fcn.100560b0
jmp 0x101e02b2
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x14]
call fcn.10004720
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x24]
call fcn.100560b0
jmp case.0x101dff17.39
mov edi, 0x26
jmp case.0x101dff17.39
mov edi, 0x25
jmp case.0x101dff17.39
call fcn.101f60c0
test al, al
je case.0x101dff17.39
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [esp + 0x40]
call fcn.10055ee0
mov dword [esp + 0x80], 0xb
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x64]
call fcn.10055ce0
mov byte [esp + 0x80], 0xc
lea edx, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.10055f50
mov byte [esp + 0x80], 0xe
lea ecx, [esp + 0x60]
call fcn.100560b0
mov bl, 0xf
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x3c]
call fcn.100560b0
push str.CommonFilesDir
lea ecx, [esp + 0x24]
call fcn.100044a0
mov byte [esp + 0x80], 0x10
push ebp
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x2c]
call fcn.10055e70
mov byte [esp + 0x80], 0x11
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.101e5020
mov byte [esp + 0x80], 0x13
lea ecx, [esp + 0x6c]
call fcn.100560b0
mov byte [esp + 0x80], 0x14
lea ecx, [esp + 0x20]
call fcn.10004720
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x101e002f
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10056360
mov dword [esp + 0x18], ebp
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x14]
call fcn.10004720
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x24]
call fcn.100560b0
jmp 0x101e02b2
mov edi, 0x2b
push 0x103b7524
lea ecx, [esp + 0x90]
call fcn.10003eb0
mov dword [esp + 0x80], 0x16
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx - 8]
mov edx, ebp
sub edx, dword [ecx - 4]
mov esi, 0x104
sub eax, esi
or eax, edx
jge 0x101e01d1
push esi
lea ecx, [esp + 0x90]
call fcn.100042e0
mov ecx, dword [esp + 0x8c]
cmp dword [ecx - 8], esi
mov eax, ecx
jge 0x101e01ee
push 0
push 0x359
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.100048f0
push eax
movzx eax, byte [esp + 0x94]
xor edx, edx
push edx
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x94]
mov word [ecx + 0x208], dx
movzx edx, byte [esp + 0x9c]
neg edx
sbb edx, edx
neg eax
sbb eax, eax
and eax, 0x4000
add eax, 0x4000
or eax, edi
push edx
or eax, 0x1000
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x101e0249
push 0
push 0
push 0x102b274a
push eax
call fcn.100048f0
cmp eax, ebp
jne 0x101e0263
push 0
push 0x946
push str..FilePath.cpp
push 0x80004005
call fcn.100048f0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.102318e6
add esp, 8
push eax
lea ecx, [esp + 0x90]
call fcn.10004360
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.10056360
mov dword [esp + 0x18], ebp
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x8c]
call fcn.10004720
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret