Function at 0x21027c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x21027ce2
jmp 0x21027f62
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
je 0x21027cf5
jmp 0x21027f5d
lea edx, [ebp - 0x10]
push edx
push 0x2104c950
push 1
push 0
push 0x2104c940
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x21027d16
jmp 0x21027f58
lea eax, [ebp - 0xc]
push eax
push 0x2104c970
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
call dword [edx]
test eax, eax
je 0x21027d33
jmp 0x21027f53
lea ecx, [ebp - 0x28]
push ecx
push 4
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x21027d4a
jmp 0x21027f4e
lea edx, [ebp - 4]
push edx
push 0x2104c960
push 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x21027d6e
jmp 0x21027f49
lea ecx, [ebp - 0x1c]
push ecx
push 0x40
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x21027d8b
jmp 0x21027f44
push 0
lea edx, [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
call dword [ecx + 0xc]
test eax, eax
jne 0x21027e94
lea eax, [ebp - 0x130]
push eax
push 0x2000
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x2c]
test eax, eax
jne 0x21027e78
push 0x100
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.21027f6d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.21030400
add esp, 8
test eax, eax
jne 0x21027e78
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.21028032
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x21027e21
jmp 0x21027f3f
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0x14]
test eax, eax
je 0x21027e3a
jmp 0x21027f3a
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x438]
push ecx
call fcn.210028a1
push 1
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x21027e6f
jmp 0x21027f35
mov dword [ebp - 0x14], 1
jmp 0x21027e94
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x24], 0
jmp 0x21027d8b
cmp dword [ebp - 0x18], 0
je 0x21027eaa
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [eax + 0x14]
cmp dword [ebp - 0x24], 0
je 0x21027ec0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call dword [ecx + 0x14]
cmp dword [ebp - 0x1c], 0
je 0x21027ed2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
call dword [ecx + 8]
cmp dword [ebp - 4], 0
je 0x21027ee4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x21027ef6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x10], 0
je 0x21027f08
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x28], 0
je 0x21027f1e
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 0x14]
cmp dword [ebp - 0x20], 0
je 0x21027f30
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
jmp 0x21027f67
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
jmp 0x21027e94
mov esp, ebp
pop ebp
ret 8