Function at 0x1004242c0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c88]
mov eax, 0x7d88
call fcn.10046b370
sub rsp, rax
mov qword [rbp], 0xfffffffffffffffe
mov rax, qword [0x100499010]
xor rax, rsp
mov qword [rbp + 0x7c70], rax
mov rdi, r9
mov r14d, r8d
mov dword [rbp - 0x64], r8d
mov rbx, rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x78], rcx
mov rsi, qword [rbp + 0x7cf8]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x2f20]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1f40
lea rcx, [rbp + 0x5d30]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x25d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x2a50]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x2b20]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x27d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x5530]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3720]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3f20]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x29d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x4920]
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
mov r13d, r12d
mov dword [rsp + 0x74], r12d
mov dword [rbp - 0x80], r12d
mov dword [rsp + 0x70], r12d
mov dword [rbp - 0x68], r12d
mov dword [rbp - 0x70], r12d
mov dword [rbp - 0x6c], r12d
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp + 0x10]
imul ecx, eax, 0x64
movzx eax, word [rbp + 0x12]
add ecx, eax
imul edx, ecx, 0x64
movzx eax, word [rbp + 0x16]
add edx, eax
mov dword [rbp - 0x70], edx
movzx eax, word [rbp + 0x18]
imul ecx, eax, 0x64
movzx eax, word [rbp + 0x1a]
add ecx, eax
imul edx, ecx, 0x64
movzx eax, word [rbp + 0x1c]
add edx, eax
mov dword [rbp - 0x6c], edx
mov r9d, 0x100
lea r8, [rbp + 0x3f20]
lea edx, [r12 + 8]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9d, [r12 + 0x40]
lea r8, [rbp + 0x29d0]
lea edx, [r12 + 3]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov eax, r14d
lea ecx, [r12 + 1]
test r14d, r14d
je 0x1004245e8
sub eax, ecx
je 0x100424581
cmp eax, 2
je 0x1004244ce
mov r9d, 0x100
lea r8, [rbp + 0x25d0]
lea edx, [r9 - 0x28]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
jmp 0x100424673
mov eax, dword [rbp + 0x7cf0]
dec eax
cmp eax, 5
ja case.default.0x1004244ee
cdqe
lea rdx, [0x100400000]
mov ecx, dword [rdx + rax*4 + 0x26278]
add rcx, rdx
jmp rcx
mov edx, 0x5b
jmp 0x10042451f
mov edx, 0x3e
jmp 0x10042451f
mov edx, 0x5c
jmp 0x10042451f
mov edx, 0x5d
jmp 0x10042451f
mov edx, 0xe5
jmp 0x10042451f
mov edx, 0x10e
jmp 0x10042451f
mov edx, 0x17
mov r9d, 0x100
lea r8, [rbp + 0x27d0]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x200
lea r8, [rbp + 0x2b20]
mov edx, 0xd7
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x27d0]
lea r8, [rbp + 0x2b20]
mov edx, 0x100
lea rcx, [rbp + 0x25d0]
call fcn.10040b460
jmp 0x100424673
mov r13d, dword [rbx + 0x330]
and r13d, ecx
test byte [rbx + 0x334], cl
je 0x1004245a0
cmp dword [rbx + 0x340], r12d
mov dword [rsp + 0x74], ecx
jne 0x1004245a5
mov dword [rsp + 0x74], r12d
test byte [rbx + 0x338], cl
je 0x1004245b9
cmp dword [rbx + 0x344], r12d
mov dword [rbp - 0x80], ecx
jne 0x1004245bd
mov dword [rbp - 0x80], r12d
test byte [rbx + 0x33c], cl
je 0x1004245d2
cmp dword [rbx + 0x348], r12d
mov dword [rsp + 0x70], ecx
jne 0x1004245d7
mov dword [rsp + 0x70], r12d
mov r12d, dword [rbx + 0x34c]
and r12d, ecx
mov edx, 0xd5
jmp 0x100424652
mov r13d, dword [rbx + 0x330]
and r13d, 2
test byte [rbx + 0x334], 2
je 0x100424609
cmp dword [rbx + 0x340], r12d
mov dword [rsp + 0x74], ecx
jne 0x10042460e
mov dword [rsp + 0x74], r12d
test byte [rbx + 0x338], 2
je 0x100424623
cmp dword [rbx + 0x344], r12d
mov dword [rbp - 0x80], ecx
jne 0x100424627
mov dword [rbp - 0x80], r12d
test byte [rbx + 0x33c], 2
je 0x10042463d
cmp dword [rbx + 0x348], r12d
mov dword [rsp + 0x70], ecx
jne 0x100424642
mov dword [rsp + 0x70], r12d
mov r12d, dword [rbx + 0x34c]
and r12d, 2
mov edx, 0xd6
mov dword [rbp - 0x68], r12d
mov r9d, 0x100
lea r8, [rbp + 0x25d0]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
xor r12d, r12d
mov r15d, 0xfa0
test rdi, rdi
je 0x1004246a0
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x25d0]
lea r8, str._s___s
mov edx, r15d
lea rcx, [rbp + 0x5d30]
call fcn.10040b460
lea r14, [rbp + 0x5d30]
mov rsi, 0xffffffffffffffff
cmp word [rbp + 0x5d30], 0
je 0x1004248a3
mov rdi, r12
movzx eax, word [0x100471ea4]
cmp ax, word [0x100472884]
jne 0x1004246e3
movzx eax, word [0x100471ea6]
cmp ax, word [0x100472886]
je 0x10042487b
lea rdx, [0x100471ea4]
lea rcx, [rbp + 0x5d30]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x10042487b
mov ecx, 0x802
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x10042487b
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3720]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x800
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x100471ea4]
lea rcx, [rbp + 0x5d30]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x10042482b
lea rcx, [rbp + 0x5d30]
sub rax, rcx
sar rax, 1
cdqe
lea r12, [rax + rax]
mov r9, r12
lea r8, [rbp + 0x5d30]
mov edx, 0x802
mov rcx, rdi
call fcn.10044c240
xor ebx, ebx
mov word [rdi + r12], bx
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdi + rax*2], bx
jne 0x100424790
lea rdx, [rbp + 0x3720]
mov rcx, rsi
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x1004247a3
add rax, rcx
cmp rax, 0x400
jae 0x100424823
mov r8, rdi
mov edx, 0x800
lea rcx, [rbp + 0x3720]
call fcn.10042b640
lea r8, [0x100472884]
mov edx, 0x800
lea rcx, [rbp + 0x3720]
call fcn.10042b640
add r14, 2
add r14, r12
lea rdx, [0x100471ea4]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100424823
sub rax, r14
sar rax, 1
cdqe
lea r12, [rax + rax]
mov r9, r12
mov r8, r14
mov edx, 0x802
mov rcx, rdi
call fcn.10044c240
jmp 0x100424784
mov rbx, qword [rsp + 0x78]
xor r12d, r12d
cmp word [r14], 0
je 0x100424893
mov rax, rsi
inc rax
cmp word [r14 + rax*2], 0
jne 0x100424835
lea rdx, [rbp + 0x3720]
mov rcx, rsi
nop word [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x100424850
add rax, rcx
cmp rax, 0x400
jae 0x100424893
mov r8, r14
mov edx, 0x400
lea rcx, [rbp + 0x3720]
call fcn.10040d600
jmp 0x100424893
lea r8, [rbp + 0x5d30]
mov edx, 0x800
lea rcx, [rbp + 0x3720]
call fcn.10040b320
test rdi, rdi
je 0x1004248bb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1004248bb
lea r8, [rbp + 0x5d30]
mov edx, 0x800
lea rcx, [rbp + 0x3720]
call fcn.10040b320
lea r14, [rbp + 0x3720]
cmp word [rbp + 0x3720], 0
je 0x100424aa3
mov rdi, r12
movzx eax, word [0x100471e9c]
cmp ax, word [0x100472884]
jne 0x1004248f7
movzx eax, word [0x100471e9e]
cmp ax, word [0x100472886]
je 0x100424a7b
lea rdx, [0x100471e9c]
lea rcx, [rbp + 0x3720]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100424a7b
mov ecx, 0x1f42
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x100424a7b
xor edx, edx
mov r8d, 0x1f40
lea rcx, [rbp + 0x5d30]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1f40
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x100471e9c]
lea rcx, [rbp + 0x3720]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100424a35
lea rcx, [rbp + 0x3720]
sub rax, rcx
sar rax, 1
cdqe
lea r12, [rax + rax]
mov r9, r12
lea r8, [rbp + 0x3720]
mov edx, 0x1f42
mov rcx, rdi
call fcn.10044c240
xor ebx, ebx
mov word [rdi + r12], bx
mov rax, rsi
inc rax
cmp word [rdi + rax*2], bx
jne 0x1004249a0
lea rdx, [rbp + 0x5d30]
mov rcx, rsi
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x1004249b3
add rax, rcx
cmp rax, r15
jae 0x100424a30
mov r8, rdi
mov edx, 0x1f40
lea rcx, [rbp + 0x5d30]
call fcn.10042b640
lea r8, [0x100472884]
mov edx, 0x1f40
lea rcx, [rbp + 0x5d30]
call fcn.10042b640
add r14, 2
add r14, r12
lea rdx, [0x100471e9c]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x100424a30
sub rax, r14
sar rax, 1
cdqe
lea r12, [rax + rax]
mov r9, r12
mov r8, r14
mov edx, 0x1f42
mov rcx, rdi
call fcn.10044c240
jmp 0x100424998
mov rbx, qword [rsp + 0x78]
cmp word [r14], 0
je 0x100424a93
mov rax, rsi
nop
inc rax
cmp word [r14 + rax*2], 0
jne 0x100424a40
lea rdx, [rbp + 0x5d30]
mov rcx, rsi
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x100424a55
add rax, rcx
cmp rax, r15
jae 0x100424a93
mov r8, r14
mov rdx, r15
lea rcx, [rbp + 0x5d30]
call fcn.10040d600
jmp 0x100424a93
lea r8, [rbp + 0x3720]
mov edx, 0x1f40
lea rcx, [rbp + 0x5d30]
call fcn.10040b320
test rdi, rdi
je 0x100424abb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x100424abb
lea r8, [rbp + 0x3720]
mov edx, 0x1f40
lea rcx, [rbp + 0x5d30]
call fcn.10040b320
lea r9, [rbp + 0x5d30]
mov r12d, dword [rbp - 0x64]
mov r8d, r12d
mov rdx, rbx
mov rcx, qword [rbp - 0x78]
call fcn.100411c10
xor edx, edx
mov r8d, 0x1f64
lea rcx, [rbp + 0x46c]
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x450], xmm0
xor r14d, r14d
mov qword [rbp + 0x460], r14
mov dword [rbp + 0x468], r14d
mov rdx, r15
lea rcx, [rbp + 0x46c]
lea r9, [rbp + 0x5d30]
lea rax, [rbp + 0x46c]
sub r9, rax
nop
lea r8, [rdx - 1]
test r8, r8
je 0x100424b42
movzx eax, word [r9 + rcx]
test ax, ax
je 0x100424b42
mov word [rcx], ax
add rcx, 2
mov rdx, r8
test r8, r8
jne 0x100424b20
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r14w
mov word [rbp + 0x23aa], r14w
mov dword [rbp + 0x23ac], r12d
mov ecx, dword [rbx + 0x5a8]
mov dword [rbp + 0x23b0], ecx
mov edx, dword [rbx + 0x5ac]
mov dword [rbp + 0x23b4], edx
test ecx, ecx
je 0x100424b98
mov r9d, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
call qword [sym.imp.SQLSVC.dll_QScheduleGetTimeDelta]
mov ecx, eax
call qword [sym.imp.SQLSVC.dll_QScheduleSecToHourFormat]
mov dword [rbp + 0x23b8], eax
mov qword [rbp + 0x23c4], r14
mov qword [rbp + 0x23bc], r14
test r13d, r13d
je 0x100424cab
cmp r12d, 1
jne 0x100424bbc
lea edx, [r12 + 0xa]
jmp 0x100424bc6
test r12d, r12d
jne 0x100424be0
lea edx, [r12 + 0xa]
mov r9d, 0x100
lea r8, [rbp + 0x25d0]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbx + 0x35c]
lea r8, [rbx + 0x358]
mov edx, 0x64
lea rcx, [rbp + 0x2a50]
call fcn.10043cde0
cmp dword [rbx + 0x12e0], r14d
jne 0x100424c21
cmp dword [0x1004a8eb8], r14d
jne 0x100424c21
lea r9, [rbx + 0x1290]
mov rdi, r9
lea r14, [rbx + 0x10]
jmp 0x100424c2f
lea r9, [rbx + 0x10]
lea rdi, [rbx + 0x1290]
mov r14, r9
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0xb6
call fcn.100432180
mov eax, 4
test r12d, r12d
mov edx, 2
cmove ax, dx
lea rcx, [rbp + 0x5d30]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], edx
lea rcx, [rbp + 0x2a50]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], edx
lea rcx, [rbp + 0x25d0]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
lea r9d, [rdx + 8]
mov r8d, 0x400000d0
movzx edx, ax
lea ecx, [r9 - 9]
call fcn.100431c20
xor r14d, r14d
mov eax, reloc.ODBC32.dll_SQLFreeStmt
mov edi, 0xf9f
mov r13d, 0x1290
mov r12d, dword [rbp - 0x80]
cmp dword [rsp + 0x74], 0
jne 0x100424cd6
test r12d, r12d
jne 0x100424cd6
cmp dword [rsp + 0x70], r12d
je 0x100425fce
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x4520]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x4120]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x2450]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x24d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x23d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x2550]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3320]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x4d30]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x100
lea r8, [rbp + 0x3320]
mov edx, 9
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rbp + 0x23d0]
lea edx, [r9 - 0x36]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rbp + 0x2550]
lea edx, [r9 - 0x35]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rbp + 0x24d0]
lea edx, [r9 - 0x28]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rbp + 0x2450]
lea edx, [r9 - 0x29]
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [rbp + 0x50]
mov ecx, dword [rbp + 0x23b8]
call qword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x50]
lea r8, [rbp + 0x24d0]
mov edx, 0x64
lea rcx, [rbp + 0x4d30]
call fcn.10040b460
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x80]
mov ecx, dword [rbx + 0x358]
call qword [sym.imp.SQLSVC.dll_QScheduleConvertValToDateStruct]
lea rdx, [rbp + 0x50]
mov ecx, dword [rbx + 0x35c]
call qword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
movzx eax, word [rbp + 0x88]
mov word [rbp + 0x10], ax
movzx eax, word [rbp + 0x84]
mov word [rbp + 0x12], ax
movzx eax, word [rbp + 0x80]
mov word [rbp + 0x16], ax
movzx eax, word [rbp + 0x50]
mov word [rbp + 0x18], ax
movzx eax, word [rbp + 0x54]
mov word [rbp + 0x1a], ax
movzx eax, word [rbp + 0x58]
mov word [rbp + 0x1c], ax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r14w
mov r8d, SQLFreeStmt
lea rdx, str.UseUserLocale
lea rcx, [rbp + 0x30]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.10040a150
test al, al
je 0x100424f03
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x100424f09
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov edi, eax
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r14w
mov r8d, SQLFreeStmt
lea rdx, str.UseUserLocale
lea rcx, [rbp + 0x60]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.10040a150
mov edx, 0x80000001
test al, al
mov eax, 1
cmovne edx, eax
mov dword [rsp + 0x28], 0x80
lea rax, [rbp + 0x4520]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x10]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r14w
mov r8d, SQLFreeStmt
lea rdx, str.UseUserLocale
lea rcx, [rbp + 0x30]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.10040a150
test al, al
je 0x100424fcc
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x100424fd2
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov edi, eax
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r14w
mov r8d, SQLFreeStmt
lea rdx, str.UseUserLocale
lea rcx, [rbp + 0x60]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.10040a150
mov edx, 0x80000000
test al, al
cmovne edx, r14d
mov dword [rsp + 0x28], 0x80
lea rax, [rbp + 0x4120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x10]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea r14, [rbx + 0x10]
lea rcx, [rbp + 0x2550]
lea rax, [rbp + 0x23d0]
cmp dword [rbp - 0x64], 1
cmovne rcx, rax
lea rax, [rbp + 0x4d30]
lea rdx, [rbp + 0x2450]
cmp word [rbp + 0x4d30], 0
cmove rax, rdx
lea rdx, [rbp + 0x5d30]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x4120]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4520]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rbp + 0x3320]
mov edx, 0x400
lea rcx, [rbp + 0x5530]
call fcn.10040b460
test r12d, r12d
je 0x100425422
mov edx, dword [rbx + 0x344]
mov r12, qword [rbp - 0x78]
test edx, edx
je 0x100425426
lea r8, [rbp + 0xb0]
mov rcx, r12
call fcn.100416050
test eax, eax
je 0x100425426
mov r8d, 0x8e2
lea rdx, str.DoJobCompletionActions
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
call fcn.10043acf0
mov r14, rax
test rax, rax
je 0x1004254c7
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
lea rax, [rbp + 0x364]
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], 0
jne 0x100425120
test ecx, ecx
je 0x100425168
lea edi, [rcx + 1]
test edi, edi
jle 0x100425168
lea ecx, [rcx*2 + 2]
mov r8d, 0x8e6
lea rdx, str.DoJobCompletionActions
call fcn.10043acf0
mov qword [r14], rax
test rax, rax
je 0x100425168
movsxd rdx, edi
lea r8, [rbp + 0x364]
mov rcx, rax
call fcn.10040d530
lea rcx, [rbp + 0x5530]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425172
test eax, eax
je 0x1004251bb
lea edi, [rax + 1]
test edi, edi
jle 0x1004251bb
lea ecx, [rax*2 + 2]
mov r8d, 0x8ed
lea rdx, str.DoJobCompletionActions
call fcn.10043acf0
mov qword [r14 + 8], rax
test rax, rax
je 0x1004251bb
movsxd rdx, edi
lea r8, [rbp + 0x5530]
mov rcx, rax
call fcn.10040d530
xor eax, eax
mov r12d, eax
lea rcx, [rbp + 0x364]
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp word [rcx + rdi*2], ax
jne 0x1004251d0
test rdi, rdi
je 0x1004252af
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, r14
lea r8, [0x100432be0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov r12, rax
test rax, rax
je 0x1004252af
cmp dword [rbx + 0x12e0], 0
jne 0x100425220
cmp dword [0x1004a8eb8], 0
mov rcx, r13
je 0x100425225
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
lea r9, [rcx + rbx]
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x20], rax
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0xf7
call fcn.100432180
mov eax, dword [rbx + 0x344]
mov dword [rbp + 0x23c0], eax
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp + 0x10]
imul ecx, eax, 0x64
movzx eax, word [rbp + 0x12]
add ecx, eax
imul r8d, ecx, 0x64
movzx eax, word [rbp + 0x16]
add r8d, eax
mov dword [rbp - 0x70], r8d
movzx eax, word [rbp + 0x18]
imul ecx, eax, 0x64
movzx eax, word [rbp + 0x1a]
add ecx, eax
imul r9d, ecx, 0x64
movzx eax, word [rbp + 0x1c]
add r9d, eax
mov dword [rbp - 0x6c], r9d
mov dword [rsp + 0x20], 4
mov edx, dword [rbp + 0xb0]
mov rcx, qword [rbp - 0x78]
call fcn.100411b70
jmp 0x100425410
mov rcx, qword [r14]
test rcx, rcx
je 0x1004252bc
call fcn.10043b3b0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1004252ca
call fcn.10043b3b0
mov rcx, r14
call fcn.10043b3b0
test rdi, rdi
jne 0x10042530e
cmp dword [rbx + 0x12e0], edi
jne 0x1004252ea
cmp dword [0x1004a8eb8], edi
mov rax, r13
je 0x1004252ef
mov eax, reloc.ODBC32.dll_SQLFreeStmt
add rax, rbx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0x10c
call fcn.100432180
mov r9d, 0x200
lea r8, [rbp + 0x2b20]
mov edx, 0x10d
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0x2b20]
mov edx, 0x200
lea rcx, [rbp + 0x2f20]
call fcn.10040b460
lea rcx, [rbp + 0x46c]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425356
mov ecx, 0xf9f
sub rcx, rax
lea rdx, [rbp + 0x2f20]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x100425372
cmp rax, rcx
jae 0x100425410
mov rcx, r15
lea rax, [rbp + 0x46c]
nop
cmp word [rax], 0
je 0x1004253a0
add rax, 2
sub rcx, 1
jne 0x100425390
mov rax, r15
sub rax, rcx
xor r10d, r10d
mov r8d, r10d
test rcx, rcx
cmovne r8, rax
je 0x100425410
mov rdx, r15
sub rdx, r8
lea rcx, [rbp + 0x46c]
lea rcx, [rcx + r8*2]
je 0x100425401
lea rax, [rdx + 0x7ffff05e]
add rax, r8
lea r9, [rbp + 0x2f20]
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x100425401
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x100425401
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1004253e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r10w
test r12, r12
je 0x10042541e
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r14, [rbx + 0x10]
mov r12, qword [rbp - 0x78]
lea rdi, [0x1004a8db0]
cmp dword [rsp + 0x74], 0
je 0x1004255fd
mov edx, dword [rbx + 0x340]
test edx, edx
je 0x1004255fd
lea r8, [rbp + 0xb0]
mov rcx, r12
call fcn.100416050
test eax, eax
je 0x1004255fd
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x25d0]
lea r8, [rbp + 0x3f20]
mov edx, 0x208
lea rcx, [rbp + 0x4920]
call fcn.10040b460
lea rcx, [rbp + 0x1c4]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425490
test rax, rax
je 0x1004257d5
mov edi, dword [rbp + 0xb0]
cmp dword [0x10049bbbc], 0
jne 0x1004254d0
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, 0x1eb
call fcn.100432180
jmp 0x10042580e
lea r14, [rbx + 0x10]
jmp 0x100425426
lea rax, [rbp + 0x30]
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], ax
lea r8d, [rax + 0xf]
lea rdx, str.UseDatabaseMail
lea rcx, [rbp + 0x30]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.10040a150
lea r9, [rbp + 0x1c4]
xor edx, edx
test al, al
jne 0x100425531
lea ecx, [rdx + 1]
mov r8d, 0x1dc
call fcn.100432180
jmp 0x10042580e
mov ecx, 3
mov r8d, 0x1ec
call fcn.100432180
mov eax, 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x5530]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4920]
xor r8d, r8d
lea rdx, [rbp + 0x1c4]
mov rcx, r12
call fcn.1004312b0
test eax, eax
jne 0x1004255b7
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 2
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov eax, 1
lea r9d, [rax + 3]
mov r8d, 0xc00000d2
movzx edx, ax
lea ecx, [rax + 2]
call fcn.100431c20
jmp 0x10042580e
cmp dword [rbx + 0x12e0], 0
jne 0x1004255cc
cmp dword [0x1004a8eb8], 0
mov rax, r13
je 0x1004255d1
mov eax, reloc.ODBC32.dll_SQLFreeStmt
lea r9, [rax + rbx]
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x20], rax
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0xb7
call fcn.100432180
mov eax, dword [rbx + 0x340]
mov dword [rbp + 0x23bc], eax
mov edi, 0xf9f
cmp dword [rsp + 0x70], 0
je 0x100425fd3
mov edx, dword [rbx + 0x348]
test edx, edx
je 0x100425fd3
lea r8, [rbp + 0xb0]
mov rcx, r12
call fcn.100416050
test eax, eax
je 0x100425fd3
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x3320]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x4120]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x4520]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x4d30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xb0]
call fcn.100408bf0
test eax, eax
jne 0x100425916
cmp dword [rbx + 0x12e0], eax
jne 0x1004256a9
cmp dword [0x1004a8eb8], eax
mov rax, r13
je 0x1004256ae
mov eax, reloc.ODBC32.dll_SQLFreeStmt
add rax, rbx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
xor edx, edx
lea ecx, [rdx + 2]
mov r8d, 0x115
call fcn.100432180
mov r9d, 0x200
lea r8, [rbp + 0x2b20]
mov edx, 0x114
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0x2b20]
mov edx, 0x200
lea rcx, [rbp + 0x2f20]
call fcn.10040b460
lea rcx, [rbp + 0x46c]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425715
mov rcx, rdi
sub rcx, rax
lea rdx, [rbp + 0x2f20]
mov rax, rsi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x100425730
cmp rax, rcx
jae 0x100425fd3
mov rcx, r15
lea rax, [rbp + 0x46c]
nop dword [rax]
cmp word [rax], 0
je 0x100425760
add rax, 2
sub rcx, 1
jne 0x100425750
mov rax, r15
sub rax, rcx
xor r12d, r12d
mov r8d, r12d
test rcx, rcx
cmovne r8, rax
je 0x100425fd6
mov rdx, r15
sub rdx, r8
lea rcx, [rbp + 0x46c]
lea rcx, [rcx + r8*2]
je 0x1004257c1
lea rax, [rdx + 0x7ffff05e]
add rax, r8
lea r9, [rbp + 0x2f20]
sub r9, rcx
test rax, rax
je 0x1004257c1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1004257c1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1004257a0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
jmp 0x100425fd6
cmp dword [rbx + 0x12e0], 0
jne 0x1004257ea
cmp dword [0x1004a8eb8], 0
mov rax, r13
je 0x1004257ef
mov eax, reloc.ODBC32.dll_SQLFreeStmt
add rax, rbx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0x10a
call fcn.100432180
mov r9d, 0x200
lea r8, [rbp + 0x2b20]
mov edx, 0x19
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0x2b20]
mov edx, 0x200
lea rcx, [rbp + 0x2f20]
call fcn.10040b460
lea rcx, [rbp + 0x46c]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425856
mov edi, 0xf9f
mov ecx, edi
sub rcx, rax
lea rdx, [rbp + 0x2f20]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x100425874
cmp rax, rcx
jae 0x100425602
mov rcx, r15
lea rax, [rbp + 0x46c]
cmp word [rax], 0
je 0x1004258a1
add rax, 2
sub rcx, 1
jne 0x100425891
mov rax, r15
sub rax, rcx
xor r10d, r10d
mov r8d, r10d
test rcx, rcx
cmovne r8, rax
je 0x100425602
mov rdx, r15
sub rdx, r8
lea rcx, [rbp + 0x46c]
lea rcx, [rcx + r8*2]
je 0x100425902
lea rax, [rdx + 0x7ffff05e]
add rax, r8
lea r9, [rbp + 0x2f20]
sub r9, rcx
test rax, rax
je 0x100425902
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x100425902
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1004258e1
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r10w
jmp 0x100425602
lea rax, [rbp - 0x40]
mov qword [rsp + 0x78], rax
xor edi, edi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
lea r8d, [rdi + 0x14]
lea rdx, str.AlertPagerToTemplate
lea rcx, [rbp - 0x40]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x30]
call fcn.10040a3c0
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], di
lea r8d, [rdi + 0x14]
lea rdx, str.AlertPagerCCTemplate
lea rcx, [rbp - 0x20]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x60]
call fcn.10040a3c0
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
lea r8d, [rdi + 0x19]
lea rdx, str.AlertPagerSubjectTemplate
lea rcx, [rbp + 0x10]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x90]
call fcn.10040a3c0
nop
lea rax, [0x1004a8db0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x25d0]
lea r8, [rbp + 0x3f20]
mov edx, 0x208
lea rcx, [rbp + 0x4920]
call fcn.10040b460
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
mov dword [rsp + 0x20], 0x800
lea r9, [rbp + 0x4d30]
lea r8, [rbp + 0x294]
lea rdx, str._A_
call fcn.10044bd60
mov r9d, 0x200
lea r8, [rbp + 0x3320]
lea rcx, [rbp + 0x3320]
sub rax, rcx
nop
lea rcx, [r9 + 0x7ffffdfe]
test rcx, rcx
je 0x100425a84
movzx ecx, word [r8 + rax]
test cx, cx
je 0x100425a84
mov word [r8], cx
add r8, 2
sub r9, 1
jne 0x100425a60
lea rax, [r8 - 2]
test r9, r9
cmovne rax, r8
mov word [rax], di
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
mov dword [rsp + 0x20], 0x800
lea r9, [rbp + 0x4d30]
lea r8, [rbp + 0x294]
lea rdx, str._A_
call fcn.10044bd60
mov r8d, 0x200
lea rdx, [rbp + 0x4120]
lea rcx, [rbp + 0x4120]
sub rax, rcx
nop dword [rax]
lea rcx, [r8 + 0x7ffffdfe]
test rcx, rcx
je 0x100425b02
movzx ecx, word [rdx + rax]
test cx, cx
je 0x100425b02
mov word [rdx], cx
add rdx, 2
sub r8, 1
jne 0x100425ae0
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], di
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rcx, qword [rbp + 0x90]
mov dword [rsp + 0x20], 0x800
lea r9, [rbp + 0x4d30]
lea r8, [rbp + 0x4920]
lea rdx, str._S_
call fcn.10044bd60
mov r8d, 0x200
lea rdx, [rbp + 0x4520]
lea rcx, [rbp + 0x4520]
sub rax, rcx
lea rcx, [r8 + 0x7ffffdfe]
test rcx, rcx
je 0x100425b82
movzx ecx, word [rdx + rax]
test cx, cx
je 0x100425b82
mov word [rdx], cx
add rdx, 2
sub r8, 1
jne 0x100425b60
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], di
lea rcx, [rbp + 0x294]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425ba0
test rax, rax
je 0x100425db6
mov edi, dword [rbp + 0xb0]
cmp dword [0x10049bbbc], 0
jne 0x100425bd7
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, 0x1eb
call fcn.100432180
jmp 0x100425def
lea rax, [rbp - 0x60]
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], ax
lea r8d, [rax + 0xf]
lea rdx, str.UseDatabaseMail
lea rcx, [rbp - 0x60]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.10040a150
lea r9, [rbp + 0x3320]
xor edx, edx
test al, al
jne 0x100425c38
lea ecx, [rdx + 1]
mov r8d, 0x1dc
call fcn.100432180
jmp 0x100425def
mov ecx, 3
mov r8d, 0x1ec
call fcn.100432180
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5530]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4520]
lea r8, [rbp + 0x4120]
lea rdx, [rbp + 0x3320]
mov rcx, r12
call fcn.100431390
test eax, eax
je 0x100425d79
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp + 0x10]
imul ecx, eax, 0x64
movzx eax, word [rbp + 0x12]
add ecx, eax
imul r8d, ecx, 0x64
movzx eax, word [rbp + 0x16]
add r8d, eax
mov dword [rbp - 0x64], r8d
movzx eax, word [rbp + 0x18]
imul ecx, eax, 0x64
movzx eax, word [rbp + 0x1a]
add ecx, eax
imul r9d, ecx, 0x64
movzx eax, word [rbp + 0x1c]
add r9d, eax
mov dword [rsp + 0x70], r9d
test edi, edi
je 0x100425cdd
mov dword [rsp + 0x20], 2
mov edx, edi
mov rcx, r12
call fcn.100411b70
cmp dword [rbx + 0x12e0], 0
jne 0x100425cf6
cmp dword [0x1004a8eb8], 0
jne 0x100425cf6
lea r14, [rbx + 0x1290]
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x20], rax
mov r9, r14
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0x103
call fcn.100432180
mov eax, dword [rbx + 0x348]
mov dword [rbp + 0x23c4], eax
mov edi, 0xf9f
xor r12d, r12d
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x100425f0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x100425f05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x100425f05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 2
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov eax, 1
lea r9d, [rax + 3]
mov r8d, 0xc00000d5
movzx edx, ax
lea ecx, [rax + 2]
call fcn.100431c20
jmp 0x100425def
cmp dword [rbx + 0x12e0], 0
jne 0x100425dcb
cmp dword [0x1004a8eb8], 0
mov rax, r13
je 0x100425dd0
mov eax, reloc.ODBC32.dll_SQLFreeStmt
add rax, rbx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0x10b
call fcn.100432180
mov r9d, 0x200
lea r8, [rbp + 0x2b20]
mov edx, 0x102
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0x2b20]
mov edx, 0x200
lea rcx, [rbp + 0x2f20]
call fcn.10040b460
lea rcx, [rbp + 0x46c]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x100425e40
mov edi, 0xf9f
mov ecx, edi
sub rcx, rax
lea rdx, [rbp + 0x2f20]
mov rax, rsi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x100425e60
cmp rax, rcx
jae 0x100425d26
mov rcx, r15
lea rax, [rbp + 0x46c]
nop dword [rax]
cmp word [rax], 0
je 0x100425e90
add rax, 2
sub rcx, 1
jne 0x100425e80
mov rax, r15
sub rax, rcx
xor r12d, r12d
mov r8d, r12d
test rcx, rcx
cmovne r8, rax
je 0x100425d29
mov rdx, r15
sub rdx, r8
lea rcx, [rbp + 0x46c]
lea rcx, [rcx + r8*2]
je 0x100425ef1
lea rax, [rdx + 0x7ffff05e]
add rax, r8
lea r9, [rbp + 0x2f20]
sub r9, rcx
test rax, rax
je 0x100425ef1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x100425ef1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x100425ed0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
jmp 0x100425d29
call fcn.100469388
movdqa xmm0, xmmword [0x100482320]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r12w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x100425f65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x100425f60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x100425f60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.100469388
movdqa xmm0, xmmword [0x100482320]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x100425fba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x100425fb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x100425fb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.100469388
movdqa xmm0, xmmword [0x100482320]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r12w
jmp 0x100425fd6
xor r12d, r12d
jmp 0x100425fdb
xor r12d, r12d
mov eax, reloc.ODBC32.dll_SQLFreeStmt
cmp dword [rbx + 0x12e0], 0
jne 0x100425ff0
cmp dword [0x1004a8eb8], 0
jne 0x100425ff0
mov rax, r13
lea r9, [rax + rbx]
xor edx, edx
lea ecx, [rdx + 3]
mov r8d, 0xb8
call fcn.100432180
mov eax, dword [rbx + 0x12e0]
mov dword [rbp + 0x23cc], eax
lea rdx, [rbp + 0x450]
mov r14, qword [rbp - 0x78]
mov rcx, r14
call fcn.1004114b0
lea rcx, [rbx + 0x118]
lea rdx, str._local_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x100426194
xor edx, edx
xor ecx, ecx
call fcn.100445570
test eax, eax
je 0x100426194
lea rax, [rbp + 0x46c]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x23ac]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x23b8]
mov r8d, dword [rbp + 0x23b4]
mov edx, dword [rbp + 0x23b0]
lea rcx, [rbp + 0x450]
call fcn.10043faa0
test eax, eax
jne 0x100426194
cmp dword [rbx + 0x12e0], eax
jne 0x1004260a1
cmp dword [0x1004a8eb8], eax
mov rax, r13
je 0x1004260a6
mov eax, reloc.ODBC32.dll_SQLFreeStmt
lea r9, [rax + rbx]
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, 0x127
call fcn.100432180
mov r9d, 0x200
lea r8, [rbp + 0x2b20]
mov edx, 0x128
mov rcx, qword [0x1004a90d8]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rcx, [rbp + 0x46c]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1004260e3
sub rdi, rax
lea rax, [rbp + 0x2b20]
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x100426100
cmp rsi, rdi
jae 0x100426194
mov rcx, r15
lea rax, [rbp + 0x46c]
nop dword [rax]
cmp word [rax], 0
je 0x100426130
add rax, 2
sub rcx, 1
jne 0x100426120
mov rax, r15
sub rax, rcx
mov rdx, r12
test rcx, rcx
cmovne rdx, rax
je 0x100426194
sub r15, rdx
lea rcx, [rbp + 0x46c]
lea rcx, [rcx + rdx*2]
je 0x100426185
lea rax, [r15 + 0x7ffff05e]
add rax, rdx
lea r8, [rbp + 0x2b20]
sub r8, rcx
test rax, rax
je 0x100426185
movzx edx, word [rcx + r8]
test dx, dx
je 0x100426185
mov word [rcx], dx
add rcx, 2
dec rax
sub r15, 1
jne 0x100426166
lea rax, [rcx - 2]
test r15, r15
cmovne rax, rcx
mov word [rax], r12w
cmp dword [rbp - 0x68], 0
je 0x100426255
mov r8d, 0xeb
cmp dword [rbx + 0x12e0], 0
je 0x1004261b8
lea r9, [rbx + 0x10]
mov ecx, 3
jmp 0x1004261cf
cmp dword [0x1004a8eb8], 0
mov eax, reloc.ODBC32.dll_SQLFreeStmt
cmovne r13, rax
lea r9, [rbx + r13]
lea ecx, [rax - 0xe]
mov eax, dword [rbx + 0x34c]
mov dword [rsp + 0x20], eax
xor edx, edx
call fcn.100432180
mov rcx, rbx
call fcn.1004277b0
test eax, eax
je 0x100426255
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call fcn.100429c50
test eax, eax
je 0x100426255
mov r8d, 0x41e
lea rdx, str.ConnDeleteJob
mov ecx, 0x14
call fcn.10043acf0
test rax, rax
je 0x100426255
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
mov edx, dword [rbx + 0x12e0]
mov dword [rax + 0x10], edx
mov dword [rbp - 0x60], r12d
mov ecx, 1
mov dword [rbp - 0x5c], ecx
mov dword [rbp - 0x58], 0x14
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], r12d
mov r8d, ecx
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.100412300
mov rcx, qword [rbp + 0x7c70]
xor rcx, rsp
call fcn.100469360
add rsp, 0x7d88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret