Function at 0x10004eaa0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x470
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x100190170]
xor rax, rsp
mov qword [rsp + 0x458], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
xor r12d, r12d
cmp word [rax], 0x22
jne 0x10004eb1d
add rbx, 2
movzx eax, word [rbx]
cmp ax, r12w
je 0x10004eb11
cmp ax, 0x22
je 0x10004eb17
add rbx, 2
mov ax, word [rbx]
cmp ax, r12w
jne 0x10004eafe
cmp word [rbx], 0x22
jne 0x10004eb2d
add rbx, 2
jmp 0x10004eb2d
cmp word [rax], 0x20
jbe 0x10004eb2d
add rbx, 2
cmp word [rbx], 0x20
ja 0x10004eb23
mov r14d, 1
lea r13, [0x10019a4f8]
movzx eax, word [rbx]
cmp ax, r12w
je 0x10004f8c7
cmp ax, 0x20
ja 0x10004eb5a
add rbx, 2
mov ax, word [rbx]
cmp ax, r12w
jne 0x10004eb47
cmp word [rbx], r12w
je 0x10004f8c7
mov bpl, r12b
cmp word [rbx], 0x2f
je 0x10004eb73
cmp word [rbx], 0x2d
jne 0x10004eb7a
mov bpl, r14b
add rbx, 2
lea r8, [0x100027db8]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004ec4a
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004ebec
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004ebf5
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004ec2d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x250], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027dc8]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004eccd
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004ecaf
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x264], r14b
cmp cl, r12b
je 0x10004ecc4
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027de0]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004ed50
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004ed32
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x265], r14b
cmp cl, r12b
je 0x10004ed47
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027df8]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004edd3
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004edb5
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x266], r14b
cmp cl, r12b
je 0x10004edca
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027e18]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004ee56
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004ee38
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x267], r14b
cmp cl, r12b
je 0x10004ee4d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027e30]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004eed9
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004eebb
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x268], r14b
cmp cl, r12b
je 0x10004eed0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027e48]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004ef5c
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004ef3e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x278], r14b
cmp cl, r12b
je 0x10004ef53
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027e68]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f02c
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004efce
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004efd7
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f00f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x25c], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027e78]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f0fc
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004f09e
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004f0a7
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f0df
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x260], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027e88]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f1cc
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004f16e
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004f177
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f1af
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x254], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027e98]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f29c
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004f23e
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004f247
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f27f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x258], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027ea8]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f3b6
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004f30e
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004f317
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004f32f
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcstod]
cvtsd2ss xmm6, xmm0
jmp 0x10004f337
movss xmm6, dword [0x100039748]
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f359
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x269], r14b
cmp cl, r12b
je 0x10004f36e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f390
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
movss dword [rdi + 0x26c], xmm6
cmp cl, r12b
je 0x10004f3a6
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movaps xmm1, xmm6
mov cl, r14b
call fcn.100056b70
jmp 0x10004eb3a
lea r8, [0x100027ed0]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f486
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004f428
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004f431
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f469
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x270], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027ef0]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f509
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f4eb
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x21c], r12b
cmp cl, r12b
je 0x10004f500
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027f10]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f58c
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f56e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x246], r14b
cmp cl, r12b
je 0x10004f583
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
lea r8, [0x100027f28]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rsi, rcx
movsxd rdi, ecx
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f65c
lea rbx, [rbx + rdi*2]
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0x3a
jne 0x10004f5fe
mov r8d, esi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.10004f904
mov rbx, qword [rsp + 0x20]
jmp 0x10004f607
mov word [rsp + 0x50], r12w
mov al, r12b
cmp al, r12b
je 0x10004eb3a
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
call fcn.10004e4d8
mov rsi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f63f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov dword [rsi + 0x274], edi
cmp cl, r12b
je 0x10004eb3a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10004eb3a
lea r8, [0x100027f38]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
movsxd rsi, ecx
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x10004f6df
call fcn.10004e4d8
mov rdi, rax
mov cl, byte [0x10019018a]
cmp cl, r12b
je 0x10004f6c1
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [0x10019018a]
mov byte [rdi + 0x27a], r14b
cmp cl, r12b
je 0x10004f6d6
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [rbx + rsi*2]
jmp 0x10004eb3a
cmp word [rbx], 0x22
jne 0x10004f7a4
lea r8, [rbx + 2]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
lea r11, [rsp + 0x50]
cmp word [rsp + 0x50], r12w
je 0x10004f71a
cmp word [r11], 0x22
je 0x10004f71a
add r11, 2
cmp word [r11], r12w
jne 0x10004f709
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
lea rbx, [rbx + rcx*2 + 2]
mov word [r11], r12w
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.10016e414
mov rdi, rax
mov qword [rsp + 0x28], rax
call fcn.10004e4d8
mov rsi, rax
cmp byte [0x10019018a], r12b
je 0x10004f773
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rsi + 0x280]
mov rdx, rdi
call fcn.10016e6f0
nop
cmp byte [0x10019018a], r12b
je 0x10004f796
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rdi + 0x10]
call sub.msvcrt.dll_free
jmp 0x10004eb3a
cmp bpl, r12b
jne 0x10004f866
mov r8, rbx
mov edx, 0x200
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
lea r11, [rsp + 0x50]
cmp word [rsp + 0x50], r12w
je 0x10004f7dd
cmp word [r11], 0x20
je 0x10004f7dd
add r11, 2
cmp word [r11], r12w
jne 0x10004f7cc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
lea rbx, [rbx + rcx*2]
mov word [r11], r12w
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.10016e414
mov rdi, rax
mov qword [rsp + 0x20], rax
call fcn.10004e4d8
mov rsi, rax
cmp byte [0x10019018a], r12b
je 0x10004f835
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rsi + 0x280]
mov rdx, rdi
call fcn.10016e6f0
nop
cmp byte [0x10019018a], r12b
je 0x10004f858
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rdi + 0x10]
call sub.msvcrt.dll_free
jmp 0x10004eb3a
mov r8, rbx
mov edx, 0x100
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_wcscpy_s
lea rdx, [rsp + 0x50]
cmp word [rsp + 0x50], r12w
je 0x10004f895
cmp word [rdx], 0x20
jbe 0x10004f895
add rdx, 2
cmp word [rdx], r12w
jne 0x10004f885
mov word [rdx], r12w
lea rdx, [rsp + 0x50]
lea rcx, [0x100027f40]
call fcn.10006021c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
lea rbx, [rbx + rcx*2]
jmp 0x10004eb3a
mov rcx, qword [rsp + 0x458]
xor rcx, rsp
call fcn.10017a260
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop r13
pop r12
ret