Function at 0x1044660
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x8288
call fcn.0105fe80
sub rsp, rax
mov rax, qword [0x010667f0]
xor rax, rsp
mov qword [rsp + 0x8270], rax
movzx eax, word [0x01001c50]
mov word [rsp + 0x2e00], ax
lea rax, [rsp + 0x2e02]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
mov word [rsp + 0x4650], 0
lea rax, [rsp + 0x4652]
mov rdi, rax
xor eax, eax
mov ecx, 0x1f3e
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x880], ax
lea rax, [rsp + 0x882]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6590], ax
lea rax, [rsp + 0x6592]
mov rdi, rax
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0xa80], ax
lea rax, [rsp + 0xa82]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x3c40], ax
lea rax, [rsp + 0x3c42]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x80], ax
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x3e50], ax
lea rax, [rsp + 0x3e52]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x3a40], ax
lea rax, [rsp + 0x3a42]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x35a0], ax
lea rax, [rsp + 0x35a2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7e
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x3630], ax
lea rax, [rsp + 0x3632]
mov rdi, rax
xor eax, eax
mov ecx, 0x40e
rep stosb byte [rdi], al
mov dword [rsp + 0x3628], 0
mov dword [rsp + 0x3e4c], 0
mov dword [rsp + 0x3e40], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x362c], 0
mov dword [rsp + 0x3e48], 0
mov dword [rsp + 0x6660], 0
mov dword [rsp + 0x3624], 0
mov dword [rsp + 0x3620], 0
mov dword [rsp + 0x3e44], 0
xor r8d, r8d
lea rdx, [rsp + 0x3620]
lea rcx, [rsp + 0x3624]
call fcn.01036710
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x3a40]
mov edx, 8
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x35a0]
mov edx, 3
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [rsp + 0x82b0]
mov dword [rsp + 0x8190], eax
cmp dword [rsp + 0x8190], 0
je 0x1044a43
cmp dword [rsp + 0x8190], 1
je 0x104490d
cmp dword [rsp + 0x8190], 3
je 0x1044b79
jmp 0x1044be4
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x330]
and eax, 1
mov dword [rsp + 0x3628], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x334]
and eax, 1
test eax, eax
je 0x1044958
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x340], 0
je 0x1044958
mov dword [rsp + 0x8194], 1
jmp 0x1044963
mov dword [rsp + 0x8194], 0
mov eax, dword [rsp + 0x8194]
mov dword [rsp + 0x3e4c], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x338]
and eax, 1
test eax, eax
je 0x10449a4
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x344], 0
je 0x10449a4
mov dword [rsp + 0x8198], 1
jmp 0x10449af
mov dword [rsp + 0x8198], 0
mov eax, dword [rsp + 0x8198]
mov dword [rsp + 0x3e40], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x33c]
and eax, 1
test eax, eax
je 0x10449f0
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x348], 0
je 0x10449f0
mov dword [rsp + 0x819c], 1
jmp 0x10449fb
mov dword [rsp + 0x819c], 0
mov eax, dword [rsp + 0x819c]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x34c]
and eax, 1
mov dword [rsp + 0x362c], eax
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x880]
mov edx, 0xd5
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
jmp 0x1044c04
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x330]
and eax, 2
mov dword [rsp + 0x3628], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x334]
and eax, 2
test eax, eax
je 0x1044a8e
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x340], 0
je 0x1044a8e
mov dword [rsp + 0x81a0], 1
jmp 0x1044a99
mov dword [rsp + 0x81a0], 0
mov eax, dword [rsp + 0x81a0]
mov dword [rsp + 0x3e4c], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x338]
and eax, 2
test eax, eax
je 0x1044ada
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x344], 0
je 0x1044ada
mov dword [rsp + 0x81a4], 1
jmp 0x1044ae5
mov dword [rsp + 0x81a4], 0
mov eax, dword [rsp + 0x81a4]
mov dword [rsp + 0x3e40], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x33c]
and eax, 2
test eax, eax
je 0x1044b26
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x348], 0
je 0x1044b26
mov dword [rsp + 0x81a8], 1
jmp 0x1044b31
mov dword [rsp + 0x81a8], 0
mov eax, dword [rsp + 0x81a8]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x34c]
and eax, 2
mov dword [rsp + 0x362c], eax
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x880]
mov edx, 0xd6
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
jmp 0x1044c04
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x3c40]
mov ecx, dword [rsp + 0x82c0]
call fcn.01048f10
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0xd7
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov rax, qword [rsp + 0x82c8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c40]
lea r8, [rsp + 0xa80]
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x880]
call fcn.01016110
jmp 0x1044c04
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x880]
mov edx, 0xd8
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
cmp qword [rsp + 0x82b8], 0
je 0x1044c3d
mov rax, qword [rsp + 0x82b8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x880]
lea r8, [0x01009b20]
mov edx, 0xfa0
lea rcx, [rsp + 0x4650]
call fcn.01016110
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x3e50]
lea r8, [0x01001c50]
lea rdx, [0x01002ed4]
lea rcx, [rsp + 0x4650]
call fcn.010531b0
mov dword [rsp + 0x20], 0x1f40
lea r9, [rsp + 0x4650]
lea r8, [0x01001c50]
lea rdx, [0x01002edc]
lea rcx, [rsp + 0x3e50]
call fcn.010531b0
lea r9, [rsp + 0x4650]
mov r8d, dword [rsp + 0x82b0]
mov rdx, qword [rsp + 0x82a8]
mov rcx, qword [rsp + 0x82a0]
call fcn.01022ae0
mov r8d, 0x1f7c
xor edx, edx
lea rcx, [rsp + 0xe80]
call sub.MSVCR80.dll_memset
lea rax, [rsp + 0x8180]
mov rdi, rax
mov rsi, qword [rsp + 0x82a8]
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe80]
lea rcx, [rsp + 0x8180]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xe90], 0
mov dword [rsp + 0xe94], 0
mov dword [rsp + 0xe98], 0
mov r9d, 0xf9f
lea r8, [rsp + 0x4650]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01026c30
mov word [rsp + 0x2dda], 0
mov eax, dword [rsp + 0x82b0]
mov dword [rsp + 0x2ddc], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x5a8]
mov dword [rsp + 0x2de0], eax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x5ac]
mov dword [rsp + 0x2de4], eax
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x5a8], 0
je 0x1044dd9
mov r9d, dword [rsp + 0x3620]
mov r8d, dword [rsp + 0x3624]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x5ac]
mov rax, qword [rsp + 0x82a8]
mov ecx, dword [rax + 0x5a8]
call qword [sym.imp.SQLSVC.dll_QScheduleGetTimeDelta]
mov ecx, eax
call qword [sym.imp.SQLSVC.dll_QScheduleSecToHourFormat]
mov dword [rsp + 0x2de8], eax
mov dword [rsp + 0x2df8], 0
mov dword [rsp + 0x2dec], 0
mov dword [rsp + 0x2df0], 0
mov dword [rsp + 0x2df4], 0
cmp dword [rsp + 0x3628], 0
je 0x1044f9e
cmp dword [rsp + 0x82b0], 1
jne 0x1044e3d
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x880]
mov edx, VariantTimeToDosDateTime
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
cmp dword [rsp + 0x82b0], 0
jne 0x1044e67
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x880]
mov edx, 0xa
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov rax, qword [rsp + 0x82a8]
add rax, 0x35c
mov rcx, qword [rsp + 0x82a8]
add rcx, 0x358
mov r9, rax
mov r8, rcx
mov edx, 0x64
lea rcx, [rsp + 0x6590]
call fcn.01036930
cmp dword [0x010689c8], 0
je 0x1044ebb
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x81b0], rax
jmp 0x1044ed1
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x81b0], rax
mov r9, qword [rsp + 0x81b0]
mov r8d, 0xb6
xor edx, edx
mov ecx, 3
call fcn.01034b80
cmp dword [rsp + 0x82b0], 0
jne 0x1044f02
mov dword [rsp + 0x81b8], 2
jmp 0x1044f0d
mov dword [rsp + 0x81b8], 4
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov rcx, qword [rsp + 0x82a8]
add rcx, 0x10
lea rdx, [rsp + 0x4650]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], 2
lea rdx, [rsp + 0x6590]
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x880]
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 2
mov r9d, 0xa
mov r8d, 0x400000d0
movzx edx, word [rsp + 0x81b8]
mov ecx, 1
call fcn.010341e0
cmp dword [rsp + 0x3e4c], 0
jne 0x1044fbd
cmp dword [rsp + 0x3e40], 0
jne 0x1044fbd
cmp dword [rsp + 0x70], 0
je 0x104542c
movzx eax, word [0x01001c50]
mov word [rsp + 0x6c50], ax
lea rax, [rsp + 0x6c52]
mov rdi, rax
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6ac0], ax
lea rax, [rsp + 0x6ac2]
mov rdi, rax
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6970], ax
lea rax, [rsp + 0x6972]
mov rdi, rax
xor eax, eax
mov ecx, 0x7e
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6870], ax
lea rax, [rsp + 0x6872]
mov rdi, rax
xor eax, eax
mov ecx, 0x7e
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6bd0], ax
lea rax, [rsp + 0x6bd2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7e
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x68f0], ax
lea rax, [rsp + 0x68f2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7e
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6670], ax
lea rax, [rsp + 0x6672]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x69f0], ax
lea rax, [rsp + 0x69f2]
mov rdi, rax
xor eax, eax
mov ecx, 0xc6
rep stosb byte [rdi], al
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x6670]
mov edx, 9
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x6bd0]
mov edx, 0xa
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x68f0]
mov edx, VariantTimeToDosDateTime
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x6870]
mov edx, 0x18
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x6970]
mov edx, 0x17
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [rsp + 0x6d50]
mov ecx, dword [rsp + 0x2de8]
call qword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
mov eax, dword [rsp + 0x6d58]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x6d54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x6d50]
lea r8, [rsp + 0x6870]
mov edx, 0x64
lea rcx, [rsp + 0x69f0]
call fcn.01016110
mov r8d, reloc.ODBC32.dll_SQLFreeStmt
xor edx, edx
lea rcx, [rsp + 0x6bc0]
call sub.MSVCR80.dll_memset
lea rdx, [rsp + 0x6d60]
mov rax, qword [rsp + 0x82a8]
mov ecx, dword [rax + 0x358]
call qword [sym.imp.SQLSVC.dll_QScheduleConvertValToDateStruct]
lea rdx, [rsp + 0x6d50]
mov rax, qword [rsp + 0x82a8]
mov ecx, dword [rax + 0x35c]
call qword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
movzx eax, word [rsp + 0x6d68]
mov word [rsp + 0x6bc0], ax
movzx eax, word [rsp + 0x6d64]
mov word [rsp + 0x6bc2], ax
movzx eax, word [rsp + 0x6d60]
mov word [rsp + 0x6bc6], ax
movzx eax, word [rsp + 0x6d50]
mov word [rsp + 0x6bc8], ax
movzx eax, word [rsp + 0x6d54]
mov word [rsp + 0x6bca], ax
movzx eax, word [rsp + 0x6d58]
mov word [rsp + 0x6bcc], ax
cmp dword [0x010686a8], 0
je 0x1045285
mov dword [rsp + 0x81bc], 0
jmp 0x1045290
mov dword [rsp + 0x81bc], 0x80000000
cmp dword [0x010686a8], 0
je 0x10452a8
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x81c0], eax
jmp 0x10452b5
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rsp + 0x81c0], eax
mov eax, dword [rsp + 0x81bc]
or eax, 1
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x6c50]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rsp + 0x6bc0]
mov edx, eax
mov ecx, dword [rsp + 0x81c0]
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
cmp dword [0x010686a8], 0
je 0x1045304
mov dword [rsp + 0x81c4], 0
jmp 0x104530f
mov dword [rsp + 0x81c4], 0x80000000
cmp dword [0x010686a8], 0
je 0x1045327
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x81c8], eax
jmp 0x1045334
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rsp + 0x81c8], eax
mov dword [rsp + 0x28], 0x80
lea rax, [rsp + 0x6ac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6bc0]
mov edx, dword [rsp + 0x81c4]
mov ecx, dword [rsp + 0x81c8]
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
cmp dword [rsp + 0x82b0], 1
jne 0x1045384
lea rax, [rsp + 0x68f0]
mov qword [rsp + 0x81d0], rax
jmp 0x1045394
lea rax, [rsp + 0x6bd0]
mov qword [rsp + 0x81d0], rax
movzx eax, word [rsp + 0x69f0]
test eax, eax
je 0x10453b2
lea rax, [rsp + 0x69f0]
mov qword [rsp + 0x81d8], rax
jmp 0x10453c2
lea rax, [rsp + 0x6970]
mov qword [rsp + 0x81d8], rax
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
lea rcx, [rsp + 0x4650]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x81d0]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x81d8]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x6ac0]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x6c50]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x6670]
mov edx, 0x400
lea rcx, [rsp + 0x80]
call fcn.01016110
cmp dword [rsp + 0x3e40], 0
je 0x1045893
lea r8, [rsp + 0x3200]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x344]
mov rcx, qword [rsp + 0x82a0]
call fcn.01026cc0
test eax, eax
je 0x1045893
mov qword [rsp + 0x6d70], 0
mov r8d, 0x779
lea rdx, [0x01009af0]
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
call fcn.01014ff0
mov qword [rsp + 0x6d70], rax
cmp qword [rsp + 0x6d70], 0
je 0x1045893
mov r8d, reloc.ODBC32.dll_SQLFreeStmt
xor edx, edx
mov rcx, qword [rsp + 0x6d70]
call sub.MSVCR80.dll_memset
lea rcx, [rsp + 0x34b4]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov dword [rsp + 0x3e44], eax
cmp dword [rsp + 0x3e44], 0
je 0x1045544
mov eax, dword [rsp + 0x3e44]
add eax, 1
test eax, eax
jle 0x1045544
mov eax, dword [rsp + 0x3e44]
add eax, 1
cdqe
shl rax, 1
mov r8d, 0x77d
lea rdx, [0x01009af0]
mov ecx, eax
call fcn.01014ff0
mov rcx, qword [rsp + 0x6d70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x6d70]
cmp qword [rax], 0
je 0x1045544
mov eax, dword [rsp + 0x3e44]
add eax, 1
cdqe
lea r8, [rsp + 0x34b4]
mov rdx, rax
mov rax, qword [rsp + 0x6d70]
mov rcx, qword [rax]
call fcn.0105ab90
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov dword [rsp + 0x3e44], eax
cmp dword [rsp + 0x3e44], 0
je 0x10455d7
mov eax, dword [rsp + 0x3e44]
add eax, 1
test eax, eax
jle 0x10455d7
mov eax, dword [rsp + 0x3e44]
add eax, 1
cdqe
shl rax, 1
mov r8d, 0x784
lea rdx, [0x01009af0]
mov ecx, eax
call fcn.01014ff0
mov rcx, qword [rsp + 0x6d70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x6d70]
cmp qword [rax + 8], 0
je 0x10455d7
mov eax, dword [rsp + 0x3e44]
add eax, 1
cdqe
lea r8, [rsp + 0x80]
mov rdx, rax
mov rax, qword [rsp + 0x6d70]
mov rcx, qword [rax + 8]
call fcn.0105ab90
mov qword [rsp + 0x6d78], 0
lea rcx, [rsp + 0x34b4]
call qword [sym.imp.MSVCR80.dll_wcslen]
test rax, rax
jne 0x1045603
mov dword [rsp + 0x81e0], 1
jmp 0x104560e
mov dword [rsp + 0x81e0], 0
mov eax, dword [rsp + 0x81e0]
mov dword [rsp + 0x6660], eax
cmp dword [rsp + 0x6660], 0
jne 0x1045667
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x6d70]
lea r8, [0x010355f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x6d78], rax
cmp qword [rsp + 0x6d78], 0
jne 0x10457b9
mov rax, qword [rsp + 0x6d70]
cmp qword [rax], 0
je 0x1045685
mov rax, qword [rsp + 0x6d70]
mov rcx, qword [rax]
call fcn.01015770
mov rax, qword [rsp + 0x6d70]
cmp qword [rax + 8], 0
je 0x10456a5
mov rax, qword [rsp + 0x6d70]
mov rcx, qword [rax + 8]
call fcn.01015770
mov rcx, qword [rsp + 0x6d70]
call fcn.01015770
cmp dword [rsp + 0x6660], 0
je 0x1045718
cmp dword [0x010689c8], 0
je 0x10456db
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x81e8], rax
jmp 0x10456f1
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x81e8], rax
mov rax, qword [rsp + 0x81e8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3204]
mov r8d, 0x10c
xor edx, edx
mov ecx, 3
call fcn.01034b80
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x10d
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01016110
lea rcx, [rsp + 0x2e00]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov qword [rsp + 0x81f0], rax
lea rcx, [rsp + 0xe9c]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov ecx, 0xfa0
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x81f0]
cmp rcx, rax
jae 0x10457b4
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015bf0
jmp 0x104586e
cmp dword [0x010689c8], 0
je 0x10457d8
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x81f8], rax
jmp 0x10457ee
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x81f8], rax
lea rax, [rsp + 0x3204]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x81f8]
mov r8d, 0xf7
xor edx, edx
mov ecx, 3
call fcn.01034b80
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x344]
mov dword [rsp + 0x2df0], eax
xor r8d, r8d
lea rdx, [rsp + 0x3620]
lea rcx, [rsp + 0x3624]
call fcn.01036710
mov dword [rsp + 0x20], 4
mov r9d, dword [rsp + 0x3620]
mov r8d, dword [rsp + 0x3624]
mov edx, dword [rsp + 0x3200]
mov rcx, qword [rsp + 0x82a0]
call fcn.010228a0
cmp qword [rsp + 0x6d78], 0
je 0x1045893
mov rcx, qword [rsp + 0x6d78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x6d78], 0
cmp dword [rsp + 0x3e4c], 0
je 0x1045b31
lea r8, [rsp + 0x3200]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x340]
mov rcx, qword [rsp + 0x82a0]
call fcn.01026cc0
test eax, eax
je 0x1045b31
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
lea rcx, [0x01069050]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x3a40]
mov edx, 0x208
lea rcx, [rsp + 0x3630]
call fcn.01016110
lea rcx, [rsp + 0x3314]
call qword [sym.imp.MSVCR80.dll_wcslen]
test rax, rax
jne 0x1045921
mov dword [rsp + 0x8200], 1
jmp 0x104592c
mov dword [rsp + 0x8200], 0
mov eax, dword [rsp + 0x8200]
mov dword [rsp + 0x6660], eax
cmp dword [rsp + 0x6660], 0
jne 0x10459bc
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov rcx, qword [rsp + 0x82a0]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x3204]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xc00000d2
mov eax, dword [rsp + 0x3200]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3630]
xor r8d, r8d
lea rdx, [rsp + 0x3314]
mov ecx, 1
call fcn.01033e10
test eax, eax
jne 0x1045ac0
cmp dword [rsp + 0x6660], 0
je 0x1045a22
cmp dword [0x010689c8], 0
je 0x10459e5
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8208], rax
jmp 0x10459fb
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8208], rax
mov rax, qword [rsp + 0x8208]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3204]
mov r8d, 0x10a
xor edx, edx
mov ecx, 3
call fcn.01034b80
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x19
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01016110
lea rcx, [rsp + 0x2e00]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov qword [rsp + 0x8210], rax
lea rcx, [rsp + 0xe9c]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov ecx, 0xfa0
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x8210]
cmp rcx, rax
jae 0x1045abe
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015bf0
jmp 0x1045b31
cmp dword [0x010689c8], 0
je 0x1045adf
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8218], rax
jmp 0x1045af5
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8218], rax
lea rax, [rsp + 0x3204]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x8218]
mov r8d, 0xb7
xor edx, edx
mov ecx, 3
call fcn.01034b80
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x340]
mov dword [rsp + 0x2dec], eax
cmp dword [rsp + 0x70], 0
je 0x104602f
lea r8, [rsp + 0x3200]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x348]
mov rcx, qword [rsp + 0x82a0]
call fcn.01026cc0
test eax, eax
je 0x104602f
movzx eax, word [0x01001c50]
mov word [rsp + 0x7180], ax
lea rax, [rsp + 0x7182]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x7580], ax
lea rax, [rsp + 0x7582]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x6d80], ax
lea rax, [rsp + 0x6d82]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c50]
mov word [rsp + 0x7980], ax
lea rax, [rsp + 0x7982]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
lea rcx, [rsp + 0x3200]
call fcn.0101e530
test eax, eax
jne 0x1045d05
cmp dword [0x010689c8], 0
je 0x1045c27
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8220], rax
jmp 0x1045c3d
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8220], rax
mov rax, qword [rsp + 0x8220]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3204]
mov r8d, 0x115
xor edx, edx
mov ecx, 2
call fcn.01034b80
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x114
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01016110
lea rcx, [rsp + 0x2e00]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov qword [rsp + 0x8228], rax
lea rcx, [rsp + 0xe9c]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov ecx, 0xfa0
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x8228]
cmp rcx, rax
jae 0x1045d00
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015bf0
jmp 0x104602f
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
lea rcx, [0x01069050]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x3a40]
mov edx, 0x208
lea rcx, [rsp + 0x3630]
call fcn.01016110
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x7980]
lea r8, [rsp + 0x33e4]
lea rdx, [0x01002f98]
lea rcx, [0x01067638]
call fcn.010531b0
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x7180]
call fcn.0105ab90
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x7980]
lea r8, [rsp + 0x33e4]
lea rdx, [0x01002f98]
lea rcx, [0x01067738]
call fcn.010531b0
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x7580]
call fcn.0105ab90
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x7980]
lea r8, [rsp + 0x3630]
lea rdx, [0x01002f88]
lea rcx, [0x01067838]
call fcn.010531b0
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x6d80]
call fcn.0105ab90
lea rcx, [rsp + 0x33e4]
call qword [sym.imp.MSVCR80.dll_wcslen]
test rax, rax
jne 0x1045e1a
mov dword [rsp + 0x8230], 1
jmp 0x1045e25
mov dword [rsp + 0x8230], 0
mov eax, dword [rsp + 0x8230]
mov dword [rsp + 0x6660], eax
cmp dword [rsp + 0x6660], 0
jne 0x1045eba
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov rcx, qword [rsp + 0x82a0]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x3204]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xc00000d5
mov eax, dword [rsp + 0x3200]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6d80]
lea r8, [rsp + 0x7580]
lea rdx, [rsp + 0x7180]
mov ecx, 2
call fcn.01033e10
test eax, eax
jne 0x1045fbe
cmp dword [rsp + 0x6660], 0
je 0x1045f20
cmp dword [0x010689c8], 0
je 0x1045ee3
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8238], rax
jmp 0x1045ef9
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8238], rax
mov rax, qword [rsp + 0x8238]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3204]
mov r8d, 0x10b
xor edx, edx
mov ecx, 3
call fcn.01034b80
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x102
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01016110
lea rcx, [rsp + 0x2e00]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov qword [rsp + 0x8240], rax
lea rcx, [rsp + 0xe9c]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov ecx, 0xfa0
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x8240]
cmp rcx, rax
jae 0x1045fbc
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015bf0
jmp 0x104602f
cmp dword [0x010689c8], 0
je 0x1045fdd
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8248], rax
jmp 0x1045ff3
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8248], rax
lea rax, [rsp + 0x3204]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x8248]
mov r8d, 0x103
xor edx, edx
mov ecx, 3
call fcn.01034b80
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x348]
mov dword [rsp + 0x2df4], eax
cmp dword [0x010689c8], 0
je 0x104604e
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8250], rax
jmp 0x1046064
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8250], rax
mov r9, qword [rsp + 0x8250]
mov r8d, 0xb8
xor edx, edx
mov ecx, 3
call fcn.01034b80
lea rdx, [rsp + 0xe80]
mov rcx, qword [rsp + 0x82a0]
call fcn.010223e0
mov rax, qword [rsp + 0x82a8]
add rax, 0x118
lea rdx, [0x01003648]
mov rcx, rax
call qword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
je 0x10461d7
xor edx, edx
xor ecx, ecx
call fcn.010527f0
test eax, eax
je 0x10461d7
lea rax, [rsp + 0xe9c]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x2ddc]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x2de8]
mov r8d, dword [rsp + 0x2de4]
mov edx, dword [rsp + 0x2de0]
lea rcx, [rsp + 0xe80]
call fcn.0104d040
test eax, eax
jne 0x10461d7
cmp dword [0x010689c8], 0
je 0x104612d
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8258], rax
jmp 0x1046143
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8258], rax
mov r9, qword [rsp + 0x8258]
mov r8d, 0x127
xor edx, edx
mov ecx, 1
call fcn.01034b80
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x128
mov rcx, qword [0x01069158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rcx, [rsp + 0xa80]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov qword [rsp + 0x8260], rax
lea rcx, [rsp + 0xe9c]
call qword [sym.imp.MSVCR80.dll_wcslen]
add rax, 1
mov ecx, 0xfa0
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x8260]
cmp rcx, rax
jae 0x10461d7
lea r8, [rsp + 0xa80]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015bf0
cmp dword [rsp + 0x362c], 0
je 0x104625e
cmp dword [0x010689c8], 0
je 0x1046200
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8268], rax
jmp 0x1046216
mov rax, qword [rsp + 0x82a8]
add rax, 0xe60
mov qword [rsp + 0x8268], rax
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x34c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x8268]
mov r8d, 0xeb
xor edx, edx
mov ecx, 2
call fcn.01034b80
mov rdx, qword [rsp + 0x82a8]
mov rcx, qword [rsp + 0x82a0]
call fcn.010222e0
mov dword [rsp + 0x3e48], eax
mov rcx, qword [rsp + 0x8270]
xor rcx, rsp
call fcn.01059ab0
add rsp, 0x8288
pop rdi
pop rsi
ret