Function at 0x97e6b0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0xa54
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0xa4c], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x1d]
push ebx
push eax
mov esi, ecx
mov edi, edx
mov byte [esp + 0x24], bl
call fcn.00a7ffb0
push 0x207
lea ecx, [esp + 0x239]
push ebx
push ecx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x240], bl
call fcn.00a7ffb0
push 0x207
lea edx, [esp + 0x86d]
push ebx
push edx
mov byte [esp + 0x874], bl
call fcn.00a7ffb0
push 0x103
lea eax, [esp + 0x459]
push ebx
push eax
mov byte [esp + 0x460], bl
call fcn.00a7ffb0
push 0x103
lea ecx, [esp + 0x77d]
push ebx
push ecx
mov byte [esp + 0x784], bl
call fcn.00a7ffb0
push 0x103
lea edx, [esp + 0x681]
push ebx
push edx
mov byte [esp + 0x688], bl
call fcn.00a7ffb0
add esp, 0x48
cmp esi, ebx
je 0x97ecf8
cmp byte [esi], bl
je 0x97ecf8
cmp edi, ebx
je 0x97ecf8
mov ebx, str.AVCRestoreInProgress
call fcn.00962e30
lea edx, [esp + 0x850]
mov dword [esp + 0x14], eax
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x97e7a0
lea ecx, [esp + 0x850]
call fcn.00960910
lea edx, [esp + 0x228]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x97e7c1
lea ecx, [esp + 0x228]
call fcn.00960910
lea eax, [esp + 0x228]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x97e7e0
cmp byte [edi], 0
mov ecx, dword [str.AVCBack]
mov edx, dword [0xab82ac]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [eax], ecx
mov dword [eax + 4], edx
jne 0x97e816
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x97e81e
push edi
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea ecx, [esp + 0x18]
call fcn.00960910
cmp byte [esp + 0x228], 0
je 0x97ece6
xor ecx, ecx
lea edi, [esp + 0x228]
call fcn.0095a6d0
cmp eax, 1
jne 0x97ece6
xor ecx, ecx
lea edi, [esp + 0x18]
call fcn.0095a6d0
cmp eax, 1
jne 0x97ece6
xor esi, esi
push esi
push esi
push eax
mov edx, edi
push edx
push 0xaab5fc
lea eax, [esp + 0x23c]
push eax
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push esi
push esi
push 1
test eax, eax
jne 0x97e99e
mov ecx, edi
push ecx
push str.._vc
lea edx, [esp + 0x23c]
push edx
xor edx, edx
mov ecx, 0xaea3ac
call fcn.0095f0f0
test eax, eax
je 0x97ece6
push 0
push 0
mov esi, 1
push esi
mov edx, edi
push edx
push str.._et
lea eax, [esp + 0x23c]
push eax
mov ecx, 0xacc444
xor edx, edx
call fcn.0095f0f0
test eax, eax
je 0x97ece6
push 0
push 0
push 1
test esi, esi
jne 0x97e9b7
lea ecx, [esp + 0x24]
push ecx
push 0xab82f8
lea edx, [esp + 0x23c]
push edx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push esi
push esi
push 1
lea edx, [esp + 0x24]
push edx
push 0xaab444
lea eax, [esp + 0x23c]
push eax
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push esi
push esi
push 1
lea eax, [esp + 0x24]
push eax
push str..klb
lea ecx, [esp + 0x23c]
push ecx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push esi
push esi
push 1
lea ecx, [esp + 0x24]
push ecx
push str..vnd
lea edx, [esp + 0x23c]
push edx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push esi
push esi
push 1
lea edx, [esp + 0x24]
push edx
push str..key
lea eax, [esp + 0x23c]
push eax
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push esi
push esi
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x238]
push str..dt
push ecx
xor ecx, ecx
jmp 0x97ea82
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x238]
push str..set
push ecx
xor ecx, ecx
jmp 0x97e8cd
lea eax, [esp + 0x24]
push eax
push str.._vx
lea ecx, [esp + 0x23c]
push ecx
xor edx, edx
mov ecx, 0xaed7e0
call fcn.0095f0f0
push 0
push 0
push 1
lea ecx, [esp + 0x24]
push ecx
push str.._vs
lea edx, [esp + 0x23c]
push edx
xor edx, edx
mov ecx, 0xaed7ec
call fcn.0095f0f0
push 0
push 0
push 1
lea edx, [esp + 0x24]
push edx
push str.._lb
lea eax, [esp + 0x23c]
push eax
xor edx, edx
mov ecx, 0xaed7f8
call fcn.0095f0f0
push 0
push 0
push 1
lea eax, [esp + 0x24]
push eax
push str.._nd
lea ecx, [esp + 0x23c]
push ecx
xor edx, edx
mov ecx, 0xaed804
call fcn.0095f0f0
push 0
push 0
push 1
lea ecx, [esp + 0x24]
push ecx
push str.._ey
lea edx, [esp + 0x23c]
push edx
xor edx, edx
mov ecx, 0xac8854
call fcn.0095f0f0
push 0
push 0
push 1
lea edx, [esp + 0x24]
push edx
push str.._t
lea eax, [esp + 0x23c]
push eax
mov ecx, 0xaed818
xor edx, edx
call fcn.0095f0f0
lea ebx, [esp + 0x430]
mov esi, 1
mov byte [esp + 0x430], 0
call fcn.009541a0
cmp eax, esi
jne 0x97ecea
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x1c]
mov ecx, ebx
call fcn.0094c380
add esp, 4
test eax, eax
jne 0x97ecea
xor ebx, ebx
push 0x103
lea edx, [esp + 0x53d]
push ebx
push edx
mov byte [esp + 0x544], bl
call fcn.00a7ffb0
push 0x103
lea eax, [esp + 0x131]
push ebx
push eax
call fcn.00a7ffb0
add esp, 0x18
lea ecx, [esp + 0x430]
push ecx
lea edx, [esp + 0x53c]
push edx
mov byte [esp + 0x128], bl
call ebp
lea ecx, [esp + 0x538]
call fcn.00960910
push str.eserv.ini
lea eax, [esp + 0x53c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
push ebx
xor edx, edx
lea ecx, [esp + 0x540]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x97ecea
lea ecx, [esp + 0x538]
push ecx
push 0x104
lea edx, [esp + 0x128]
push edx
push 0xaa1543
push str.FTPDownloadDir
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x120], bl
je 0x97ecea
xor ecx, ecx
lea edi, [esp + 0x120]
call fcn.0095a6d0
test eax, eax
je 0x97ecea
push ebx
mov ecx, 0xaab5fc
mov ebx, edi
call fcn.0095eb80
push 0
mov ecx, str..set
call fcn.0095eb80
push 0
mov ecx, 0xab82f8
call fcn.0095eb80
push 0
mov ecx, 0xaab444
call fcn.0095eb80
push 0
mov ecx, str..klb
call fcn.0095eb80
push 0
mov ecx, str..vnd
call fcn.0095eb80
push 0
mov ecx, str..key
call fcn.0095eb80
push 0
mov ecx, str..dt
call fcn.0095eb80
add esp, 0x20
push 0
push 0
push esi
mov eax, edi
push eax
push 0xaab5fc
lea ecx, [esp + 0x2c]
push ecx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov edx, edi
push edx
push str..set
lea eax, [esp + 0x2c]
push eax
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov ecx, edi
push ecx
push 0xab82f8
lea edx, [esp + 0x2c]
push edx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov eax, edi
push eax
push 0xaab444
lea ecx, [esp + 0x2c]
push ecx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov edx, edi
push edx
push str..klb
lea eax, [esp + 0x2c]
push eax
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov ecx, edi
push ecx
push str..vnd
lea edx, [esp + 0x2c]
push edx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov eax, edi
push eax
push str..key
lea ecx, [esp + 0x2c]
push ecx
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 0
push 0
push esi
mov edx, edi
push edx
push str..dt
lea eax, [esp + 0x2c]
push eax
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
lea ecx, [esp + 0x14]
push ecx
call fcn.00985290
mov eax, esi
jmp 0x97ecfa
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
call fcn.00985290
mov eax, esi
jmp 0x97ecfa
xor eax, eax
mov ecx, dword [esp + 0xa5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0xa54
ret