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

Disassembly:
push 0xffffffffffffffff
push 0x4802e1
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
push str.InitializeCommonParam
push str.CScriptManager
mov edi, ecx
call fcn.00420ef0
add esp, 8
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426789
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x450], 0
mov eax, dword [edi + 0x1c]
cmp dword [edi + 0xc], eax
jle 0x4267c5
test eax, eax
jl 0x426a68
cmp eax, dword [edi + 0xc]
jge 0x426a68
mov ecx, dword [edi + 8]
mov ebp, dword [ecx + eax*4]
jmp 0x4267c7
xor ebp, ebp
mov eax, dword [edi + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00404a50
mov byte [esp + 0x450], 1
mov esi, dword [esp + 0x1c]
test esi, esi
lea ecx, [edi + 0x30]
jne 0x4267eb
xor eax, eax
jmp 0x4267ff
mov eax, esi
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4267f0
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.00404e80
lea edx, [esp + 0x1c]
push edx
mov ebx, str._cdres
call fcn.004285b0
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
add esp, 4
push str.DirMember
push str.Main
mov ecx, ebp
call edx
test eax, eax
je 0x42688b
mov eax, dword [ebp]
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, ebp
call edx
test eax, eax
je 0x42688b
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004296d0
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x42685b
xor eax, eax
jmp 0x42686f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426860
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00404e80
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004285b0
add esp, 4
mov edx, dword [esp + 0x1c]
test edx, edx
lea ebp, [edi + 0x2c]
jne 0x42689a
xor eax, eax
jmp 0x4268af
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4268a0
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, ebp
call fcn.00404e80
lea esi, [edi + 0x150]
push esi
lea ebx, [edi + 0x34]
push ebx
call fcn.00426b50
movzx edx, word [esi]
push edx
push ebx
mov ecx, edi
call fcn.00426e60
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push 0x19
lea eax, [esp + 0x3c]
push eax
push 0
call esi
test eax, eax
je 0x426900
lea ecx, [esp + 0x34]
push ecx
push edi
mov ebx, str._COMMON_DESKTOP_
mov eax, 1
call fcn.0042a100
push 1
push 0x17
lea edx, [esp + 0x3c]
push edx
push 0
call esi
test eax, eax
je 0x426926
lea eax, [esp + 0x34]
push eax
push edi
mov ebx, str._COMMON_PROGRAMS_
mov eax, 1
call fcn.0042a100
push 1
push 0x16
lea ecx, [esp + 0x3c]
push ecx
push 0
call esi
test eax, eax
je 0x42694c
lea edx, [esp + 0x34]
push edx
push edi
mov ebx, str._COMMON_STARTMENU_
mov eax, 1
call fcn.0042a100
push 1
push 0x10
lea eax, [esp + 0x3c]
push eax
push 0
call esi
test eax, eax
je 0x426972
lea ecx, [esp + 0x34]
push ecx
push edi
mov ebx, str._USER_DESKTOP_
mov eax, 1
call fcn.0042a100
push 1
push 2
lea edx, [esp + 0x3c]
push edx
push 0
call esi
test eax, eax
je 0x426998
lea eax, [esp + 0x34]
push eax
push edi
mov ebx, str._USER_PROGRAMS_
mov eax, 1
call fcn.0042a100
push 1
push 0xb
lea ecx, [esp + 0x3c]
push ecx
push 0
call esi
test eax, eax
je 0x4269be
lea edx, [esp + 0x34]
push edx
push edi
mov ebx, str._USER_STARTMENU_
mov eax, 1
call fcn.0042a100
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push 0x48bf1c
push edx
call fcn.004048d0
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
push edi
mov ebx, str._DESKTOP_WIDTH_
mov eax, 1
call fcn.0042a100
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push 0x48bf1c
push edx
call fcn.004048d0
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
push edi
mov ebx, str._DESKTOP_HEIGHT_
mov eax, 1
call fcn.0042a100
mov eax, dword [ebp]
push eax
mov ecx, edi
call fcn.00428940
test eax, eax
jle 0x426ab3
cmp dword [edi + 0x198], 1
jne 0x426ab3
mov eax, dword [edi + 0x1a4]
push eax
lea ecx, [esp + 0x24]
call fcn.00404a50
mov byte [esp + 0x450], 2
cmp dword [edi + 0x198], 0
jg 0x426a6d
jmp fcn.00442afc
mov ecx, dword [edi + 0x194]
mov ebx, dword [ecx]
lea edx, [esp + 0x20]
push edx
call fcn.004285b0
mov esi, dword [esp + 0x24]
add esp, 4
call fcn.0042a430
mov byte [esp + 0x450], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.InitializeCommonParam
push str.CScriptManager
xor esi, esi
call fcn.00421090
mov byte [esp + 0x458], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426aef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x450], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00467769
add esp, 0x440
ret