Function at 0x1043a20
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.0105ee40
sub rsp, rax
mov rax, qword [0x010657f0]
xor rax, rsp
mov qword [rsp + 0x8270], rax
movzx eax, word [0x01001c38]
mov word [rsp + 0x2e00], ax
lea rax, [rsp + 0x2e02]
mov rdi, rax
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
mov word [rsp + 0x4650], ax
lea rax, [rsp + 0x4652]
mov rdi, rax
xor eax, eax
mov ecx, 0x1f3e
rep stosb byte [rdi], al
movzx eax, word [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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.01035c30
mov r9d, 0x100
lea r8, [rsp + 0x3a40]
mov edx, 8
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x35a0]
mov edx, 3
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [rsp + 0x82b0]
mov dword [rsp + 0x8190], eax
cmp dword [rsp + 0x8190], 0
je 0x1043e08
cmp dword [rsp + 0x8190], 1
je 0x1043cd2
cmp dword [rsp + 0x8190], 3
je 0x1043f3e
jmp 0x1043fa9
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 0x1043d1d
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x340], 0
je 0x1043d1d
mov dword [rsp + 0x8194], 1
jmp 0x1043d28
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 0x1043d69
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x344], 0
je 0x1043d69
mov dword [rsp + 0x8198], 1
jmp 0x1043d74
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 0x1043db5
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x348], 0
je 0x1043db5
mov dword [rsp + 0x819c], 1
jmp 0x1043dc0
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, 0x100
lea r8, [rsp + 0x880]
mov edx, 0xd5
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
jmp 0x1043fc9
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 0x1043e53
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x340], 0
je 0x1043e53
mov dword [rsp + 0x81a0], 1
jmp 0x1043e5e
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 0x1043e9f
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x344], 0
je 0x1043e9f
mov dword [rsp + 0x81a4], 1
jmp 0x1043eaa
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 0x1043eeb
mov rax, qword [rsp + 0x82a8]
cmp dword [rax + 0x348], 0
je 0x1043eeb
mov dword [rsp + 0x81a8], 1
jmp 0x1043ef6
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, 0x100
lea r8, [rsp + 0x880]
mov edx, 0xd6
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
jmp 0x1043fc9
mov r8d, 0x100
lea rdx, [rsp + 0x3c40]
mov ecx, dword [rsp + 0x82c0]
call fcn.010482b0
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0xd7
mov rcx, qword [0x01068158]
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, 0x100
lea rcx, [rsp + 0x880]
call fcn.01015ef0
jmp 0x1043fc9
mov r9d, 0x100
lea r8, [rsp + 0x880]
mov edx, 0xd8
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
cmp qword [rsp + 0x82b8], 0
je 0x1044002
mov rax, qword [rsp + 0x82b8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x880]
lea r8, [0x01009890]
mov edx, 0xfa0
lea rcx, [rsp + 0x4650]
call fcn.01015ef0
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x3e50]
lea r8, [0x01001c38]
lea rdx, [0x01002ec4]
lea rcx, [rsp + 0x4650]
call fcn.01052500
mov dword [rsp + 0x20], 0x1f40
lea r9, [rsp + 0x4650]
lea r8, [0x01001c38]
lea rdx, [0x01002ecc]
lea rcx, [rsp + 0x3e50]
call fcn.01052500
lea r9, [rsp + 0x4650]
mov r8d, dword [rsp + 0x82b0]
mov rdx, qword [rsp + 0x82a8]
mov rcx, qword [rsp + 0x82a0]
call fcn.010220f0
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.01026700
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 0x104419e
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 0x1044363
cmp dword [rsp + 0x82b0], 1
jne 0x1044202
mov r9d, 0x100
lea r8, [rsp + 0x880]
mov edx, VariantTimeToDosDateTime
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
cmp dword [rsp + 0x82b0], 0
jne 0x104422c
mov r9d, 0x100
lea r8, [rsp + 0x880]
mov edx, 0xa
mov rcx, qword [0x01068158]
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.01035e50
cmp dword [0x010679c8], 0
je 0x1044280
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x81b0], rax
jmp 0x1044296
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.01033fa0
cmp dword [rsp + 0x82b0], 0
jne 0x10442c7
mov dword [rsp + 0x81b8], 2
jmp 0x10442d2
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.01033610
cmp dword [rsp + 0x3e4c], 0
jne 0x1044382
cmp dword [rsp + 0x3e40], 0
jne 0x1044382
cmp dword [rsp + 0x70], 0
je 0x10447f1
movzx eax, word [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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, 0x100
lea r8, [rsp + 0x6670]
mov edx, 9
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x6bd0]
mov edx, 0xa
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x68f0]
mov edx, VariantTimeToDosDateTime
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x6870]
mov edx, 0x18
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [rsp + 0x6970]
mov edx, 0x17
mov rcx, qword [0x01068158]
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.01015ef0
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 [0x010676a8], 0
je 0x104464a
mov dword [rsp + 0x81bc], 0
jmp 0x1044655
mov dword [rsp + 0x81bc], 0x80000000
cmp dword [0x010676a8], 0
je 0x104466d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x81c0], eax
jmp 0x104467a
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 [0x010676a8], 0
je 0x10446c9
mov dword [rsp + 0x81c4], 0
jmp 0x10446d4
mov dword [rsp + 0x81c4], 0x80000000
cmp dword [0x010676a8], 0
je 0x10446ec
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x81c8], eax
jmp 0x10446f9
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 0x1044749
lea rax, [rsp + 0x68f0]
mov qword [rsp + 0x81d0], rax
jmp 0x1044759
lea rax, [rsp + 0x6bd0]
mov qword [rsp + 0x81d0], rax
movzx eax, word [rsp + 0x69f0]
test eax, eax
je 0x1044777
lea rax, [rsp + 0x69f0]
mov qword [rsp + 0x81d8], rax
jmp 0x1044787
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.01015ef0
cmp dword [rsp + 0x3e40], 0
je 0x1044c58
lea r8, [rsp + 0x3200]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x344]
mov rcx, qword [rsp + 0x82a0]
call fcn.01026250
test eax, eax
je 0x1044c58
mov qword [rsp + 0x6d70], 0
mov r8d, 0x70a
lea rdx, [0x01009860]
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
call fcn.01014dd0
mov qword [rsp + 0x6d70], rax
cmp qword [rsp + 0x6d70], 0
je 0x1044c58
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 0x1044909
mov eax, dword [rsp + 0x3e44]
add eax, 1
test eax, eax
jle 0x1044909
mov eax, dword [rsp + 0x3e44]
add eax, 1
cdqe
shl rax, 1
mov r8d, 0x70e
lea rdx, [0x01009860]
mov ecx, eax
call fcn.01014dd0
mov rcx, qword [rsp + 0x6d70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x6d70]
cmp qword [rax], 0
je 0x1044909
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.01013c30
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCR80.dll_wcslen]
mov dword [rsp + 0x3e44], eax
cmp dword [rsp + 0x3e44], 0
je 0x104499c
mov eax, dword [rsp + 0x3e44]
add eax, 1
test eax, eax
jle 0x104499c
mov eax, dword [rsp + 0x3e44]
add eax, 1
cdqe
shl rax, 1
mov r8d, 0x715
lea rdx, [0x01009860]
mov ecx, eax
call fcn.01014dd0
mov rcx, qword [rsp + 0x6d70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x6d70]
cmp qword [rax + 8], 0
je 0x104499c
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.01013c30
mov qword [rsp + 0x6d78], 0
lea rcx, [rsp + 0x34b4]
call qword [sym.imp.MSVCR80.dll_wcslen]
test rax, rax
jne 0x10449c8
mov dword [rsp + 0x81e0], 1
jmp 0x10449d3
mov dword [rsp + 0x81e0], 0
mov eax, dword [rsp + 0x81e0]
mov dword [rsp + 0x6660], eax
cmp dword [rsp + 0x6660], 0
jne 0x1044a2c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x6d70]
lea r8, [0x01034a10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x6d78], rax
cmp qword [rsp + 0x6d78], 0
jne 0x1044b7e
mov rax, qword [rsp + 0x6d70]
cmp qword [rax], 0
je 0x1044a4a
mov rax, qword [rsp + 0x6d70]
mov rcx, qword [rax]
call fcn.01015550
mov rax, qword [rsp + 0x6d70]
cmp qword [rax + 8], 0
je 0x1044a6a
mov rax, qword [rsp + 0x6d70]
mov rcx, qword [rax + 8]
call fcn.01015550
mov rcx, qword [rsp + 0x6d70]
call fcn.01015550
cmp dword [rsp + 0x6660], 0
je 0x1044add
cmp dword [0x010679c8], 0
je 0x1044aa0
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x81e8], rax
jmp 0x1044ab6
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.01033fa0
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x10d
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01015ef0
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 0x1044b79
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015be0
jmp 0x1044c33
cmp dword [0x010679c8], 0
je 0x1044b9d
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x81f8], rax
jmp 0x1044bb3
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.01033fa0
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.01035c30
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.01021eb0
cmp qword [rsp + 0x6d78], 0
je 0x1044c58
mov rcx, qword [rsp + 0x6d78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x6d78], 0
cmp dword [rsp + 0x3e4c], 0
je 0x1044ef6
lea r8, [rsp + 0x3200]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x340]
mov rcx, qword [rsp + 0x82a0]
call fcn.01026250
test eax, eax
je 0x1044ef6
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
lea rcx, [0x01068050]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x3a40]
mov edx, 0x208
lea rcx, [rsp + 0x3630]
call fcn.01015ef0
lea rcx, [rsp + 0x3314]
call qword [sym.imp.MSVCR80.dll_wcslen]
test rax, rax
jne 0x1044ce6
mov dword [rsp + 0x8200], 1
jmp 0x1044cf1
mov dword [rsp + 0x8200], 0
mov eax, dword [rsp + 0x8200]
mov dword [rsp + 0x6660], eax
cmp dword [rsp + 0x6660], 0
jne 0x1044d81
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.01033240
test eax, eax
jne 0x1044e85
cmp dword [rsp + 0x6660], 0
je 0x1044de7
cmp dword [0x010679c8], 0
je 0x1044daa
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8208], rax
jmp 0x1044dc0
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.01033fa0
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x19
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01015ef0
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 0x1044e83
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015be0
jmp 0x1044ef6
cmp dword [0x010679c8], 0
je 0x1044ea4
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8218], rax
jmp 0x1044eba
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.01033fa0
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x340]
mov dword [rsp + 0x2dec], eax
cmp dword [rsp + 0x70], 0
je 0x10453f4
lea r8, [rsp + 0x3200]
mov rax, qword [rsp + 0x82a8]
mov edx, dword [rax + 0x348]
mov rcx, qword [rsp + 0x82a0]
call fcn.01026250
test eax, eax
je 0x10453f4
movzx eax, word [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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 [0x01001c38]
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.0101e320
test eax, eax
jne 0x10450ca
cmp dword [0x010679c8], 0
je 0x1044fec
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8220], rax
jmp 0x1045002
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.01033fa0
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x114
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01015ef0
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 0x10450c5
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015be0
jmp 0x10453f4
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
lea rcx, [0x01068050]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x3a40]
mov edx, 0x208
lea rcx, [rsp + 0x3630]
call fcn.01015ef0
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x7980]
lea r8, [rsp + 0x33e4]
lea rdx, [0x01002f88]
lea rcx, [0x01066638]
call fcn.01052500
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x7180]
call fcn.01013c30
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x7980]
lea r8, [rsp + 0x33e4]
lea rdx, [0x01002f88]
lea rcx, [0x01066738]
call fcn.01052500
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x7580]
call fcn.01013c30
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x7980]
lea r8, [rsp + 0x3630]
lea rdx, [0x01002f78]
lea rcx, [0x01066838]
call fcn.01052500
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x6d80]
call fcn.01013c30
lea rcx, [rsp + 0x33e4]
call qword [sym.imp.MSVCR80.dll_wcslen]
test rax, rax
jne 0x10451df
mov dword [rsp + 0x8230], 1
jmp 0x10451ea
mov dword [rsp + 0x8230], 0
mov eax, dword [rsp + 0x8230]
mov dword [rsp + 0x6660], eax
cmp dword [rsp + 0x6660], 0
jne 0x104527f
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.01033240
test eax, eax
jne 0x1045383
cmp dword [rsp + 0x6660], 0
je 0x10452e5
cmp dword [0x010679c8], 0
je 0x10452a8
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8238], rax
jmp 0x10452be
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.01033fa0
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x102
mov rcx, qword [0x01068158]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x3204]
lea r8, [rsp + 0xa80]
mov edx, 0x200
lea rcx, [rsp + 0x2e00]
call fcn.01015ef0
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 0x1045381
lea r8, [rsp + 0x2e00]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015be0
jmp 0x10453f4
cmp dword [0x010679c8], 0
je 0x10453a2
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8248], rax
jmp 0x10453b8
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.01033fa0
mov rax, qword [rsp + 0x82a8]
mov eax, dword [rax + 0x348]
mov dword [rsp + 0x2df4], eax
cmp dword [0x010679c8], 0
je 0x1045413
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8250], rax
jmp 0x1045429
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.01033fa0
lea rdx, [rsp + 0xe80]
mov rcx, qword [rsp + 0x82a0]
call fcn.010219e0
mov rax, qword [rsp + 0x82a8]
add rax, 0x118
lea rdx, [0x01003638]
mov rcx, rax
call qword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
je 0x104559c
xor edx, edx
xor ecx, ecx
call fcn.01051b30
test eax, eax
je 0x104559c
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.0104c390
test eax, eax
jne 0x104559c
cmp dword [0x010679c8], 0
je 0x10454f2
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8258], rax
jmp 0x1045508
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.01033fa0
mov r9d, 0x200
lea r8, [rsp + 0xa80]
mov edx, 0x128
mov rcx, qword [0x01068158]
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 0x104559c
lea r8, [rsp + 0xa80]
mov edx, 0xfa0
lea rcx, [rsp + 0xe9c]
call fcn.01015be0
cmp dword [rsp + 0x362c], 0
je 0x1045623
cmp dword [0x010679c8], 0
je 0x10455c5
mov rax, qword [rsp + 0x82a8]
add rax, 0x10
mov qword [rsp + 0x8268], rax
jmp 0x10455db
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.01033fa0
mov rdx, qword [rsp + 0x82a8]
mov rcx, qword [rsp + 0x82a0]
call fcn.010218e0
mov dword [rsp + 0x3e48], eax
mov rcx, qword [rsp + 0x8270]
xor rcx, rsp
call fcn.010588f0
add rsp, 0x8288
pop rdi
pop rsi
ret