Function at 0x43dea0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x494f28
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push 0x4a9540
push str.CBrowseAction
call fcn.0042af10
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 0x43e0dd
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x43e0cd
mov dword [esp + 8], esi
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43df1c
push 0x80004005
call fcn.004022b0
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 0x43df64
mov dword [esp + 0x18], eax
jmp 0x43df6b
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 0x43df8e
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 0x43dfaf
test ecx, ecx
jl 0x43dfaa
cmp ecx, dword [eax + 0xc]
jge 0x43dfaa
mov edx, dword [eax + 8]
mov esi, dword [edx + ecx*4]
jmp 0x43dfb1
call fcn.00455154
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 0x43dff1
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 0x43dff1
mov ecx, dword [edi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00435540
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], edx
test ebx, ebx
lea ecx, [edi + 0x10]
jne 0x43dffc
xor eax, eax
jmp 0x43e010
mov eax, ebx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x43e001
sub eax, esi
sar eax, 1
push eax
push ebx
call fcn.00404b00
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0x43e2a0
mov dword [edi + 4], eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [esp + 8], eax
je 0x43e08a
push 0x410
call fcn.00455056
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 0x43e070
mov ecx, edi
call fcn.0043ddc0
push esi
call fcn.0045505b
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 0x43e09f
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 0x43e0cd
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 0x4a9540
push str.CBrowseAction
call fcn.0042b190
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