Function at 0x5196f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x844
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
mov esi, dword [esp + 0x854]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x854]
mov dword [esp + 0x20], ebx
cmp esi, ebx
je 0x519d97
cmp byte [esi], bl
je 0x519d97
cmp edi, ebx
je 0x519d97
push ebp
push ebx
push ebx
push edi
call fcn.004ff5f0
push 0x3c
push 1
push str.AVCBackupInProgress
push 1
mov ebp, eax
push ebx
mov dword [esp + 0x40], ebp
call fcn.0050db70
push 0x207
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x23d]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x244], bl
call fcn.005dfd60
push 0x207
lea ecx, [esp + 0x659]
push ebx
push ecx
mov byte [esp + 0x660], bl
call fcn.005dfd60
push 0x103
lea edx, [esp + 0x4d]
push ebx
push edx
mov byte [esp + 0x54], bl
call fcn.005dfd60
push 0x103
lea eax, [esp + 0x469]
push ebx
push eax
mov byte [esp + 0x470], bl
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x169]
push ebx
push ecx
mov byte [esp + 0x170], bl
call fcn.005dfd60
lea edx, [esp + 0x684]
add esp, 0x3c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x5197f0
lea edx, [esp + 0x648]
push edx
call fcn.004e24e0
add esp, 4
lea edx, [esp + 0x238]
cmp ebp, ebx
jne 0x51984c
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x519820
lea eax, [esp + 0x238]
push eax
call fcn.004e24e0
lea eax, [esp + 0x23c]
add esp, 4
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x519842
jmp 0x51987a
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x519850
lea eax, [esp + 0x238]
push eax
call fcn.004e24e0
lea eax, [esp + 0x23c]
add esp, 4
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x519872
mov ecx, dword [0x61f18c]
mov edx, dword [0x61f190]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [eax], ecx
mov dword [eax + 4], edx
cmp byte [edi], bl
jne 0x5198a7
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x5198af
push edi
lea ecx, [esp + 0x34]
push ecx
call ebp
lea edx, [esp + 0x238]
push ebx
push edx
call fcn.004e8c10
add esp, 8
test eax, eax
jne 0x5198dc
lea eax, [esp + 0x238]
push eax
call fcn.004eab20
add esp, 4
test eax, eax
je 0x519d70
mov edi, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp edi, ebx
je 0x519933
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x444]
push edx
call ebp
lea eax, [esp + 0x440]
push eax
call fcn.004e24e0
add esp, 4
push str.plugins
lea ecx, [esp + 0x444]
push ecx
call esi
lea edx, [esp + 0x440]
push edx
call fcn.004eab20
add esp, 4
test eax, eax
je 0x519d70
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.004e8c10
add esp, 8
cmp eax, 1
jne 0x519d70
cmp edi, ebx
jne 0x519bc0
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x138]
push edx
call ebp
lea eax, [esp + 0x134]
push eax
call fcn.004e24e0
add esp, 4
push str.._vc
lea ecx, [esp + 0x138]
push ecx
call esi
mov edi, 1
push edi
push ebx
push ebx
push ebx
lea edx, [esp + 0x144]
push ebx
push edx
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x5199a5
mov dword [esp + 0x14], edi
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x138]
push ecx
call ebp
lea edx, [esp + 0x134]
push edx
call fcn.004e24e0
add esp, 4
push str.._et
lea eax, [esp + 0x138]
push eax
call esi
push edi
push ebx
push ebx
push ebx
lea ecx, [esp + 0x144]
push ebx
push ecx
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x5199f3
mov dword [esp + 0x14], edi
lea edx, [esp + 0x1c]
push edx
call fcn.005e0ab6
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push 0x60d9ec
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x519a7f
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x18]
push edx
push str.AVCBckTime
push 0x60d9ec
push connect
mov dword [esp + 0x20], ebx
call fcn.004d5820
cmp al, 1
jne 0x519a7f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x519a83
mov edx, dword [esp + 0x20]
push edx
push eax
push ebx
push ecx
call fcn.004daa30
add esp, 0x10
cmp eax, 6
ja 0x519a7f
cmp dword [esp + 0x14], ebx
je 0x519d70
mov eax, dword [esp + 0x1c]
push eax
push str.AVCBckTime
push 0x60d9ec
push connect
call fcn.004f48a0
push ebx
push ebx
lea eax, [esp + 0x240]
push 0x66da58
push eax
call fcn.00517250
add esp, 0x10
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea ecx, [esp + 0x250]
push ecx
push 0x611904
lea edx, [esp + 0x50]
push edx
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea eax, [esp + 0x250]
push eax
push 0x61f12c
lea ecx, [esp + 0x50]
push ecx
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea edx, [esp + 0x250]
push edx
push str..avs
lea eax, [esp + 0x50]
push eax
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea ecx, [esp + 0x250]
push ecx
push str..set
lea edx, [esp + 0x50]
push edx
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea eax, [esp + 0x250]
push eax
push str..klb
lea ecx, [esp + 0x50]
push ecx
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea edx, [esp + 0x250]
push edx
push str..vnd
lea eax, [esp + 0x50]
push eax
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea ecx, [esp + 0x250]
push ecx
push str..key
lea edx, [esp + 0x50]
push edx
call fcn.005017d0
push ebx
push edi
push ebx
push ebx
push ebx
push edi
lea eax, [esp + 0x250]
push eax
push str..dt
lea ecx, [esp + 0x50]
push ecx
call fcn.005017d0
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x28], edi
call fcn.004dca10
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x844
ret
lea edx, [esp + 0x238]
push edx
lea eax, [esp + 0x138]
push eax
call ebp
lea ecx, [esp + 0x134]
push ecx
call fcn.004e24e0
add esp, 4
push 0x64e1b8
lea edx, [esp + 0x138]
push edx
call esi
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x144]
push ebx
push eax
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x519c13
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x1c]
push ecx
call fcn.005e0ab6
add esp, 4
lea edx, [esp + 0x10]
push edx
push 0xf003f
push ebx
push 0x60d9ec
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, ebx
jne 0x519c9f
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
push ecx
push str.AVCBckTime
push 0x60d9ec
push connect
mov dword [esp + 0x20], ebx
call fcn.004d5820
cmp al, 1
jne 0x519c9f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
ja 0x519c9f
mov edx, dword [esp + 0x20]
push edx
push ecx
push ebx
push eax
call fcn.004daa30
add esp, 0x10
cmp eax, 6
ja 0x519c9f
cmp dword [esp + 0x14], ebx
je 0x519d70
push 0x103
lea eax, [esp + 0x549]
push ebx
push eax
mov byte [esp + 0x550], bl
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x548]
push edx
call ebp
lea eax, [esp + 0x544]
push eax
call fcn.004e24e0
add esp, 4
push str.plugins
lea ecx, [esp + 0x548]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
push str.AVCBckTime
push 0x60d9ec
push connect
call fcn.004f48a0
push ebx
push ebx
lea eax, [esp + 0x240]
push 0x66da58
push eax
call fcn.00517250
push ebx
push ebx
lea ecx, [esp + 0x458]
push 0x66da58
push ecx
call fcn.00517250
add esp, 0x20
push ebx
push 1
push ebx
push ebx
push ebx
lea edx, [esp + 0x24c]
push edx
push 0x64e1b8
lea eax, [esp + 0x4c]
push eax
call fcn.00517760
push ebx
push 1
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24c]
push ecx
push str..EXE
lea edx, [esp + 0x4c]
push edx
call fcn.00517760
mov dword [esp + 0x24], 1
lea eax, [esp + 0x28]
push eax
call fcn.004dca10
mov eax, dword [esp + 0x24]
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x844
ret
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x844
ret