Function at 0x43a98b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
push ebx
push esi
push edi
lea esi, [ebp - 5]
call fcn.0040c15b
lea eax, [ebp - 0xc]
push eax
push 0x47b0cc
push 1
xor ebx, ebx
push ebx
push 0x47b0dc
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0xc], ebx
je 0x43aaf9
lea eax, [ebp - 0x23c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x23c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x43a9df
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x23e]
cmp word [eax], 0x5c
jne 0x43a9fd
mov word [eax], bx
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x43aa74
cmp word [eax], bx
je 0x43aa74
push ebx
push 0x20000000
lea ecx, [ebp + 0x20]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
jl 0x43aa74
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x20]
mov dword [ebp + 0x10], ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateShellItem]
test eax, eax
jl 0x43aa5e
cmp dword [ebp + 0x10], ebx
je 0x43aa5e
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push dword [ebp + 0x20]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x43aa74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x28]
or dword [ebp - 0x20], 0x1800
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0xc]
jl 0x43aaef
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
test eax, eax
mov eax, dword [ebp - 0x10]
jl 0x43aae2
cmp eax, ebx
je 0x43aaec
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x43ab0d
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x43aaec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x43aaf9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 5], bl
je 0x43ab04
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x1c
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0043cc88
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x18], eax
mov byte [ebp + 0x13], 1
mov dword [ebp + 0x20], ebx
jbe 0x43abbb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp - 0x10]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
cmp eax, ebx
je 0x43ab4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
mov eax, dword [edi]
push esi
push dword [ebp + 0x20]
push edi
call dword [eax + 0x20]
cmp byte [ebp + 0x13], bl
je 0x43abac
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
cmp dword [eax], ebx
je 0x43abac
lea edx, [ebp + 0x10]
push edx
mov dword [ebp + 0x10], ebx
mov eax, dword [eax]
mov ecx, dword [eax]
push 0x80058000
push eax
call dword [ecx + 0x14]
cmp dword [ebp + 0x10], ebx
je 0x43aba9
mov edx, dword [ebp + 0x10]
push 0x104
lea esi, [ebp - 0x444]
call fcn.00417e96
push dword [ebp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 0x14]
mov edx, esi
call fcn.0040c173
mov byte [ebp + 0x13], bl
inc dword [ebp + 0x20]
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp - 0x14]
jb 0x43ab34
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x23c]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.0043a483
mov dword [ebp - 0x28], eax
or eax, edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], edx
push eax
jne 0x43ac02
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 0x14], 0x47b3a8
call fcn.0043a628
jmp 0x43ac0d
push dword [ebp + 8]
lea esi, [ebp + 0x14]
call fcn.0043de96
mov eax, dword [eax]
cmp eax, ebx
mov eax, dword [ebp - 0x1c]
sete byte [ebp + 0x17]
cmp eax, ebx
je 0x43ac21
call fcn.0043df68
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x43ac2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x43ac3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 5], bl
je 0x43ac46
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp + 0x17]
jmp 0x43ab06