Function at 0x2103eb82
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x434]
cmp dword [eax], 0
je 0x2103ebec
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 4], 0
je 0x2103ebec
mov dword [ebp - 0x438], 1
jmp 0x2103ebf6
mov dword [ebp - 0x438], 0
cmp dword [ebp - 0x438], 0
jne 0x2103ec06
xor eax, eax
jmp 0x2103ee49
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x2103ec19
jmp 0x2103ee44
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
je 0x2103ec2c
jmp 0x2103ee3f
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x2103ec43
jmp 0x2103ee3a
lea edx, [ebp - 4]
push edx
push 0x21068bd0
push 0
mov eax, dword [ebp - 0x20]
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 0x2103ec67
jmp 0x2103ee35
lea ecx, [ebp - 0x14]
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 0x2103ec84
jmp 0x2103ee30
push 0
lea edx, [ebp - 0x1c]
push edx
push 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 0xc]
test eax, eax
jne 0x2103eda7
lea eax, [ebp - 0x128]
push eax
push 0x2000
mov ecx, dword [ebp - 0x1c]
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 0x2103ed8b
push pe_nt_image_headers32
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.2103f3c6
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.210496f0
add esp, 8
test eax, eax
jne 0x2103ed8b
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.2103f2a4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x2103ed1e
jmp 0x2103ee2b
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x434]
mov eax, dword [edx]
mov edx, dword [eax]
push ecx
call dword [edx + 0x14]
test eax, eax
je 0x2103ed41
jmp 0x2103ee26
push 0
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x430]
push ecx
call fcn.210033dc
push 1
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 4]
mov edx, dword [eax]
push ecx
call dword [edx + 0x18]
test eax, eax
je 0x2103ed82
jmp 0x2103ee24
mov dword [ebp - 0xc], 1
jmp 0x2103eda7
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x1c], 0
jmp 0x2103ec84
cmp dword [ebp - 0x10], 0
je 0x2103edbd
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [eax + 0x14]
cmp dword [ebp - 0x1c], 0
je 0x2103edd3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
call dword [ecx + 0x14]
cmp dword [ebp - 0x14], 0
je 0x2103ede5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 8]
cmp dword [ebp - 4], 0
je 0x2103edf7
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x20], 0
je 0x2103ee0d
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
call dword [edx + 0x14]
cmp dword [ebp - 0x18], 0
je 0x2103ee1f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0xc]
jmp 0x2103ee49
jmp 0x2103eda7
jmp 0x2103eda7
jmp 0x2103eda7
jmp 0x2103eda7
jmp 0x2103eda7
jmp 0x2103eda7
jmp 0x2103eda7
jmp 0x2103eda7
mov esp, ebp
pop ebp
ret 8