Function at 0x4bb6f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x138
push 0
push 0
dec ecx
jne 0x4bb6f9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f48
mov eax, dword [ebp - 8]
call fcn.00405f48
mov ecx, 4
lea eax, [ebp - 0x24]
mov edx, dword [0x401124]
call fcn.00406934
lea eax, [ebp - 0xec]
mov edx, dword [0x40b264]
call fcn.00406900
xor eax, eax
push ebp
push 0x4bc164
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00405fb4
mov eax, dword [ebp - 8]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, 0x4bc180
mov edx, Ordinal_2
xor eax, eax
call fcn.004bce90
test al, al
je 0x4bb790
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405fb4
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405fb4
lea eax, [ebp - 0x940]
mov ecx, 0x4bc1c4
mov edx, dword [ebp - 8]
call fcn.0040631c
mov eax, dword [ebp - 0x940]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, 0x4bc180
mov edx, Ordinal_2
xor eax, eax
call fcn.004bce90
test al, al
je 0x4bb810
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xc]
call fcn.0040c940
test al, al
jne 0x4bb810
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea ecx, [ebp - 0x944]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004b916c
mov eax, dword [ebp - 0x944]
mov edx, 0x4bc1dc
call fcn.00406594
je 0x4bb842
lea eax, [ebp - 4]
mov edx, 0x4bc1dc
call fcn.0040629c
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00405fb4
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
xor eax, eax
push ebp
push 0x4bb91b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x948]
mov ecx, 0x4bc1ec
mov edx, dword [ebp - 4]
call fcn.0040631c
mov ecx, dword [ebp - 0x948]
mov dl, 1
mov eax, dword [0x42d1ac]
call fcn.0042d270
mov ebx, eax
push 0
lea eax, [ebp - 0x94c]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x4bc210
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x94c]
lea eax, [ebp - 0x20]
call fcn.00405fb4
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x950]
mov ecx, 0x4bc1c4
mov edx, dword [ebp - 8]
call fcn.0040631c
mov ecx, dword [ebp - 0x950]
mov edx, 0x4bc210
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
call fcn.0040c940
test al, al
jne 0x4bb90a
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov eax, ebx
call fcn.0040428c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bb925
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00405fb4
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
lea edx, [ebp - 0x10]
mov eax, 0x4bc22c
call fcn.00414640
lea ecx, [ebp - 0x954]
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004b916c
mov eax, dword [ebp - 0x954]
mov edx, 0x4bc1dc
call fcn.00406594
je 0x4bb982
lea eax, [ebp - 0x10]
mov edx, 0x4bc1dc
call fcn.0040629c
lea eax, [ebp - 0x10]
mov edx, 0x4bc258
call fcn.0040629c
lea eax, [ebp - 0x958]
mov ecx, 0x4bc27c
mov edx, dword [ebp - 0x10]
call fcn.0040631c
mov eax, dword [ebp - 0x958]
call fcn.0040cd44
test al, al
je 0x4bba7a
xor eax, eax
push ebp
push 0x4bba70
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x95c]
mov ecx, 0x4bc27c
mov edx, dword [ebp - 0x10]
call fcn.0040631c
mov ecx, dword [ebp - 0x95c]
mov dl, 1
mov eax, dword [0x42d1ac]
call fcn.0042d270
mov ebx, eax
push 0
lea eax, [ebp - 0x960]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x4bc210
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x960]
lea eax, [ebp - 0x1c]
call fcn.00405fb4
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x964]
mov ecx, 0x4bc1c4
mov edx, dword [ebp - 8]
call fcn.0040631c
mov ecx, dword [ebp - 0x964]
mov edx, 0x4bc210
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0xc]
call fcn.0040c940
test al, al
jne 0x4bba5f
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov eax, ebx
call fcn.0040428c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bba7a
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405fb4
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
push 0
push 0x23
lea eax, [ebp - 0x93a]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x93a]
mov ecx, 0x401
call fcn.00406148
lea ecx, [ebp - 0x968]
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004b916c
mov eax, dword [ebp - 0x968]
mov edx, 0x4bc1dc
call fcn.00406594
je 0x4bbaef
lea eax, [ebp - 0x10]
mov edx, 0x4bc1dc
call fcn.0040629c
lea eax, [ebp - 0x10]
mov edx, 0x4bc2a0
call fcn.0040629c
lea eax, [ebp - 0x96c]
mov ecx, 0x4bc27c
mov edx, dword [ebp - 0x10]
call fcn.0040631c
mov eax, dword [ebp - 0x96c]
call fcn.0040cd44
test al, al
je 0x4bbbe7
xor eax, eax
push ebp
push 0x4bbbdd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x970]
mov ecx, 0x4bc27c
mov edx, dword [ebp - 0x10]
call fcn.0040631c
mov ecx, dword [ebp - 0x970]
mov dl, 1
mov eax, dword [0x42d1ac]
call fcn.0042d270
mov ebx, eax
push 0
lea eax, [ebp - 0x974]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x4bc210
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x974]
lea eax, [ebp - 0x18]
call fcn.00405fb4
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x978]
mov ecx, 0x4bc1c4
mov edx, dword [ebp - 8]
call fcn.0040631c
mov ecx, dword [ebp - 0x978]
mov edx, 0x4bc210
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0xc]
call fcn.0040c940
test al, al
jne 0x4bbbcc
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov eax, ebx
call fcn.0040428c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbbe7
mov ebx, 4
lea eax, [ebp - 0x104]
mov byte [eax], 1
inc eax
dec ebx
jne 0x4bbbf2
cmp dword [ebp - 0xf0], 0
jle 0x4bbc2d
mov ebx, 4
lea eax, [ebp - 0x24]
lea esi, [ebp - 0x104]
mov edx, dword [eax]
test edx, edx
je 0x4bbc1b
sub edx, 4
mov edx, dword [edx]
cmp edx, dword [ebp - 0xf0]
je 0x4bbc26
mov byte [esi], 0
inc esi
add eax, 4
dec ebx
jne 0x4bbc10
cmp dword [ebp + 0x10], 1
jne 0x4bbc5c
mov ebx, 4
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov eax, dword [esi]
call fcn.0040c940
test al, al
jne 0x4bbc55
mov byte [edi], 0
inc edi
add esi, 4
dec ebx
jne 0x4bbc41
cmp dword [ebp + 0x10], 2
jne 0x4bbe71
mov ebx, 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x114], eax
lea edi, [ebp - 0x104]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x114]
mov edx, dword [edx]
call fcn.00405fb4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4bbca7
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4bbca7
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004056d0
test eax, eax
je 0x4bbcb0
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xe
jne 0x4bbe5f
lea eax, [ebp - 0x980]
push eax
lea eax, [ebp - 0x984]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x984]
mov ecx, 4
mov edx, 1
call fcn.0040a388
push dword [ebp - 0x980]
push 0x4bc2b4
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x98c]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x98c]
mov ecx, 2
mov edx, 5
call fcn.0040a388
push dword [ebp - 0x988]
push 0x4bc2b4
lea eax, [ebp - 0x990]
push eax
lea eax, [ebp - 0x994]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x994]
mov ecx, 2
mov edx, 7
call fcn.0040a388
push dword [ebp - 0x990]
push 0x4bc2bc
lea eax, [ebp - 0x998]
push eax
lea eax, [ebp - 0x99c]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x99c]
mov ecx, 2
mov edx, 9
call fcn.0040a388
push dword [ebp - 0x998]
push 0x4bc2c4
lea eax, [ebp - 0x9a0]
push eax
lea eax, [ebp - 0x9a4]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x9a4]
mov ecx, 2
mov edx, 0xb
call fcn.0040a388
push dword [ebp - 0x9a0]
push 0x4bc2c4
lea eax, [ebp - 0x9a8]
push eax
lea eax, [ebp - 0x9ac]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x9ac]
mov ecx, 2
mov edx, 0xd
call fcn.0040a388
push dword [ebp - 0x9a8]
lea eax, [ebp - 0x97c]
mov edx, 0xb
call fcn.00405d8c
mov edx, dword [ebp - 0x97c]
lea eax, [ebp - 0x14]
call fcn.004061b0
mov word [ebp - 0xe4], 0x2d
mov word [ebp - 0xe2], 0x3a
lea eax, [ebp - 0xd8]
mov edx, 0x4bc2d4
call fcn.00405fb4
lea eax, [ebp - 0xc8]
mov edx, 0x4bc2f8
call fcn.00405fb4
lea ecx, [ebp - 0xec]
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0x14]
call fcn.00411558
test al, al
jne 0x4bbe62
mov byte [edi], 0
jmp 0x4bbe62
mov byte [edi], 0
inc edi
add dword [ebp - 0x114], 4
dec ebx
jne 0x4bbc7a
cmp dword [ebp + 0x10], 3
jne 0x4bbfdc
mov ebx, 4
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x104]
lea eax, [ebp - 0xc]
mov edx, dword [esi]
call fcn.00405fb4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4bbeb0
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4bbeb0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004056d0
test eax, eax
je 0x4bbeb9
sub eax, 4
mov eax, dword [eax]
cmp eax, 8
jne 0x4bbfce
lea eax, [ebp - 0x9b4]
push eax
lea eax, [ebp - 0x9b8]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x9b8]
mov ecx, 4
mov edx, 1
call fcn.0040a388
push dword [ebp - 0x9b4]
push 0x4bc2b4
lea eax, [ebp - 0x9bc]
push eax
lea eax, [ebp - 0x9c0]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x9c0]
mov ecx, 2
mov edx, 5
call fcn.0040a388
push dword [ebp - 0x9bc]
push 0x4bc2b4
lea eax, [ebp - 0x9c4]
push eax
lea eax, [ebp - 0x9c8]
mov edx, dword [ebp - 0xc]
call fcn.004061c4
mov eax, dword [ebp - 0x9c8]
mov ecx, 2
mov edx, 7
call fcn.0040a388
push dword [ebp - 0x9c4]
push 0x4bc310
lea eax, [ebp - 0x9b0]
mov edx, 6
call fcn.00405d8c
mov edx, dword [ebp - 0x9b0]
lea eax, [ebp - 0x14]
call fcn.004061b0
mov word [ebp - 0xe4], 0x2d
mov word [ebp - 0xe2], 0x3a
lea eax, [ebp - 0xd8]
mov edx, 0x4bc2d4
call fcn.00405fb4
lea eax, [ebp - 0xc8]
mov edx, 0x4bc2f8
call fcn.00405fb4
lea ecx, [ebp - 0xec]
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0x14]
call fcn.00411248
test al, al
jne 0x4bbfd1
mov byte [edi], 0
jmp 0x4bbfd1
mov byte [edi], 0
inc edi
add esi, 4
dec ebx
jne 0x4bbe89
cmp byte [ebp + 0xc], 0
jne 0x4bc070
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00405f60
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0xfc], 0xffffffff
mov ebx, 4
lea edi, [ebp - 0x104]
lea esi, [ebp - 0x138]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x114], eax
cmp byte [edi], 0
je 0x4bc05d
mov eax, dword [esi]
mov edx, dword [esi + 4]
cmp edx, dword [ebp - 0xfc]
jne 0x4bc03a
cmp eax, dword [ebp - 0x100]
jbe 0x4bc05d
jmp 0x4bc03c
jle 0x4bc05d
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x114]
mov edx, dword [edx]
call fcn.00405f60
mov eax, dword [esi]
mov dword [ebp - 0x100], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xfc], eax
add dword [ebp - 0x114], 4
add esi, 8
inc edi
dec ebx
jne 0x4bc01e
jmp 0x4bc105
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00405f60
mov dword [ebp - 0x100], 0xb6acb77
mov dword [ebp - 0xfc], 0x51db
mov ebx, 4
lea eax, [ebp - 0x104]
mov dword [ebp - 0x114], eax
lea esi, [ebp - 0x138]
lea edi, [ebp - 0x24]
mov eax, dword [ebp - 0x114]
cmp byte [eax], 0
je 0x4bc0f6
mov eax, dword [esi]
mov edx, dword [esi + 4]
cmp edx, dword [ebp - 0xfc]
jne 0x4bc0ca
cmp eax, dword [ebp - 0x100]
jae 0x4bc0f6
jmp 0x4bc0cc
jge 0x4bc0f6
cmp dword [esi + 4], 0
jne 0x4bc0d9
cmp dword [esi], 0
jbe 0x4bc0f6
jmp 0x4bc0db
jle 0x4bc0f6
mov eax, dword [ebp + 8]
mov edx, dword [edi]
call fcn.00405f60
mov eax, dword [esi]
mov dword [ebp - 0x100], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xfc], eax
add edi, 4
add esi, 8
inc dword [ebp - 0x114]
dec ebx
jne 0x4bc0a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc16b
lea eax, [ebp - 0x9c8]
mov edx, 0x14
call fcn.00405b18
lea eax, [ebp - 0x978]
mov edx, 0xf
call fcn.00405f58
lea eax, [ebp - 0xec]
mov edx, dword [0x40b264]
call fcn.004069d8
lea eax, [ebp - 0x24]
mov ecx, 4
mov edx, dword [0x401124]
call fcn.00406a28
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405f58
ret