Function at 0x100006c74
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create directory
Get file attributes
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x14d0
call fcn.10000fce0
sub rsp, rax
mov rax, qword [0x100014100]
xor rax, rsp
mov qword [rsp + 0x14c0], rax
mov r13, r8
mov qword [0x100015298], rcx
xor esi, esi
mov dword [rsp + 0x230], esi
mov ebx, 0x204
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x234]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x860], esi
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x864]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x440], esi
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x444]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xc80], esi
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xc84]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xa70], esi
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa74]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x1b0], esi
xor edx, edx
lea r8d, [rsi + 0x7c]
lea rcx, [rsp + 0x1b4]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x90], rsi
mov r14, rsi
mov qword [rsp + 0x70], rsi
mov r15d, esi
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x60], esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x650], esi
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x654]
call sub.msvcrt.dll_memset
mov qword [rsp + 0xd0], rsi
mov r8d, 0x104
lea rdx, [rsp + 0x650]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
je 0x100007e73
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x230]
mov edx, 0x104
lea rcx, [rsp + 0x650]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, esi
je 0x100007e73
cmp si, word [rsp + 0x230]
je 0x100007e73
mov rax, qword [rsp + 0xd0]
cmp rax, rsi
je 0x100007e73
mov word [rax - 2], si
cmp si, word [r13]
je 0x100007292
lea rdx, [0x1000023f0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rdi, rax
cmp rax, rsi
jne 0x100006e55
lea rdx, [0x100002408]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rdi, rax
cmp rax, rsi
jne 0x100006e55
mov r12d, 0x7ffffffe
jmp 0x10000706a
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
mov rbx, rax
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, rsi
jne 0x100006e8f
mov r14, rsi
mov qword [rsp + 0x88], rsi
mov r12d, 0x7ffffffe
jmp 0x10000706a
cmp rbx, rsi
jne 0x100006f79
lea rdx, [rax + 2]
cmp si, word [rdx]
je 0x100006f6e
mov r12d, 0x7ffffffe
mov r9, r12
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x198], rdx
mov r8d, 0x104
mov qword [rsp + 0x118], r8
lea rax, [rsp + 0x860]
mov qword [rsp + 0x98], rax
mov rcx, rsi
mov qword [rsp + 0xb0], rcx
cmp r8, rsi
je 0x100006f3a
cmp r9, rsi
je 0x100006f3a
movzx r10d, word [rdx]
cmp r10w, si
je 0x100006f3a
mov word [rax], r10w
add rax, 2
mov qword [rsp + 0x98], rax
add rdx, 2
mov qword [rsp + 0x198], rdx
dec r8
mov qword [rsp + 0x118], r8
dec r9
mov qword [rsp + 0x100], r9
inc rcx
mov qword [rsp + 0xb0], rcx
jmp 0x100006ee7
cmp r8, rsi
jne 0x100006f56
sub rax, 2
mov qword [rsp + 0x98], rax
dec rcx
mov qword [rsp + 0xb0], rcx
mov word [rax], si
lea r14, [rsp + 0x860]
mov qword [rsp + 0x88], r14
jmp 0x10000706a
mov r12d, 0x7ffffffe
jmp 0x10000706a
sub rbx, rax
sar rbx, 1
cmp rbx, 1
jle 0x100007064
dec rbx
mov r12d, 0x7ffffffe
cmp rbx, r12
jbe 0x100006fa4
mov word [rsp + 0x860], si
jmp 0x100007052
mov qword [rsp + 0x138], rbx
lea r8, [rax + 2]
mov qword [rsp + 0x128], r8
mov edx, 0x104
mov qword [rsp + 0x170], rdx
lea rax, [rsp + 0x860]
mov qword [rsp + 0xf0], rax
mov rcx, rsi
mov qword [rsp + 0xc0], rcx
cmp rdx, rsi
je 0x100007033
cmp rbx, rsi
je 0x100007033
movzx r9d, word [r8]
cmp r9w, si
je 0x100007033
mov word [rax], r9w
add rax, 2
mov qword [rsp + 0xf0], rax
add r8, 2
mov qword [rsp + 0x128], r8
dec rdx
mov qword [rsp + 0x170], rdx
dec rbx
mov qword [rsp + 0x138], rbx
inc rcx
mov qword [rsp + 0xc0], rcx
jmp 0x100006fe0
cmp rdx, rsi
jne 0x10000704f
sub rax, 2
mov qword [rsp + 0xf0], rax
dec rcx
mov qword [rsp + 0xc0], rcx
mov word [rax], si
lea r14, [rsp + 0x860]
mov qword [rsp + 0x88], r14
jmp 0x10000706a
mov r12d, 0x7ffffffe
lea rdx, [0x100002420]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rdi, rax
cmp rax, rsi
jne 0x10000709e
lea rdx, [0x100002430]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rdi, rax
cmp rax, rsi
je 0x100007292
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
mov rbx, rax
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, rsi
je 0x100007292
cmp rbx, rsi
jne 0x1000071a7
lea r8, [rax + 2]
cmp si, word [r8]
je 0x100007292
mov r9, r12
mov qword [rsp + 0x190], r12
mov qword [rsp + 0x180], r8
mov eax, 0x40
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0xe0], rcx
mov rdx, rsi
mov qword [rsp + 0xa0], rdx
cmp rax, rsi
je 0x10000716b
cmp r9, rsi
je 0x10000716b
movzx r10d, word [r8]
cmp r10w, si
je 0x10000716b
mov word [rcx], r10w
add rcx, 2
mov qword [rsp + 0xe0], rcx
add r8, 2
mov qword [rsp + 0x180], r8
dec rax
mov qword [rsp + 0x148], rax
dec r9
mov qword [rsp + 0x190], r9
inc rdx
mov qword [rsp + 0xa0], rdx
jmp 0x100007118
cmp rax, rsi
jne 0x100007187
sub rcx, 2
mov qword [rsp + 0xe0], rcx
dec rdx
mov qword [rsp + 0xa0], rdx
mov word [rcx], si
lea rbx, [rsp + 0x1b0]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x188], rbx
jmp 0x100007292
sub rbx, rax
sar rbx, 1
cmp rbx, 1
jle 0x100007292
dec rbx
cmp rbx, r12
jbe 0x1000071cc
mov word [rsp + 0x1b0], si
jmp 0x10000727a
mov qword [rsp + 0x168], rbx
lea r8, [rax + 2]
mov qword [rsp + 0x158], r8
mov eax, 0x40
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0xa8], rcx
mov rdx, rsi
mov qword [rsp + 0xb8], rdx
cmp rax, rsi
je 0x10000725b
cmp rbx, rsi
je 0x10000725b
movzx r9d, word [r8]
cmp r9w, si
je 0x10000725b
mov word [rcx], r9w
add rcx, 2
mov qword [rsp + 0xa8], rcx
add r8, 2
mov qword [rsp + 0x158], r8
dec rax
mov qword [rsp + 0x1a0], rax
dec rbx
mov qword [rsp + 0x168], rbx
inc rdx
mov qword [rsp + 0xb8], rdx
jmp 0x100007208
cmp rax, rsi
jne 0x100007277
sub rcx, 2
mov qword [rsp + 0xa8], rcx
dec rdx
mov qword [rsp + 0xb8], rdx
mov word [rcx], si
lea rbx, [rsp + 0x1b0]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x188], rbx
cmp r14, rsi
je 0x10000729d
cmp si, word [r14]
jne 0x1000072ad
lea r14, [rsp + 0x230]
mov qword [rsp + 0x88], r14
cmp si, word [r14]
jne 0x1000072d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov dword [rsp + 0x64], eax
lea r13, [0x100002458]
lea r14, [0x100001df0]
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9, r14
lea r8, [0x100002440]
mov edx, 0x104
lea rcx, [rsp + 0xa70]
call fcn.10000c3c4
xor edx, edx
lea rcx, [rsp + 0xa70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rbx, [rsp + 0xa70]
lea rcx, [rsp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
cmove rbx, r14
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x308f000
mov r9, rbx
mov r8, rbx
xor edx, edx
xor ecx, ecx
call sub.WDSCORE.dll_WdsInitialize
cmp eax, esi
jne 0x100007373
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov dword [rsp + 0x64], eax
lea r13, [0x100002458]
lea r14, [0x100001df0]
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
mov r8, r13
lea rdx, [0x100002470]
mov ecx, 0x40000cf
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rax, [0x100002458]
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2e9
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
cmp si, word [r13]
je 0x100007df7
mov r12d, esi
mov dword [rsp + 0x6c], esi
lea rdx, [0x1000024b0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x10000741c
lea rdx, [0x1000024c0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
je 0x10000748a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x1000024d0]
mov ecx, 0x40000d1
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rax, [0x100002458]
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2f2
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov dword [rsp + 0x78], esi
lea rdx, [0x1000024f0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x1000074b4
lea rdx, [0x100002500]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
je 0x10000752e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002510]
mov ecx, 0x4000000
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rax, [0x100002458]
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2f9
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov eax, 1
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x160], eax
lea rdx, [0x100002530]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x10000755d
lea rdx, [0x100002568]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x10000755d
mov edi, r12d
jmp 0x100007575
mov r12d, 1
mov dword [rsp + 0x6c], r12d
lea edi, [r12 + 3]
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
lea rdx, [0x1000025a0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x10000759f
lea rdx, [0x1000025d0]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
je 0x1000075b4
inc r12d
mov dword [rsp + 0x6c], r12d
mov edi, 5
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
lea rdx, [0x100002600]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x1000075de
lea rdx, [0x100002618]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
je 0x1000075f3
inc r12d
mov dword [rsp + 0x6c], r12d
mov edi, 6
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
lea rdx, [0x100002630]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x10000761d
lea rdx, [0x100002650]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
je 0x100007632
inc r12d
mov dword [rsp + 0x6c], r12d
mov edi, 2
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
lea rdx, [0x100002670]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
jne 0x10000765c
lea rdx, [0x100002690]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rsi
je 0x100007671
inc r12d
mov dword [rsp + 0x6c], r12d
mov edi, 3
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
cmp r12d, esi
jne 0x100007688
mov edi, 1
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
jmp 0x100007714
cmp r12d, 1
jbe 0x100007714
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
mov r8, r13
lea rdx, [0x1000026b0]
mov ecx, 0x20000d0
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x328
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov r15d, 0xd
mov dword [rsp + 0x64], r15d
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
mov ebx, 0x7ffffffe
mov r8, rbx
mov qword [rsp + 0x110], rbx
mov r9, r14
mov qword [rsp + 0x178], r14
mov r12d, 0x104
mov rdx, r12
mov qword [rsp + 0x108], rdx
lea rax, [rsp + 0x440]
mov qword [rsp + 0xc8], rax
mov rcx, rsi
mov qword [rsp + 0xd8], rcx
cmp rdx, rsi
je 0x1000077ae
cmp r8, rsi
je 0x1000077ae
movzx r10d, word [r9]
cmp r10w, si
je 0x1000077ae
mov word [rax], r10w
add rax, 2
mov qword [rsp + 0xc8], rax
add r9, 2
mov qword [rsp + 0x178], r9
dec rdx
mov qword [rsp + 0x108], rdx
dec r8
mov qword [rsp + 0x110], r8
inc rcx
mov qword [rsp + 0xd8], rcx
jmp 0x10000775b
cmp rdx, rsi
jne 0x1000077ca
sub rax, 2
mov qword [rsp + 0xc8], rax
dec rcx
mov qword [rsp + 0xd8], rcx
mov word [rax], si
lea r8, [0x1000026f8]
mov rdx, r12
lea rcx, [rsp + 0x440]
call fcn.1000091dc
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x120], r14
mov rdx, r12
mov qword [rsp + 0x130], rdx
lea rax, [rsp + 0xc80]
mov qword [rsp + 0xe8], rax
mov rcx, rsi
mov qword [rsp + 0xf8], rcx
cmp rdx, rsi
je 0x10000786d
cmp rbx, rsi
je 0x10000786d
movzx r8d, word [r14]
cmp r8w, si
je 0x10000786d
mov word [rax], r8w
add rax, 2
mov qword [rsp + 0xe8], rax
add r14, 2
mov qword [rsp + 0x120], r14
dec rdx
mov qword [rsp + 0x130], rdx
dec rbx
mov qword [rsp + 0x140], rbx
inc rcx
mov qword [rsp + 0xf8], rcx
jmp 0x10000781a
cmp rdx, rsi
jne 0x100007889
sub rax, 2
mov qword [rsp + 0xe8], rax
dec rcx
mov qword [rsp + 0xf8], rcx
mov word [rax], si
lea r8, [0x100002710]
mov rdx, r12
lea rcx, [rsp + 0xc80]
call fcn.1000091dc
lea rdx, [0x100002728]
lea rcx, [rsp + 0x440]
call fcn.10000c7f4
mov r12, rax
cmp rax, rsi
je 0x10000795a
mov rcx, rax
call fcn.10000dd6c
cmp eax, esi
je 0x100007946
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002750]
mov ecx, 0x4000000
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rax, [0x100002458]
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x344
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov edi, 1
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [rsp + 0x78], esi
je 0x100007995
mov ecx, esi
cmp edi, 6
sete cl
call fcn.100009310
xor edx, edx
lea rcx, [0x100001d40]
call qword [sym.imp.USER32.dll_FindWindowW]
cmp rax, rsi
je 0x100007995
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbf5
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp edi, esi
jle 0x100007d75
cmp edi, 3
jle 0x100007d01
cmp edi, 4
je 0x100007c1e
cmp edi, 5
je 0x100007a9f
cmp edi, 6
jne 0x100007d75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002838]
mov ecx, 0x4000000
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x369
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0x10a4]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x230]
cmp r11, rsi
je 0x100007a69
lea r8, [rsp + 0x10a0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x230]
call fcn.100006b10
jmp 0x100007a7e
mov dword [rsp + 0x10a0], esi
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea rdx, [rsp + 0x440]
mov rcx, rax
call fcn.100006938
mov r15d, eax
mov dword [rsp + 0x64], eax
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x1000027f8]
mov ecx, 0x4000000
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x364
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rbx, rsi
mov qword [rsp + 0x150], rbx
mov dword [rsp + 0xe90], esi
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0xe94]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x230]
cmp r11, rsi
je 0x100007bef
cmp si, word [rsp + 0x230]
je 0x100007bef
lea rax, [rsp + 0x70]
cmp rax, rsi
je 0x100007bef
mov qword [rsp + 0x70], rsi
lea rax, [0x1000023a8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x230]
lea r8, [0x100002378]
mov edx, 0x104
lea rcx, [rsp + 0xe90]
call fcn.10000c3c4
lea rcx, [rsp + 0xe90]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x70], rax
cmp rax, rsi
je 0x100007bda
lea rdx, [0x1000023c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rsi
je 0x100007bd5
mov ecx, 2
call rax
mov rbx, rax
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x70]
jmp 0x100007bda
mov rax, qword [rsp + 0x70]
cmp rbx, rsi
jne 0x100007bfd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x70], rsi
jmp 0x100007bfd
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rsi
lea rdx, [rsp + 0x440]
mov rcx, rbx
call fcn.100006938
mov r15d, eax
mov dword [rsp + 0x64], eax
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x1000027b0]
mov ecx, 0x4000000
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x35f
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0x12b4]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x230]
cmp r11, rsi
je 0x100007ccb
lea r9, [rsp + 0x12b0]
lea r8, [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x230]
call fcn.100006bbc
jmp 0x100007ce0
mov dword [rsp + 0x12b0], esi
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea rdx, [rsp + 0x440]
mov rcx, rax
call fcn.100006938
mov r15d, eax
mov dword [rsp + 0x64], eax
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002860]
mov ecx, 0x4000000
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x370
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
mov r12d, dword [rsp + 0x60]
mov r8d, r12d
lea rdx, [0x100002898]
mov ecx, 0x20000de
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x374
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov r15d, 0xd
mov dword [rsp + 0x64], r15d
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x1000026d8]
mov ecx, 0x20000dd
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r13, [0x100002458]
mov qword [rsp + 0x30], r13
lea r14, [0x100001df0]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x32f
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov r15d, 0xd
mov dword [rsp + 0x64], r15d
mov r12d, dword [rsp + 0x60]
jmp 0x100007e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov dword [rsp + 0x64], eax
lea r13, [0x100002458]
lea r14, [0x100001df0]
mov r12d, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r11d, eax
sub r11d, dword [rsp + 0x80]
mov eax, 0x10624dd3
mul r11d
shr edx, 6
mov r8d, edx
lea rdx, [0x1000028c0]
mov ecx, 0x40000d2
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x37b
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rcx, qword [rsp + 0x70]
cmp rcx, rsi
je 0x100007f1e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [rsp + 0x78], esi
je 0x100007f98
cmp r15d, esi
je 0x100007f52
cmp r15d, 0xb7
je 0x100007f52
call fcn.1000066b8
mov dword [rsp + 0x20], 0x41010
xor edx, edx
xor ecx, ecx
mov r9d, 0x1f6
lea r8d, [r9 + 6]
call fcn.10000c744
mov rcx, qword [0x1000152a8]
cmp rcx, rsi
je 0x100007f6f
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbf2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1000152a0]
cmp rcx, rsi
je 0x100007f98
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1000152a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1000152a0], rsi
sub r12d, 2
je 0x100008232
cmp r12d, 1
jne 0x100008237
cmp dword [rsp + 0x7c], esi
je 0x1000080db
mov dword [rsp + 0x650], esi
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0x654]
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x440]
lea r8, [0x1000028f0]
mov edx, 0x104
lea rcx, [rsp + 0x650]
call fcn.10000c3c4
lea r11, [rsp + 0x650]
cmp r11, rsi
je 0x10000807f
lea r8, [rsp + 0xc80]
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x650]
call fcn.1000083f0
cmp eax, esi
je 0x10000807f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002948]
mov ecx, 0x40000d4
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3ac
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
jmp 0x1000080db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002910]
mov ecx, 0x30000d3
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3a8
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
call fcn.100005bc8
call fcn.10000e94c
mov r15d, eax
cmp eax, esi
je 0x10000814b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
mov r8d, r15d
lea rdx, [0x100002980]
mov ecx, 0x30000f0
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3b4
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rax, qword [rsp + 0x90]
cmp rax, rsi
je 0x1000081c6
mov rcx, rax
call fcn.100005d84
cmp eax, esi
jne 0x100008237
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x1000029c0]
mov ecx, 0x20000e0
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3bb
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
jmp 0x100008237
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea r9, [0x1000029f8]
lea r8, [0x100002a08]
lea rdx, [0x100002a28]
mov ecx, 0x20000df
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3c3
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
jmp 0x100008237
call fcn.1000064e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rbx, rax
lea rdx, [0x100002a60]
mov ecx, 0x40000d5
call fcn.1000092e8
mov rcx, rax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3cc
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
call sub.WDSCORE.dll_WdsTerminate
mov eax, r15d
mov rcx, qword [rsp + 0x14c0]
xor rcx, rsp
call fcn.10000f390
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret