Function at 0x1400cb7d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xc80
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x224
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xca8]
mov rax, qword [0x14022f6c0]
xor rax, rbp
mov qword [rbp + 0xc40], rax
lea rcx, [0x1402423b5]
call fcn.1400a1a40
mov r8, qword [rbp + 0xc70]
lea rdx, str.sql:
lea rcx, [rbp + 8]
call fcn.1400a1c34
nop
lea r8, [0x1401ef050]
mov rdx, qword [rbp + 0xc70]
lea rcx, [rbp + 0x848]
call fcn.1400a16e9
mov qword [rbp + 0xc18], rax
mov rax, qword [rbp + 0xc18]
mov qword [rbp + 0xc20], rax
mov r8, qword [rbp + 0xc78]
mov rdx, qword [rbp + 0xc20]
lea rcx, [rbp + 0x48]
call fcn.1400a1bb2
nop
lea rcx, [rbp + 0x848]
call fcn.1400a1658
lea rax, [rbp + 0x8a8]
mov qword [rbp + 0x8d8], rax
lea rax, [rbp + 0x8f8]
mov qword [rbp + 0x928], rax
lea rcx, [rbp + 0x884]
call fcn.1400a0631
mov qword [rbp + 0xc18], rax
mov rdx, qword [rbp + 0x8d8]
lea rcx, [rbp + 8]
call fcn.1400a143c
mov qword [rbp + 0xc20], rax
mov rdx, qword [rbp + 0x928]
lea rcx, [rbp + 8]
call fcn.1400a0c99
mov qword [rbp + 0xc28], rax
mov rax, qword [rbp + 0xc18]
mov r9, rax
mov r8, qword [rbp + 0xc20]
mov rdx, qword [rbp + 0xc28]
lea rcx, [rbp + 0x88]
call fcn.1400a0d34
nop
lea rcx, [rbp + 0x48]
call fcn.1400a08cf
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400cb961
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
jmp 0x1400cc148
lea rcx, [rbp + 0x88]
call fcn.1400a0271
mov rcx, rax
call qword [0x14022fed8]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x1400cb9c4
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
jmp 0x1400cc148
call qword [0x14022fee8]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x1400cba21
call qword [0x14022fee0]
nop
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
jmp 0x1400cc148
lea rdx, [0x1401f2133]
mov rcx, qword [rbp + 0xe8]
call qword [0x14022fef8]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x1400cba97
mov rcx, qword [rbp + 0xe8]
call qword [0x14022fef0]
call qword [0x14022fee0]
nop
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
jmp 0x1400cc148
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0xe8]
call qword [0x14022ff00]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x1400cbb0e
mov rcx, qword [rbp + 0xe8]
call qword [0x14022fef0]
call qword [0x14022fee0]
nop
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
jmp 0x1400cc148
mov edx, 0x110
lea rcx, [rbp + 0x110]
call fcn.1400a11d5
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x110]
call fcn.1400a096f
nop
mov rax, qword [rbp + 0x110]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x110]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cbbc7
mov rcx, qword [rbp + 0xe8]
call qword [0x14022fef0]
call qword [0x14022fee0]
nop
lea rcx, [rbp + 0x110]
call fcn.1400a0429
nop
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
jmp 0x1400cc148
lea rcx, [rbp + 0x944]
call fcn.1400a0631
mov qword [rbp + 0xc18], rax
lea rcx, [rbp + 0x968]
call fcn.1400a135b
lea rcx, [rbp + 0xc00]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x998]
call fcn.1400a0fcd
lea rcx, [rbp + 0xbd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0xc18]
mov r9, rax
lea r8, [rbp + 0xc00]
lea rdx, [rbp + 0xbd0]
lea rcx, [rbp + 0x238]
call fcn.1400a0f1e
nop
mov edx, 0x60
lea rcx, [rbp + 0x280]
call fcn.1400a0fd2
xor r9d, r9d
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x280]
call fcn.1400a00aa
nop
lea rcx, [rbp + 0x238]
call fcn.1400a0271
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.1400a007d
lea rdx, str.logins
lea rcx, [rbp + 0x280]
call fcn.1400a10fe
movzx eax, al
test eax, eax
je 0x1400cc0d3
lea rdx, str.logins
lea rcx, [rbp + 0x280]
call fcn.1400a118a
mov rcx, rax
call fcn.1400a01d1
movzx eax, al
test eax, eax
je 0x1400cc0d3
lea rax, [rbp + 0x9c8]
mov qword [rbp + 0x9e8], rax
lea rdx, str.logins
lea rcx, [rbp + 0x280]
call fcn.1400a118a
mov rdx, qword [rbp + 0x9e8]
mov rcx, rax
call fcn.1400a0519
mov qword [rbp + 0xc18], rax
mov rdx, qword [rbp + 0xc18]
lea rcx, [rbp + 0x318]
call fcn.1400a0b04
nop
lea rax, [rbp + 0x318]
mov qword [rbp + 0x2f8], rax
mov dword [rbp + 0x344], 0
jmp 0x1400cbd41
mov eax, dword [rbp + 0x344]
inc eax
mov dword [rbp + 0x344], eax
mov rcx, qword [rbp + 0x2f8]
call fcn.1400a0064
cmp dword [rbp + 0x344], eax
jae 0x1400cc0c7
mov edx, dword [rbp + 0x344]
mov rcx, qword [rbp + 0x2f8]
call fcn.1400a12b6
mov rcx, rax
call fcn.1400a11ee
movzx eax, al
test eax, eax
je 0x1400cc0c2
lea rcx, [rbp + 0x368]
call fcn.1400a1a18
nop
lea rcx, [rbp + 0x3a8]
call fcn.1400a1a18
nop
lea rcx, [rbp + 0x3e8]
call fcn.1400a1a18
nop
mov edx, 8
lea rcx, [rbp + 0x428]
call fcn.1400a1072
mov edx, dword [rbp + 0x344]
mov rcx, qword [rbp + 0x2f8]
call fcn.1400a12b6
lea rdx, [rbp + 0x428]
mov rcx, rax
call fcn.1400a04ce
jmp 0x1400cbde5
lea rcx, [rbp + 0x428]
call fcn.1400a1a27
mov edx, dword [rbp + 0x344]
mov rcx, qword [rbp + 0x2f8]
call fcn.1400a12b6
lea rdx, [rbp + 0xa08]
mov rcx, rax
call fcn.1400a0e24
mov rdx, qword [rax]
lea rcx, [rbp + 0x428]
call fcn.1400a1879
movzx eax, al
test eax, eax
je 0x1400cbfd9
mov dword [rbp + 0xa24], 0
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
lea rdx, [rbp + 0xa24]
mov rcx, rax
call fcn.1400a0e15
movzx eax, al
test eax, eax
je 0x1400cbfd4
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
mov rcx, rax
call fcn.1400a0f37
mov rdx, rax
lea rcx, [rbp + 0x448]
call fcn.1400a0bdb
nop
lea rdx, str.hostname
lea rcx, [rbp + 0x448]
call fcn.1400a0a91
movzx eax, al
test eax, eax
je 0x1400cbee5
mov dword [rbp + 0xa44], 0
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
add rax, 0x10
lea rdx, [rbp + 0xa44]
mov rcx, rax
call fcn.1400a0e15
movzx eax, al
test eax, eax
je 0x1400cbee5
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
add rax, 0x10
mov rcx, rax
call fcn.1400a0f37
mov rdx, rax
lea rcx, [rbp + 0x368]
call fcn.1400a00d2
lea rdx, str.encryptedUsername
lea rcx, [rbp + 0x448]
call fcn.1400a0a91
movzx eax, al
test eax, eax
je 0x1400cbf56
mov dword [rbp + 0xa64], 0
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
add rax, 0x10
lea rdx, [rbp + 0xa64]
mov rcx, rax
call fcn.1400a0e15
movzx eax, al
test eax, eax
je 0x1400cbf56
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
add rax, 0x10
mov rcx, rax
call fcn.1400a0f37
mov rdx, rax
lea rcx, [rbp + 0x3a8]
call fcn.1400a00d2
lea rdx, str.encryptedPassword
lea rcx, [rbp + 0x448]
call fcn.1400a0a91
movzx eax, al
test eax, eax
je 0x1400cbfc8
mov dword [rbp + 0xa84], 0
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
add rax, 0x10
lea rdx, [rbp + 0xa84]
mov rcx, rax
call fcn.1400a0e15
movzx eax, al
test eax, eax
je 0x1400cbfc8
lea rcx, [rbp + 0x428]
call fcn.1400a0ec9
add rax, 0x10
mov rcx, rax
call fcn.1400a0f37
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.1400a00d2
nop
lea rcx, [rbp + 0x448]
call fcn.1400a04ec
jmp 0x1400cbdd9
lea rax, [rbp + 0xaa8]
mov qword [rbp + 0xae8], rax
lea rax, [rbp + 0xb08]
mov qword [rbp + 0xb48], rax
lea rax, [rbp + 0xb68]
mov qword [rbp + 0xba8], rax
lea rdx, [rbp + 0x3e8]
mov rcx, qword [rbp + 0xae8]
call fcn.1400a03a7
mov qword [rbp + 0xc18], rax
mov rax, qword [rbp + 0xc18]
mov qword [rbp + 0xc20], rax
lea rdx, [rbp + 0x3a8]
mov rcx, qword [rbp + 0xb48]
call fcn.1400a03a7
mov qword [rbp + 0xc28], rax
mov rax, qword [rbp + 0xc28]
mov qword [rbp + 0xc30], rax
lea rdx, [rbp + 0x368]
mov rcx, qword [rbp + 0xba8]
call fcn.1400a03a7
mov qword [rbp + 0xc38], rax
mov r8, qword [rbp + 0xc20]
mov rdx, qword [rbp + 0xc30]
mov rcx, qword [rbp + 0xc38]
call fcn.1400cadb0
lea rdx, [0x1400a00f0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x3e8]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x3a8]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x368]
call fcn.1400a04ec
jmp 0x1400cbd33
lea rcx, [rbp + 0x318]
call fcn.1400a16f8
mov rcx, qword [rbp + 0xe8]
call qword [0x14022fef0]
call qword [0x14022fee0]
nop
lea rcx, [rbp + 0x280]
call fcn.1400a1360
nop
lea rcx, [rbp + 0x238]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x110]
call fcn.1400a0429
nop
lea rcx, [rbp + 0x88]
call fcn.1400a04ec
nop
lea rcx, [rbp + 0x48]
call fcn.1400a1658
nop
lea rcx, [rbp + 8]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc70]
call fcn.1400a1658
nop
mov rcx, qword [rbp + 0xc78]
call fcn.1400a1658
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.1400a15c2
mov rcx, qword [rbp + 0xc40]
xor rcx, rbp
call fcn.1400a0ca3
lea rsp, [rbp + 0xc50]
pop rdi
pop rsi
pop rbp
ret