Function at 0x430bd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480a58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push 0x4927bc
push str.CBrowseAction
call fcn.00420ef0
add esp, 8
lea eax, [esp + 0x10]
xor esi, esi
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x430e0d
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x430dfd
mov dword [esp + 8], esi
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x430c4c
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 + 0xc], eax
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x430c94
mov dword [esp + 0x18], eax
jmp 0x430c9b
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x18], ecx
lea edx, [esp + 8]
push edx
push 0
push 0
mov dword [esp + 0x34], 0x54
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x430cbe
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x1c]
cmp dword [eax + 0xc], ecx
jle 0x430cdf
test ecx, ecx
jl 0x430cda
cmp ecx, dword [eax + 0xc]
jge 0x430cda
mov edx, dword [eax + 8]
mov esi, dword [edx + ecx*4]
jmp 0x430ce1
call fcn.00442afc
xor esi, esi
mov eax, dword [edi + 0xc]
mov edx, dword [esi]
push str.DialogTitleString
push eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
test eax, eax
je 0x430d21
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0xc]
push eax
push 1
mov ecx, esi
call edx
test eax, eax
je 0x430d21
mov ecx, dword [edi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.004296d0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
test ebx, ebx
lea ecx, [edi + 0x10]
jne 0x430d2c
xor eax, eax
jmp 0x430d40
mov eax, ebx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x430d31
sub eax, esi
sar eax, 1
push eax
push ebx
call fcn.00404e80
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0x430fd0
mov dword [edi + 4], eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [esp + 8], eax
je 0x430dba
push 0x410
call fcn.0044288b
mov edx, dword [esp + 0xc]
add esp, 4
mov esi, eax
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
test eax, eax
mov dword [esp + 0x14], eax
je 0x430da0
mov ecx, edi
call fcn.00430af0
push esi
call fcn.00442886
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
add esp, 4
push ecx
push eax
call edx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x430dcf
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430dfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x14]
push esi
push 0x4927bc
push str.CBrowseAction
call fcn.00421170
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 4