Function at 0x50acb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x1fc
push ebp
push esi
mov ebp, ecx
call fcn.0050a840
mov eax, dword [ebp + 0x60]
xor esi, esi
cmp eax, esi
jne 0x50acee
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov dword [ebp + 0x60], eax
call fcn.004864e0
mov eax, dword [ebp + 0x60]
add esp, 4
cmp eax, esi
jne 0x50acee
pop esi
xor eax, eax
pop ebp
add esp, 0x1fc
ret 8
mov eax, dword [esp + 0x20c]
lea ecx, [esp + 0x14]
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push ecx
push esi
push esi
mov dword [ebp + 0x4c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call edi
test eax, eax
jl 0x50aee3
mov eax, dword [esp + 0x20c]
lea edx, [esp + 0x14]
push edx
push eax
push esi
call edi
test eax, eax
jl 0x50aee3
mov ecx, 0x3a
xor eax, eax
lea edi, [esp + 0x120]
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x68]
add ecx, 0x2710
lea ebx, [ebp + 0x64]
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x134], esi
mov dword [esp + 0x38], ecx
mov ecx, 0x3a
lea esi, [esp + 0x124]
lea edi, [esp + 0x3c]
mov dword [esp + 0x124], 0x123fa
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 4]
mov ecx, dword [0x55e494]
mov edx, dword [esp + 0x38]
mov edi, eax
cmp esi, ecx
mov al, 1
je 0x50adb4
mov eax, dword [esi + 0xc]
mov edi, esi
cmp edx, eax
setl al
test al, al
je 0x50adad
mov esi, dword [esi]
jmp 0x50adb0
mov esi, dword [esi + 8]
cmp esi, ecx
jne 0x50ad9b
mov cl, byte [ebx + 8]
test cl, cl
je 0x50adde
lea edx, [esp + 0x13]
lea eax, [esp + 0x38]
push edx
push eax
push edi
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x27], 1
call fcn.0050f150
push eax
jmp 0x50ae61
test al, al
mov dword [esp + 0x14], edi
je 0x50ae29
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.0043d590
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jne 0x50ae1c
lea edx, [esp + 0x12]
lea eax, [esp + 0x38]
push edx
push eax
push edi
lea ecx, [esp + 0x3c]
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x26], 1
call fcn.0050f150
push eax
jmp 0x50ae61
lea ecx, [esp + 0x14]
call fcn.0050f7a0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], edx
jge 0x50ae52
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push edx
push edi
lea eax, [esp + 0x34]
push esi
push eax
mov ecx, ebx
mov byte [esp + 0x24], 1
call fcn.0050f150
push eax
jmp 0x50ae61
lea ecx, [esp + 0x11]
lea edx, [esp + 0x14]
push ecx
mov byte [esp + 0x15], 0
push edx
lea ecx, [esp + 0x28]
call fcn.004aee90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x18]
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0050abc0
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x60]
mov eax, dword [esp + 0x218]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x58]
add esp, 8
inc ecx
test eax, eax
mov dword [ebp + 0x58], ecx
pop ebx
jne 0x50aec0
mov eax, dword [ebp + 0x5c]
lea ecx, [esi + 0x10]
push ecx
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 0x542354
push 0
push ecx
push eax
call dword [edx + 0x14]
jmp 0x50aed8
mov edx, dword [esp + 0x14]
add esi, 0x10
push 0
push esi
push 0x542354
push edx
call fcn.0050bcb0
add esp, 0x10
mov eax, dword [ebp + 0x60]
mov ecx, ebp
push eax
call fcn.0050b0c0
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1fc
ret 8