Function at 0x4b7080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d213
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x8815d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x264], 1
mov ecx, dword [0x88540c]
mov dword [ebp - 0x250], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x26c], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x886b88]
cmp eax, dword [ecx + 8]
jg 0x4b78da
push 0x886b58
mov dword [ebp - 0x274], 0x886b58
call fcn.0042fab8
add esp, 4
test eax, eax
jne 0x4b791c
mov eax, dword [0x886b84]
cmp eax, 0x7fffffff
je 0x4b7923
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movsx eax, byte [edi]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x264], 1
call fcn.0043f880
add esp, 4
test eax, eax
je 0x4b725a
cmp byte [edi + 1], 0x3a
jne 0x4b725a
mov al, byte [edi + 2]
cmp al, 0x5c
je 0x4b717d
cmp al, 0x2f
je 0x4b717d
xor eax, eax
jmp 0x4b7182
mov eax, 1
test eax, eax
je 0x4b725a
mov ecx, edi
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b71b0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x248]
call fcn.00403c10
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x249]
cmovae ecx, dword [ebp - 0x248]
push edx
add eax, ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x234], 0x10
lea edx, [ebp - 0x24a]
push edx
lea ecx, [ebp - 0x248]
mov byte [ebp - 0x249], 0x5c
cmovae ecx, dword [ebp - 0x248]
push eax
push ecx
mov byte [ebp - 0x24a], 0x2f
call fcn.004b6850
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
mov esi, dword [ebp - 0x254]
cmovae ecx, dword [ebp - 0x248]
push esi
push dword [ebp - 0x250]
push ecx
call fcn.004b6880
add esp, 0x1c
lea ecx, [ebp - 0x248]
call fcn.004035d0
jmp 0x4b78b0
cmp byte [edi], 0x5c
jne 0x4b7290
cmp byte [edi + 1], 0x5c
jne 0x4b7290
cmp byte [edi + 2], 0x3f
jne 0x4b7290
cmp byte [edi + 3], 0x5c
jne 0x4b7290
push esi
push dword [ebp - 0x250]
push edi
call fcn.004b6880
push 0x886b58
call fcn.0042fadd
add esp, 0x10
jmp 0x4b78bd
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x290]
mov dword [ebp - 4], 3
push 0x5bb7b4
push eax
call fcn.004ab380
add esp, 8
cmp byte [ebp - 0x290], 0
mov byte [ebp - 4], 4
je 0x4b73e3
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004ab500
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x4b738e
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x4b734b
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7341
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7930
push ecx
push edx
call fcn.00433080
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x248]
call fcn.004035d0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edx, 0x10
mov ecx, dword [ebp - 0x220]
cmovae eax, esi
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x4b73c7
cmp al, 0x2f
jne 0x4b74f9
dec ecx
lea eax, [ebp - 0x230]
cmp edx, 0x10
mov dword [ebp - 0x220], ecx
cmovae eax, esi
mov byte [eax + ecx], 0
jmp 0x4b74f9
push 0
push 0
call fcn.00505996
mov edi, eax
add esp, 8
test edi, edi
je 0x4b74e9
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.004ab500
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x4b7492
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x4b744f
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7935
push ecx
push edx
call fcn.00433080
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x248]
call fcn.004035d0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edx, 0x10
mov ecx, dword [ebp - 0x220]
cmovae eax, esi
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x4b74c7
cmp al, 0x2f
jne 0x4b74de
dec ecx
lea eax, [ebp - 0x230]
cmp edx, 0x10
mov dword [ebp - 0x220], ecx
cmovae eax, esi
mov byte [eax + ecx], 0
push edi
call fcn.00438b3b
add esp, 4
jmp 0x4b74f9
push 0x5bb7d8
lea ecx, [ebp - 0x230]
call fcn.004749c0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.00474660
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x230]
cmp edx, 0x10
cmovae ecx, esi
add ecx, dword [ebp - 0x220]
cmp edx, 0x10
cmovae eax, esi
cmp eax, ecx
je 0x4b754f
cmp byte [eax], 0x2f
jne 0x4b753e
mov byte [eax], 0x5c
inc eax
cmp eax, ecx
jne 0x4b7536
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
cmp edx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, esi
mov esi, dword [ebp - 0x254]
push esi
push dword [ebp - 0x250]
push eax
call fcn.004b6880
mov eax, 0x5bb7ac
add esp, 0xc
mov dword [ebp - 0x260], eax
nop dword [eax]
push 0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4b7841
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004ab500
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x4b763a
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x4b75f7
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b75ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7930
push ecx
push edx
call fcn.00433080
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x234]
cmp ecx, 0x10
jb 0x4b7674
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b766a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7930
push ecx
push edx
call fcn.00433080
add esp, 8
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov edx, dword [ebp - 0x230]
cmp ecx, 0x10
mov edi, dword [ebp - 0x220]
cmovae eax, edx
mov dword [ebp - 0x258], ecx
mov al, byte [edi + eax - 1]
cmp al, 0x5c
je 0x4b77b7
cmp al, 0x2f
je 0x4b77b7
cmp edi, ecx
jae 0x4b76d0
lea eax, [edi + 1]
cmp ecx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, edx
mov word [eax + edi], 0x5c
jmp 0x4b77b7
mov eax, 0x7fffffff
sub eax, edi
cmp eax, 1
jb 0x4b793f
lea esi, [edi + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4b76f5
mov esi, 0x7fffffff
jmp 0x4b7713
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4b770b
mov esi, 0x7fffffff
jmp 0x4b7713
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403d40
cmp dword [ebp - 0x258], 0x10
lea ecx, [edi + 1]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x25c], eax
lea esi, [eax + edi]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x268], esi
push edi
jb 0x4b7796
mov esi, dword [ebp - 0x230]
push esi
push eax
call fcn.004347f0
mov eax, dword [ebp - 0x268]
add esp, 0xc
mov ecx, dword [ebp - 0x258]
inc ecx
mov word [eax], 0x5c
cmp ecx, 0x1000
jb 0x4b778a
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4b7930
mov esi, edx
push ecx
push esi
call fcn.00433080
add esp, 8
jmp 0x4b77ab
lea ecx, [ebp - 0x230]
push ecx
push eax
call fcn.004347f0
add esp, 0xc
mov word [esi], 0x5c
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x230], eax
mov edi, dword [ebp - 0x26c]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b77c2
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x230]
call fcn.00406de0
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x230]
cmp edx, 0x10
cmovae ecx, esi
add ecx, dword [ebp - 0x220]
cmp edx, 0x10
cmovae eax, esi
cmp eax, ecx
je 0x4b781f
cmp byte [eax], 0x2f
jne 0x4b780e
mov byte [eax], 0x5c
inc eax
cmp eax, ecx
jne 0x4b7806
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
cmp edx, 0x10
lea eax, [ebp - 0x230]
cmovae eax, esi
mov esi, dword [ebp - 0x254]
push esi
push dword [ebp - 0x250]
push eax
call fcn.004b6880
add esp, 0xc
mov eax, dword [ebp - 0x260]
add eax, 4
mov dword [ebp - 0x260], eax
cmp eax, 0x5bb7b4
jne 0x4b7580
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x4b7895
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b788b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b793a
push ecx
push edx
call fcn.00433080
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
push 0x886b58
call fcn.0042fadd
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432bfc
mov esp, ebp
pop ebp
ret
push 0x886b88
call fcn.00432c86
add esp, 4
cmp dword [0x886b88], 0xffffffff
jne 0x4b70f8
push 2
push 0x886b58
call fcn.0042fa98
push 0x50e750
call fcn.0043306b
push 0x886b88
call fcn.00432c35
add esp, 0x10
jmp 0x4b70f8
push 5
call fcn.0042ea34
dec eax
push 6
mov dword [0x886b84], eax
call fcn.0042ea34
call fcn.00438697
call fcn.00438697
call fcn.00438697
call fcn.00402e50
int3