Function at 0x14000d3a0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7a8
mov rdi, qword [0x1400356b0]
mov r15, r8
movaps xmmword [rax - 0x58], xmm6
mov ebx, edx
movaps xmmword [rax - 0x68], xmm7
mov r14, rcx
movaps xmmword [rax - 0x78], xmm8
mov rcx, rdi
mov eax, 0x1e
cmp r8, rax
cmovb r15, rax
mov qword [rsp + 0x58], r15
lea rdx, [r15 + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
lea rdx, [rax + 0x10]
mov r10d, 1
mov dword [rax + 8], r10d
movzx ecx, byte [rdi + 2]
xor edi, edi
mov word [rax], cx
mov r13d, edi
lea rax, [rdx + 0x10]
mov qword [rdx], r15
mov qword [rdx + 8], rax
mov word [rax + r15], di
test byte [0x140033b18], r10b
mov rsi, qword [rdx + 8]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x68], rdi
jne 0x14000d568
lock bts qword [0x140033b18], 0x1f
jae 0x14000d469
test byte [0x140033b18], r10b
jne 0x14000d568
lea rcx, [0x140033b18]
call fcn.14000fa20
jmp 0x14000d562
mov r9d, 4
lea r8, [rsp + 0x78]
mov ecx, 0x400
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14000d4a8
mov rax, qword [rsp + 0x78]
test ax, ax
je 0x14000d4a8
movzx edx, word [0x140033b28]
cmp word [rsp + 0x7a], di
cmove dx, ax
mov word [0x140033b28], dx
mov r9d, 4
lea r8, [rsp + 0x78]
mov ecx, 0x400
lea edx, [r9 + 0xb]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14000d4e7
mov rax, qword [rsp + 0x78]
test ax, ax
je 0x14000d4e7
movzx ecx, word [0x140033b14]
cmp word [rsp + 0x7a], di
cmove cx, ax
mov word [0x140033b14], cx
cmp word [0x140033b28], 0x2e
je 0x14000d506
lea rdx, [0x14002ec80]
xor ecx, ecx
call fcn.140013c90
mov qword [0x140035100], rax
lock bts qword [0x140033b18], 0
jb 0x14000d562
mov rdi, qword [0x140033b20]
test rdi, rdi
je 0x14000d529
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rax, 0xfffffffffffffffe
lock xadd qword [0x140033b18], rax
shr rax, 1
and eax, 0x7fff
cmp rax, 1
jne 0x14000d560
test rdi, rdi
je 0x14000d560
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
xor edi, edi
mov qword [0x140033b20], rdi
jmp 0x14000d562
xor edi, edi
mov r10d, 1
movsd xmm8, qword [0x14002f098]
lea r9, [0x140000000]
movsd xmm6, qword [0x14002f090]
mov edx, 2
movsd xmm7, qword [0x14002f088]
jmp 0x14000d592
xor edi, edi
mov r8, r14
mov qword [rsp + 0x60], r14
dec ebx
mov qword [rbp - 0x60], r13
add r14, 0x20
mov dword [rbp + 0x6f8], ebx
mov qword [rbp + 0x6f0], r14
mov r12d, edi
mov r11d, dword [r8]
mov eax, r11d
and eax, 0x3f
cmp eax, 0xc
ja case.default.0x14000d5d3
cdqe
mov ecx, dword [r9 + rax*4 + 0xe968]
add rcx, r9
jmp rcx
lea rbx, [r13 + 2]
cmp r15, rbx
jae 0x14000d670
mov rdi, qword [0x1400356b0]
lea rax, [r15 + r15]
cmp rax, rbx
mov rsi, rax
mov rcx, rdi
cmovb rsi, rbx
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov ecx, 1
mov r8, r13
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rax + rsi], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000d65b
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov r8, qword [rsp + 0x60]
shr r13, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + r13*2]
movzx eax, word [r8 + 0x10]
mov r13, rbx
mov word [rsi], ax
add rsi, 2
mov qword [rsp + 0x68], rbx
jmp case.default.0x14000d5d3
mov rcx, qword [r8 + 0x10]
lea rax, [rcx + r13]
cmp r15, rax
jae 0x14000d72c
mov rdi, qword [0x1400356b0]
lea rax, [rcx + r13]
add r15, r15
mov rcx, rdi
cmp r15, rax
cmovb r15, rax
mov qword [rsp + 0x58], r15
lea rdx, [r15 + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov rsi, qword [rsp + 0x50]
mov ecx, 1
mov dword [rax + 8], ecx
mov r8, r13
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], r15
mov word [rax + r15], cx
mov rdx, qword [rsi + 8]
mov rcx, qword [rdi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000d714
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov rcx, r13
mov r8, qword [rsp + 0x60]
shr rcx, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + rcx*2]
mov r9, qword [rsp + 0x60]
mov rcx, rsi
mov r8, qword [r8 + 0x10]
mov rdx, qword [r9 + 0x18]
call fcn.1400109c0
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + 0x10]
shr rax, 1
add r13, qword [r8 + 0x10]
lea rsi, [rsi + rax*2]
jmp 0x14000e7d4
mov rcx, qword [r8 + 0x10]
call fcn.140006850
lea rbx, [rax + rax]
lea r14, [rbx + r13]
cmp r15, r14
jae 0x14000d7fe
mov rdi, qword [0x1400356b0]
lea rax, [rbx + r13]
add r15, r15
mov rcx, rdi
cmp r15, rax
cmovb r15, rax
mov qword [rsp + 0x58], r15
lea rdx, [r15 + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov rsi, qword [rsp + 0x50]
mov ecx, 1
mov dword [rax + 8], ecx
mov r8, r13
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], r15
mov word [r15 + rax], cx
mov rdx, qword [rsi + 8]
mov rcx, qword [rdi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000d7ee
call fcn.1400061b0
mov rax, qword [rdi + 8]
shr r13, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + r13*2]
mov r9, qword [rsp + 0x60]
mov r8, rbx
mov rcx, rsi
mov rdx, qword [r9 + 0x10]
call fcn.1400109c0
shr rbx, 1
mov r13, r14
mov qword [rsp + 0x68], r14
lea rsi, [rsi + rbx*2]
mov r8, qword [rsp + 0x60]
jmp case.default.0x14000d5d3
cmp r11d, 3
jne 0x14000d83b
mov r14, qword [r8 + 0x18]
mov rbx, qword [r8 + 0x10]
jmp 0x14000d84d
mov r14, qword [r8 + 0x10]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14000d843
mov r8d, ebx
lea rcx, [rbp + 0x700]
mov rdx, r14
call qword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js 0x14000d821
mov edx, dword [rbp + 0x700]
lea rax, [rdx + r13]
cmp r15, rax
jae 0x14000d90a
mov rdi, qword [0x1400356b0]
lea rax, [rdx + r13]
add r15, r15
mov rcx, rdi
cmp r15, rax
cmovb r15, rax
mov qword [rsp + 0x58], r15
lea rdx, [r15 + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov rsi, qword [rsp + 0x50]
mov ecx, 1
mov dword [rax + 8], ecx
mov r8, r13
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], r15
mov word [r15 + rax], cx
mov rdx, qword [rsi + 8]
mov rcx, qword [rdi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000d8f1
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov rcx, r13
mov edx, dword [rbp + 0x700]
shr rcx, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + rcx*2]
mov r9, r14
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js 0x14000d821
mov ecx, dword [rbp + 0x700]
mov eax, ecx
shr rax, 1
add r13, rcx
lea rsi, [rsi + rax*2]
jmp 0x14000e7cf
mov edi, dword [r8 + 0x10]
test edi, edi
jns 0x14000d94f
neg edi
mov r12d, r10d
jmp 0x14000d94f
mov edi, dword [r8 + 0x10]
mov r10d, 0xa
bt r11d, 8
jae 0x14000d96c
movzx ecx, byte [r8 + 0xa]
lea eax, [rcx - 2]
cmp al, 0x43
ja 0x14000d96c
movzx r10d, cl
mov eax, r11d
lea r9, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
and eax, 0x20000000
lea rbx, [rbp + 0x3ae]
lea rax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmove r9, rax
xor r15d, r15d
mov r14d, r15d
test edi, edi
je 0x14000da10
bt r11d, 0x10
jae 0x14000d9f2
mov r8d, r15d
xor edx, edx
mov eax, edi
div r10d
inc r14d
inc r8d
mov edi, eax
movsx ecx, byte [rdx + r9]
mov word [rbx], cx
sub rbx, 2
cmp r8d, 3
jne 0x14000d9da
test eax, eax
je 0x14000d9de
movzx eax, word [0x140033b14]
mov r8d, r15d
mov word [rbx], ax
sub rbx, 2
inc r14d
test edi, edi
jne 0x14000d9a1
mov r8, qword [rsp + 0x60]
mov edx, 1
test r12b, 1
je 0x14000da2d
mov ecx, edx
jmp 0x14000da3b
xor edx, edx
mov eax, edi
div r10d
inc r14d
mov edi, eax
movsx ecx, byte [rdx + r9]
mov word [rbx], cx
sub rbx, 2
test eax, eax
jne 0x14000d9f2
jmp 0x14000d9e3
mov eax, 0x30
lea rbx, [rbp + 0x3ac]
mov edx, 1
mov word [rbp + 0x3ae], ax
mov r14d, edx
jmp 0x14000d9e8
mov eax, r11d
mov ecx, r15d
and eax, 0x20000
cmovne ecx, edx
and r11d, 0x50000
cmp r11d, 0x40000
jne 0x14000da68
movzx edx, word [r8 + 6]
lea eax, [rcx + r14]
cmp eax, edx
jae 0x14000da68
mov eax, edx
or r12d, 4
sub eax, ecx
sub eax, r14d
mov dword [rbp - 0x80], eax
add ecx, eax
lea eax, [rcx + r14]
lea r15, [rax*2]
add r15, r13
cmp qword [rsp + 0x58], r15
jae 0x14000db17
mov rsi, qword [rsp + 0x58]
lea rax, [rax*2]
mov rdi, qword [0x1400356b0]
add rsi, rsi
add rax, r13
mov rcx, rdi
cmp rsi, rax
cmovb rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov ecx, 1
mov r8, r13
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rsi + rax], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000db07
call fcn.1400061b0
mov rax, qword [rdi + 8]
shr r13, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + r13*2]
test r12b, 1
je 0x14000db24
mov eax, 0x2d
jmp 0x14000db37
mov r9, qword [rsp + 0x60]
test dword [r9], 0x20000
je 0x14000db3e
mov eax, 0x2b
mov word [rsi], ax
add rsi, 2
test r12b, 4
je 0x14000db61
mov edx, dword [rbp - 0x80]
test rdx, rdx
je 0x14000db5d
mov eax, 0x30
mov rdi, rsi
movzx eax, ax
mov rcx, rdx
rep stosw word [rdi], ax
lea rsi, [rsi + rdx*2]
mov edi, r14d
lea rdx, [rbx + 2]
add rdi, rdi
mov rcx, rsi
mov r8, rdi
call fcn.1400109c0
mov r8, qword [rsp + 0x60]
add rsi, rdi
mov r13, r15
mov qword [rsp + 0x68], r15
jmp case.default.0x14000d5d3
mov rdi, qword [r8 + 0x10]
test rdi, rdi
jns 0x14000dba0
neg rdi
mov r12d, r10d
jmp 0x14000dba0
mov rdi, qword [r8 + 0x10]
mov ecx, 0xa
bt r11d, 8
jae 0x14000dbbb
movzx edx, byte [r8 + 0xa]
lea eax, [rdx - 2]
cmp al, 0x43
ja 0x14000dbbb
movzx ecx, dl
mov eax, r11d
lea r9, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
and eax, 0x20000000
lea rbx, [rbp + 0x3ae]
lea rax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
cmove r9, rax
xor r15d, r15d
mov r14d, r15d
test rdi, rdi
je 0x14000dc83
bt r11d, 0x10
jae 0x14000dc55
mov r8d, r15d
mov r10d, ecx
nop dword [rax + rax]
xor edx, edx
mov rax, rdi
div r10
inc r14d
inc r8d
mov rdi, rax
mov eax, edx
movsx ecx, byte [rax + r9]
mov word [rbx], cx
sub rbx, 2
cmp r8d, 3
jne 0x14000dc3e
test rdi, rdi
je 0x14000dc43
movzx eax, word [0x140033b14]
mov r8d, r15d
mov word [rbx], ax
sub rbx, 2
inc r14d
test rdi, rdi
jne 0x14000dc00
mov r8, qword [rsp + 0x60]
test r12b, 1
je 0x14000dc9b
mov ecx, 1
jmp 0x14000dcae
mov r8d, ecx
nop dword [rax + rax]
xor edx, edx
mov rax, rdi
div r8
inc r14d
mov rdi, rax
mov eax, edx
movsx ecx, byte [rax + r9]
mov word [rbx], cx
sub rbx, 2
test rdi, rdi
jne 0x14000dc60
jmp 0x14000dc43
mov eax, 0x30
lea rbx, [rbp + 0x3ac]
mov word [rbp + 0x3ae], ax
mov r14d, r10d
jmp 0x14000dc48
mov eax, r11d
mov ecx, r15d
and eax, 0x20000
mov eax, 1
cmovne ecx, eax
and r11d, 0x50000
cmp r11d, 0x40000
jne 0x14000dcdb
movzx edx, word [r8 + 6]
lea eax, [rcx + r14]
cmp eax, edx
jae 0x14000dcdb
mov eax, edx
or r12d, 4
sub eax, ecx
sub eax, r14d
mov dword [rbp - 0x7c], eax
add ecx, eax
lea eax, [rcx + r14]
lea r15, [rax*2]
add r15, r13
cmp qword [rsp + 0x58], r15
jae 0x14000dd8a
mov rsi, qword [rsp + 0x58]
lea rax, [rax*2]
mov rdi, qword [0x1400356b0]
add rsi, rsi
add rax, r13
mov rcx, rdi
cmp rsi, rax
cmovb rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov ecx, 1
mov r8, r13
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rsi + rax], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000dd7a
call fcn.1400061b0
mov rax, qword [rdi + 8]
shr r13, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + r13*2]
test r12b, 1
je 0x14000dd97
mov eax, 0x2d
jmp 0x14000ddaa
mov r9, qword [rsp + 0x60]
test dword [r9], 0x20000
je 0x14000ddb1
mov eax, 0x2b
mov word [rsi], ax
add rsi, 2
test r12b, 4
je 0x14000db61
mov edx, dword [rbp - 0x7c]
jmp 0x14000db47
test r11b, 0x40
je 0x14000dddb
movzx edx, word [r8 + 4]
mov eax, 0xa2
cmp edx, eax
jbe 0x14000dde0
mov edx, eax
jmp 0x14000dde0
mov edx, 6
mov cl, 0x66
bt r11d, 0xc
jae 0x14000dded
mov cl, 0x65
jmp 0x14000de00
mov eax, r11d
movzx ecx, cl
and eax, 0x2000
mov eax, 0x61
cmovne ecx, eax
movsd xmm0, qword [r8 + 0x10]
lea rbx, [rbp - 0x4f]
shr r11d, 0x1d
and r11d, 1
movsd qword [rbp - 0x78], xmm0
movsx ecx, cl
test r11b, 1
je 0x14000de23
sub ecx, 0x20
mov rax, qword [0x140035100]
lea r9, [rbp + 0x3b0]
mov qword [rsp + 0x40], rax
mov r8d, 0x3ff
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edx
lea rdx, [rbp - 0x4f]
mov dword [rsp + 0x28], ecx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], 0x15e
call fcn.14001549c
mov r9, qword [rsp + 0x60]
movzx edx, byte [rbp - 0x4f]
mov r8d, dword [r9]
bt r8d, 0xf
jae 0x14000dee7
movzx edi, word [0x140033b28]
lea rcx, [rbp - 0x4f]
test dl, dl
je 0x14000de94
movzx eax, dl
cmp al, dil
je 0x14000de94
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14000de84
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000dee5
movzx eax, byte [rcx]
test al, al
je 0x14000deb6
sub al, 0x45
test al, 0xdf
je 0x14000deb6
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14000dea5
mov rdx, rcx
dec rcx
cmp byte [rcx], 0x30
jne 0x14000dec9
dec rcx
cmp byte [rcx], 0x30
je 0x14000dec1
cmp byte [rcx], dil
jne 0x14000ded1
dec rcx
movzx eax, byte [rdx]
lea rcx, [rcx + 1]
inc rdx
mov byte [rcx], al
test al, al
jne 0x14000ded1
movzx edx, byte [rbp - 0x4f]
xor edi, edi
lea rax, [rbp - 0x4f]
or r15, 0xffffffffffffffff
nop
inc r15
cmp byte [rax + r15], 0
jne 0x14000def0
mov ecx, 1
cmp dl, 0x2d
jne 0x14000df10
mov r12d, ecx
lea rbx, [rbp - 0x4e]
dec r15d
jmp 0x14000df24
mov eax, r8d
mov r12d, edi
and eax, 0x20000
mov eax, 2
cmovne r12d, eax
mov eax, r8d
and eax, 0x13000
cmp eax, 0x10000
jne 0x14000e119
movzx eax, byte [rbx]
mov r14, rbx
sub al, 0x30
cmp al, 0xa
jae 0x14000df5e
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + 1]
inc r14
sub al, 0x30
cmp al, 0xa
jb 0x14000df50
mov r13d, r14d
sub r13d, ebx
je 0x14000df7c
lea ecx, [r13 + 2]
mov eax, 0xaaaaaaab
mul ecx
mov r10d, edx
shr r10d, 1
dec r10d
jmp 0x14000df7f
mov r10d, edi
lea eax, [r10 + r15]
mov dword [rbp + 0x708], r10d
add eax, eax
mov r8d, r12d
and r8d, 3
mov dword [rsp + 0x70], r8d
je 0x14000df9d
add eax, 2
mov r9, qword [rsp + 0x68]
mov ecx, eax
add rax, r9
cmp qword [rsp + 0x58], rax
jae 0x14000e056
mov rsi, qword [rsp + 0x58]
lea rax, [rcx + r9]
mov rdi, qword [0x1400356b0]
add rsi, rsi
cmp rsi, rax
mov rcx, rdi
cmovb rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov r8, qword [rsp + 0x68]
mov ecx, 1
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rax + rsi], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e032
call fcn.1400061b0
mov r9, qword [rsp + 0x68]
mov rax, qword [rdi + 8]
mov rcx, r9
mov r10d, dword [rbp + 0x708]
mov r8d, dword [rsp + 0x70]
shr rcx, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + rcx*2]
lea edi, [r13 + 2]
mov eax, 0xaaaaaaab
mul edi
mov ecx, r13d
shr edx, 1
lea eax, [rdx + rdx*2]
sub edi, eax
test r12b, 1
je 0x14000e078
mov eax, 0x2d
jmp 0x14000e083
test r12b, 2
je 0x14000e08a
mov eax, 0x2b
mov word [rsi], ax
add rsi, 2
test r13d, r13d
je 0x14000e0d6
mov r10d, 2
nop word [rax + rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rsi], ax
dec ecx
mov eax, edi
add rsi, r10
dec edi
test eax, eax
jne 0x14000e0cb
test ecx, ecx
je 0x14000e0cf
movzx eax, word [0x140033b14]
mov edi, r10d
mov word [rsi], ax
add rsi, r10
test ecx, ecx
jne 0x14000e0a0
mov r10d, dword [rbp + 0x708]
test r8d, r8d
je 0x14000e0e4
add r9, 2
mov qword [rsp + 0x68], r9
sub r15d, r13d
mov r8, rsi
mov edx, r15d
mov rcx, r14
mov edi, r15d
call fcn.1400071b0
lea ecx, [r10 + r13]
mov r13, qword [rsp + 0x68]
lea rax, [r15 + r15]
shr rax, 1
add rcx, rdi
lea rsi, [rsi + rax*2]
lea r13, [r13 + rcx*2]
jmp 0x14000e7cf
movzx eax, r12b
mov r14, rdi
and al, 3
cmovne r14, rcx
bt r8d, 0x12
jae 0x14000e151
movzx edx, word [r9 + 6]
mov ecx, r15d
lea rax, [rcx + r14]
cmp rax, rdx
jae 0x14000e151
mov eax, edx
or r12d, 4
sub rax, rcx
sub rax, r14
mov qword [rbp - 0x70], rax
add r14, rax
mov r15d, r15d
lea rcx, [r15 + r14]
lea rax, [rcx*2]
add rax, r13
cmp qword [rsp + 0x58], rax
jae 0x14000e206
mov rsi, qword [rsp + 0x58]
lea rax, [rcx*2]
mov rdi, qword [0x1400356b0]
add rsi, rsi
add rax, r13
mov rcx, rdi
cmp rsi, rax
cmovb rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov ecx, 1
mov r8, r13
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rax + rsi], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e1f3
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov rcx, r13
shr rcx, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + rcx*2]
test r12b, 1
je 0x14000e213
mov eax, 0x2d
jmp 0x14000e21e
test r12b, 2
je 0x14000e225
mov eax, 0x2b
mov word [rsi], ax
add rsi, 2
test r12b, 4
je 0x14000e249
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x14000e245
mov eax, 0x30
mov rdi, rsi
movzx eax, ax
mov rcx, rdx
rep stosw word [rdi], ax
lea rsi, [rsi + rdx*2]
mov rdx, r15
lea r13, [r13 + r14*2]
mov rcx, rsi
and rdx, 0xfffffffffffffffc
je 0x14000e28c
nop word [rax + rax]
movzx eax, byte [rbx]
mov word [rcx], ax
movzx eax, byte [rbx + 1]
mov word [rcx + 2], ax
movzx eax, byte [rbx + 2]
mov word [rcx + 4], ax
movzx eax, byte [rbx + 3]
add rbx, 4
mov word [rcx + 6], ax
add rcx, 8
sub rdx, 4
jne 0x14000e260
mov rax, r15
and eax, 3
sub rax, 1
je 0x14000e2be
sub rax, 1
je 0x14000e2b1
cmp rax, 1
jne 0x14000e2c4
movzx eax, byte [rbx]
mov word [rcx], ax
add rcx, 2
inc rbx
movzx eax, byte [rbx]
mov word [rcx], ax
add rcx, 2
inc rbx
movzx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [r15 + r15]
mov rax, rcx
shr rax, 1
add r13, rcx
lea rsi, [rsi + rax*2]
jmp 0x14000e7cf
mov rax, qword [r8 + 0x10]
xorps xmm0, xmm0
mov r15d, edi
cvtsi2sd xmm0, rax
test rax, rax
jns 0x14000e2f3
addsd xmm0, xmm8
jne 0x14000e3b3
mov r14, qword [rsp + 0x58]
lea rbx, [r13 + 2]
cmp r14, rbx
jae 0x14000e39a
mov rdi, qword [0x1400356b0]
lea rax, [r14 + r14]
cmp rax, rbx
mov r14, rax
mov rcx, rdi
cmovb r14, rbx
mov qword [rsp + 0x58], r14
lea rdx, [r14 + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov rsi, qword [rsp + 0x50]
mov ecx, 1
mov dword [rax + 8], ecx
mov r8, r13
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], r14
mov word [rax + r14], cx
mov rdx, qword [rsi + 8]
mov rcx, qword [rdi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e385
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov r8, qword [rsp + 0x60]
shr r13, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + r13*2]
mov eax, 0x30
mov qword [rsp + 0x68], rbx
mov word [rsi], ax
mov r13, rbx
add rsi, 2
jmp case.default.0x14000d5d3
bt r11d, 8
jae 0x14000e3c1
movzx eax, byte [r8 + 0xa]
jmp 0x14000e3c4
or eax, 0xffffffff
comisd xmm0, xmm6
jb 0x14000e3e8
nop word [rax + rax]
cmp r15d, 7
jae 0x14000e3e8
cmp r15d, eax
jae 0x14000e3e8
mulsd xmm0, xmm7
inc r15d
comisd xmm0, xmm6
jae 0x14000e3d0
test r11b, 0x40
je 0x14000e3f5
movzx eax, word [r8 + 4]
jmp 0x14000e3f7
mov eax, edx
movzx ecx, ax
lea r9, [rbp + 0x510]
mov eax, 0xa2
movsd qword [rbp - 0x68], xmm0
cmp ecx, eax
mov dword [rbp + 0x708], edi
mov r8d, 0x3ff
lea rdx, [rbp - 0x4f]
cmova ecx, eax
lea r12, [rbp - 0x4f]
mov rax, qword [0x140035100]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x68]
mov dword [rsp + 0x28], 0x66
mov qword [rsp + 0x20], 0x15e
call fcn.14001549c
movzx edx, byte [rbp - 0x4f]
lea rcx, [rbp - 0x4f]
movzx edi, word [0x140033b28]
test dl, dl
je 0x14000e480
movzx eax, dl
nop dword [rax]
cmp al, dil
je 0x14000e480
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14000e470
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000e4d4
movzx eax, byte [rcx]
test al, al
je 0x14000e4a2
sub al, 0x45
test al, 0xdf
je 0x14000e4a2
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14000e491
mov rdx, rcx
dec rcx
cmp byte [rcx], 0x30
jne 0x14000e4b8
nop dword [rax]
dec rcx
cmp byte [rcx], 0x30
je 0x14000e4b0
cmp byte [rcx], dil
jne 0x14000e4c0
dec rcx
movzx eax, byte [rdx]
lea rcx, [rcx + 1]
inc rdx
mov byte [rcx], al
test al, al
jne 0x14000e4c0
movzx edx, byte [rbp - 0x4f]
lea rax, [rbp - 0x4f]
or r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x14000e4e0
cmp dl, 0x2d
jne 0x14000e506
mov eax, 1
lea r12, [rbp - 0x4e]
mov r9d, eax
mov dword [rbp + 0x708], eax
dec r14d
jmp 0x14000e50d
mov r9d, dword [rbp + 0x708]
movzx eax, byte [r12]
mov rbx, r12
sub al, 0x30
cmp al, 0xa
jae 0x14000e52d
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
sub al, 0x30
cmp al, 0xa
jb 0x14000e520
mov r13d, ebx
sub r13d, r12d
je 0x14000e54b
lea ecx, [r13 + 2]
mov eax, 0xaaaaaaab
mul ecx
mov r10d, edx
shr r10d, 1
dec r10d
jmp 0x14000e550
xor eax, eax
mov r10d, eax
lea eax, [r10 + r14]
mov dword [rsp + 0x70], r10d
add eax, eax
mov r8d, r9d
and r8d, 3
mov dword [rsp + 0x74], r8d
je 0x14000e56c
add eax, 2
mov r11, qword [rsp + 0x68]
mov ecx, eax
add rax, r11
cmp qword [rsp + 0x58], rax
jae 0x14000e62a
mov rsi, qword [rsp + 0x58]
lea rax, [rcx + r11]
mov rdi, qword [0x1400356b0]
add rsi, rsi
cmp rsi, rax
mov rcx, rdi
cmovb rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov r8, qword [rsp + 0x68]
mov ecx, 1
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rsi + rax], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e601
call fcn.1400061b0
mov r11, qword [rsp + 0x68]
mov rax, qword [rdi + 8]
mov rcx, r11
mov r10d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x74]
mov r9d, dword [rbp + 0x708]
shr rcx, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + rcx*2]
lea edi, [r13 + 2]
mov eax, 0xaaaaaaab
mul edi
mov ecx, r13d
shr edx, 1
lea eax, [rdx + rdx*2]
sub edi, eax
test r9b, 1
je 0x14000e64c
mov eax, 0x2d
jmp 0x14000e657
test r9b, 2
je 0x14000e65e
mov eax, 0x2b
mov word [rsi], ax
add rsi, 2
test r13d, r13d
je 0x14000e6a7
mov r10d, 2
nop dword [rax]
movsx eax, byte [r12]
lea r12, [r12 + 1]
mov word [rsi], ax
dec ecx
mov eax, edi
add rsi, r10
dec edi
test eax, eax
jne 0x14000e69e
test ecx, ecx
je 0x14000e6a2
movzx eax, word [0x140033b14]
mov edi, r10d
mov word [rsi], ax
add rsi, r10
test ecx, ecx
jne 0x14000e670
mov r10d, dword [rsp + 0x70]
test r8d, r8d
je 0x14000e6b0
add r11, 2
sub r14d, r13d
mov r8, rsi
mov edx, r14d
mov rcx, rbx
mov edi, r14d
call fcn.1400071b0
lea rax, [r14 + r14]
shr rax, 1
lea ecx, [r10 + r13]
add rcx, rdi
lea r12, [0x140000000]
lea rbx, [rsi + rax*2]
mov esi, r15d
mov r15, qword [rsp + 0x58]
lea r14, [r11 + rcx*2]
add rsi, rsi
lea rax, [r14 + 2]
mov rcx, qword [r12 + rsi*8 + 0x33b30]
add rax, rcx
cmp r15, rax
jae 0x14000e794
mov rdi, qword [0x1400356b0]
lea rax, [rcx + 2]
add rax, r14
add r15, r15
cmp r15, rax
mov rcx, rdi
cmovb r15, rax
mov qword [rsp + 0x58], r15
lea rdx, [r15 + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov rbx, qword [rsp + 0x50]
mov ecx, 1
mov dword [rax + 8], ecx
mov r8, r14
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], r15
mov word [r15 + rax], cx
mov rdx, qword [rbx + 8]
mov rcx, qword [rdi + 8]
call fcn.1400109c0
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e781
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov rcx, r14
shr rcx, 1
mov qword [rsp + 0x50], rdi
lea rbx, [rax + rcx*2]
mov eax, 0x20
lea rcx, [rbx + 2]
mov word [rbx], ax
mov r8, qword [r12 + rsi*8 + 0x33b30]
mov rdx, qword [r12 + rsi*8 + 0x33b38]
call fcn.1400109c0
mov rcx, qword [r12 + rsi*8 + 0x33b30]
lea rax, [rcx + 2]
shr rax, 1
lea r13, [rcx + 2]
add r13, r14
lea rsi, [rbx + rax*2]
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x68], r13
mov r14, r13
sub r14, qword [rbp - 0x60]
test dword [r8], 0xc0000000
je 0x14000e8fe
movzx ebx, word [r8 + 6]
add rbx, rbx
cmp r14, rbx
jae 0x14000e8fe
mov rax, qword [rsp + 0x58]
sub rbx, r14
lea r12, [rbx + r13]
cmp rax, r12
jae 0x14000e8a0
mov rdi, qword [0x1400356b0]
add rax, rax
cmp rax, r12
mov rsi, rax
mov rcx, rdi
cmovb rsi, r12
mov qword [rsp + 0x58], rsi
lea rdx, [rsi + 0x12]
call fcn.1400060d0
lock inc dword [rdi + 4]
mov ecx, 1
mov r8, r13
mov dword [rax + 8], ecx
movzx ecx, byte [rdi + 2]
lea rdi, [rax + 0x10]
mov word [rax], cx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rdi], rsi
mov word [rsi + rax], cx
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
call fcn.1400109c0
lea rcx, [rsi - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e88b
call fcn.1400061b0
mov rax, qword [rdi + 8]
mov r8, qword [rsp + 0x60]
shr r13, 1
mov qword [rsp + 0x50], rdi
lea rsi, [rax + r13*2]
mov eax, dword [r8]
test al, al
jns 0x14000e8ae
movzx r15d, word [r8 + 8]
jmp 0x14000e8b4
mov r15d, 0x20
test eax, eax
jns 0x14000e8c2
shr rbx, 1
je 0x14000e8f2
mov rdi, rsi
jmp 0x14000e8e8
mov rax, r14
shr rbx, 1
shr rax, 1
mov rdi, rsi
add rax, rax
mov r8, r14
sub rdi, rax
mov rdx, rdi
lea rcx, [rdi + rbx*2]
call fcn.1400109c0
test rbx, rbx
je 0x14000e8f2
mov rcx, rbx
movzx eax, r15w
rep stosw word [rdi], ax
lea rsi, [rsi + rbx*2]
mov qword [rsp + 0x68], r12
mov r13, r12
mov ebx, dword [rbp + 0x6f8]
lea r9, [0x140000000]
mov r15, qword [rsp + 0x58]
mov edx, 2
mov r14, qword [rbp + 0x6f0]
lea r10d, [rdx - 1]
test ebx, ebx
jne 0x14000d590
mov rax, qword [rsp + 0x50]
lea r11, [rsp + 0x7a8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rcx, qword [rax + 8]
mov qword [rax], r13
shr r13, 1
xor edx, edx
mov word [rcx + r13*2], dx
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret