Function at 0x426850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d5a9
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x5c8], esi
mov dword [ebp - 0x594], esi
call fcn.005734ea
add esp, 4
test eax, eax
je 0x4268a2
push eax
call fcn.0057302f
add esp, 4
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x4268c4
push eax
call fcn.0057302f
add esp, 4
mov byte [esi + 8], 0
lea edi, [esi + 0xc]
mov dword [ebp - 4], 1
push edi
mov dword [ebp - 0x594], edi
call fcn.005734ea
add esp, 4
test eax, eax
je 0x4268ee
push eax
call fcn.0057302f
add esp, 4
lea eax, [edi + 4]
mov byte [ebp - 4], 2
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x42690d
push eax
call fcn.0057302f
add esp, 4
mov byte [edi + 8], 0
lea edi, [esi + 0x18]
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 0x594], edi
call fcn.005734ea
add esp, 4
test eax, eax
je 0x426934
push eax
call fcn.0057302f
add esp, 4
lea eax, [edi + 4]
mov byte [ebp - 4], 4
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x426953
push eax
call fcn.0057302f
add esp, 4
mov byte [edi + 8], 0
push 0
mov byte [ebp - 4], 5
push 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00431960
mov dword [esi + 0x30], eax
push 0
mov byte [ebp - 4], 6
push 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.00431960
mov dword [esi + 0x38], eax
push 0
mov byte [ebp - 4], 7
push 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.00431960
mov dword [esi + 0x40], eax
push 0
mov byte [ebp - 4], 8
push 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.00431960
mov dword [esi + 0x48], eax
lea eax, [esi + 0x50]
mov byte [ebp - 4], 9
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x4269ee
push eax
call fcn.0057302f
add esp, 4
lea eax, [esi + 0x54]
mov byte [ebp - 4], 0xa
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x426a0d
push eax
call fcn.0057302f
add esp, 4
lea eax, [esi + 0x58]
mov byte [ebp - 4], 0xb
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x426a2c
push eax
call fcn.0057302f
add esp, 4
lea eax, [esi + 0x5c]
mov byte [ebp - 4], 0xc
push 2
push eax
call fcn.005733a3
add esp, 8
test eax, eax
je 0x426a4b
push eax
call fcn.0057302f
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], 0
mov byte [esi + 0x60], 0
mov dword [esi + 0x8c], 0xf
mov dword [esi + 0x88], 0
mov byte [esi + 0x78], 0
xor eax, eax
mov dword [esi + 0xa4], 7
mov dword [esi + 0xa0], 0
mov word [esi + 0x90], ax
lea ebx, [esi + 0xa8]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], eax
mov word [ebx], ax
mov dword [esi + 0xd4], 0xf
mov dword [esi + 0xd0], eax
mov byte [esi + 0xc0], al
mov dword [esi + 0xec], 0xf
mov dword [esi + 0xe8], eax
mov byte [esi + 0xd8], al
mov dword [esi + 0x104], 0xf
mov dword [esi + 0x100], eax
mov byte [esi + 0xf0], al
push 0x2d4
mov byte [ebp - 4], 0x14
call fcn.0043b7fd
mov edi, eax
add esp, 4
mov dword [ebp - 0x594], edi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x426b21
push 0x2d4
push 0
push edi
call fcn.005557a0
add esp, 8
mov ecx, edi
call fcn.00410510
jmp 0x426b23
xor eax, eax
mov byte [ebp - 4], 0x14
push 0x2d4
mov dword [esi + 0x24], eax
call fcn.0043b7fd
mov edi, eax
add esp, 4
mov dword [ebp - 0x594], edi
mov byte [ebp - 4], 0x16
test edi, edi
je 0x426b60
push 0x2d4
push 0
push edi
call fcn.005557a0
add esp, 8
mov ecx, edi
call fcn.00410510
jmp 0x426b62
xor eax, eax
mov byte [ebp - 4], 0x14
push 0x2d4
mov dword [esi + 0x28], eax
call fcn.0043b7fd
mov edi, eax
add esp, 4
mov dword [ebp - 0x594], edi
mov byte [ebp - 4], 0x17
test edi, edi
je 0x426b9f
push 0x2d4
push 0
push edi
call fcn.005557a0
add esp, 8
mov ecx, edi
call fcn.00410510
jmp 0x426ba1
xor eax, eax
mov byte [ebp - 4], 0x14
push 0x103
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x52f]
push 0
push eax
mov byte [ebp - 0x530], 0
call fcn.005557a0
add esp, 0xc
lea eax, [ebp - 0x530]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x103
lea eax, [ebp - 0x117]
mov byte [ebp - 0x118], 0
push 0
push eax
call fcn.005557a0
add esp, 0xc
xor ecx, ecx
jmp 0x426c00
mov al, byte [ebp + ecx - 0x530]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x119], al
test al, al
jne 0x426c00
lea ecx, [ebp - 0x118]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x426c20
mov eax, dword [0x5edfe0]
mov dword [ecx], eax
mov eax, dword [0x5edfe4]
mov dword [ecx + 4], eax
mov eax, dword [0x5edfe8]
mov dword [ecx + 8], eax
mov eax, dword [0x5edfec]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5edff0]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x118]
push ecx
push eax
lea eax, [ebp - 0x590]
push eax
call fcn.00412ed0
lea eax, [ebp - 0x590]
mov byte [ebp - 4], 0x18
push eax
call fcn.00413d50
cmp byte [ebp - 0x118], 0
jne 0x426c80
xor ecx, ecx
jmp 0x426c99
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426c90
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [esi + 0x78]
call fcn.0041fab0
push 0x103
lea eax, [ebp - 0x21f]
mov byte [ebp - 0x220], 0
push 0
push eax
call fcn.005557a0
add esp, 0xc
xor ecx, ecx
jmp 0x426cd0
mov al, byte [ebp + ecx - 0x530]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x221], al
test al, al
jne 0x426cd0
lea ecx, [ebp - 0x220]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x426cf0
mov eax, dword [str._rclone_rclone.log]
mov dword [ecx], eax
mov eax, dword [0x5edff8]
mov dword [ecx + 4], eax
mov eax, dword [0x5edffc]
mov dword [ecx + 8], eax
mov eax, dword [0x5ee000]
mov dword [ecx + 0xc], eax
mov ax, word [0x5ee004]
mov word [ecx + 0x10], ax
mov al, byte [0x5ee006]
mov byte [ecx + 0x12], al
cmp byte [ebp - 0x220], 0
jne 0x426d38
xor ecx, ecx
jmp 0x426d4a
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426d41
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0xf0]
call fcn.0041fab0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.005557a0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x428]
push 0x5c
push eax
call fcn.00554d27
xor ecx, ecx
mov dword [ebp - 0x598], 7
add esp, 8
mov dword [ebp - 0x59c], ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x5ac], ax
cmp word [ebp - 0x428], ax
je 0x426ddf
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426dd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x5ac]
call fcn.0041f200
lea eax, [ebp - 0x5ac]
cmp ebx, eax
je 0x426e2d
cmp dword [ebx + 0x14], 8
jb 0x426e0c
push dword [ebx]
call fcn.0043b833
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x5ac]
push eax
call fcn.0041ed10
cmp dword [ebp - 0x598], 8
jb 0x426e44
push dword [ebp - 0x5ac]
call fcn.0043b833
add esp, 4
xor eax, eax
mov dword [ebp - 0x598], 7
mov dword [ebp - 0x59c], 0
mov word [ebp - 0x5ac], ax
cmp word [ebp - 0x428], ax
jne 0x426e6e
xor ecx, ecx
jmp 0x426e86
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426e77
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x5ac]
call fcn.0041f200
push ecx
lea edx, [ebp - 0x5ac]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x5c4]
call fcn.00431a30
mov edi, eax
lea ebx, [esi + 0x90]
add esp, 4
cmp ebx, edi
je 0x426ee9
cmp dword [ebx + 0x14], 8
jb 0x426ece
push dword [ebx]
call fcn.0043b833
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
push edi
mov word [ebx], ax
call fcn.0041ed10
cmp dword [ebp - 0x5b0], 8
jb 0x426f00
push dword [ebp - 0x5c4]
call fcn.0043b833
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x598], 8
mov dword [ebp - 0x5b0], 7
mov dword [ebp - 0x5b4], 0
mov word [ebp - 0x5c4], ax
jb 0x426f38
push dword [ebp - 0x5ac]
call fcn.0043b833
add esp, 4
lea eax, [esi + 0xc0]
push eax
call fcn.0042fc30
lea ecx, [ebp - 0x590]
call fcn.00402150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret