Function at 0x18000bfe0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1d8
mov dword [rsp + 0x178], 0x67
mov dword [rsp + 0x6c], 0xa947
movzx eax, byte [0x1800a61b0]
mov byte [rsp + 0x24], al
mov dword [rsp + 0x54], 0x3e
movsx ax, byte [0x1800a603e]
mov word [rsp + 0x30], ax
movzx eax, byte [0x1800a617c]
mov byte [rsp + 0x26], al
movzx eax, word [0x1800a61a8]
mov qword [rsp + 0x128], rax
movzx eax, byte [0x1800a603d]
mov word [rsp + 0x5c], ax
movsx rax, byte [0x1800a6067]
mov qword [rsp + 0x130], rax
movzx eax, word [0x1800a61d8]
mov word [rsp + 0x50], ax
movzx eax, word [0x1800a6174]
mov byte [rsp + 0x35], al
movzx eax, word [0x1800a6168]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x1800a617c]
mov byte [rsp + 0x4d], al
movzx eax, byte [0x1800a6066]
mov byte [rsp + 0x34], al
mov dword [rsp + 0x80], 0x9d
movzx eax, byte [0x1800a61e4]
mov byte [rsp + 0x3c], al
mov eax, 0x18f4
mov word [rsp + 0x44], ax
movzx eax, byte [0x1800a603c]
mov word [rsp + 0x40], ax
mov dword [rsp + 0x60], 0x93653d6f
movsx rax, word [0x1800a6170]
mov qword [rsp + 0x148], rax
mov eax, 0x7004
mov word [rsp + 0x58], ax
movabs rax, 0x825a995a5ac99
mov qword [rsp + 0x190], rax
mov eax, dword [0x1800a61e0]
mov word [rsp + 0x38], ax
movzx eax, word [0x1800a61b8]
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x25], 0xc3
mov byte [rsp + 0x70], 0x6c
movzx eax, byte [0x1800a603c]
mov word [rsp + 0x108], ax
mov rax, qword [0x1800a6150]
mov word [rsp + 0x10c], ax
movzx eax, byte [str.p_tException_during_c]
mov byte [rsp + 0x71], al
mov rax, qword [0x1800a61d0]
mov qword [rsp + 0x198], rax
mov byte [rsp + 0x72], 0x23
mov rax, qword [0x1800a6190]
mov qword [rsp + 0x1a0], rax
movsx eax, word [0x1800a6178]
mov dword [rsp + 0x17c], eax
mov dword [rsp + 0x180], 0x56
movabs rax, 0x7483db1ece866
mov qword [rsp + 0x1a8], rax
movzx eax, word [rsp + 0x38]
sub rax, qword [0x1800a61b0]
sub rax, 0xb5
test rax, rax
jne 0x18000c1b4
mov dword [rsp + 0x94], 1
jmp 0x18000c1bf
mov dword [rsp + 0x94], 0
mov rax, qword [0x1800a61c0]
sub rax, 0x885c
test rax, rax
jne 0x18000c1de
mov dword [rsp + 0x90], 1
jmp 0x18000c1e9
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x94]
xor ecx, eax
mov eax, ecx
mov word [rsp + 0x50], ax
mov rax, qword [0x1800a6150]
shr rax, 4
mov qword [0x1800a6150], rax
mov eax, dword [0x1800a77a0]
mov dword [rsp + 0x7c], eax
movsx eax, word [0x1800a61a4]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, word [rsp + 0x58]
cwde
mov ecx, dword [0x1800a61bc]
cmp eax, ecx
je 0x18000c23d
jmp 0x18000c283
movsx eax, byte [0x1800a6077]
test eax, eax
jne 0x18000c283
movzx eax, word [rsp + 0x2c]
cwde
movzx ecx, byte [rsp + 0x24]
movzx ecx, cl
add eax, ecx
movzx ecx, word [rsp + 0x2c]
movsx ecx, cx
sub ecx, eax
mov eax, ecx
mov word [rsp + 0x2c], ax
mov eax, 4
imul rax, rax, 0x25
lea rcx, [0x1802a97d0]
movzx eax, byte [rcx + rax]
mov byte [0x1800a6027], al
mov eax, dword [rsp + 0x7c]
add eax, 0x3c8
mov dword [rsp + 0x114], eax
movsx eax, byte [str.p_tException_during_c]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov word [rsp + 0x38], ax
mov eax, dword [rsp + 0x7c]
add eax, 0x1de
mov dword [rsp + 0x120], eax
movsx eax, byte [0x1800a603e]
mov ecx, dword [0x1800a61e0]
sub ecx, eax
mov eax, ecx
mov dword [0x1800a61e0], eax
mov eax, dword [rsp + 0x7c]
add eax, 0x2d0
mov dword [rsp + 0x110], eax
movsx eax, word [0x1800a617c]
test eax, eax
jne 0x18000c2f6
mov dword [rsp + 0x98], 1
jmp 0x18000c301
mov dword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x34]
movzx eax, al
imul eax, dword [rsp + 0x98]
movzx ecx, word [rsp + 0x2c]
movsx ecx, cx
movzx edx, byte [rsp + 0x34]
movzx edx, dl
imul ecx, edx
not ecx
xor eax, ecx
test eax, eax
jne 0x18000c33a
mov qword [rsp + 0x138], 1
jmp 0x18000c346
mov qword [rsp + 0x138], 0
mov rax, qword [rsp + 0x138]
mov qword [0x1800a6160], rax
mov qword [0x1800a6180], 3
mov rax, qword [0x1800a6180]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x18000c3ac
cmp qword [rsp + 0x100], 1
je 0x18000c462
cmp qword [rsp + 0x100], 2
je 0x18000c476
cmp qword [rsp + 0x100], 3
je 0x18000c4a4
jmp 0x18000c4c8
cmp qword [rsp + 0x88], 0
jne 0x18000c3c5
mov qword [rsp + 0x140], 1
jmp 0x18000c3d1
mov qword [rsp + 0x140], 0
mov eax, dword [0x1800a61bc]
test eax, eax
jne 0x18000c3e8
mov dword [rsp + 0xa0], 1
jmp 0x18000c3f3
mov dword [rsp + 0xa0], 0
movzx eax, word [rsp + 0x50]
movzx eax, ax
test eax, eax
jne 0x18000c40c
mov dword [rsp + 0x9c], 1
jmp 0x18000c417
mov dword [rsp + 0x9c], 0
mov rax, qword [0x1800a61c8]
add rax, qword [rsp + 0x140]
mov ecx, dword [0x1800a618c]
imul ecx, dword [0x1800a618c]
mov ecx, ecx
xor rax, rcx
mov ecx, dword [rsp + 0x9c]
mov edx, dword [rsp + 0xa0]
xor edx, ecx
mov ecx, edx
movzx edx, word [rsp + 0x30]
movsx edx, dx
xor ecx, edx
movsxd rcx, ecx
and rax, rcx
mov dword [0x1800a618c], eax
jmp 0x18000c4c8
mov rax, qword [0x1800a61d8]
shr rax, 7
mov dword [rsp + 0x80], eax
jmp 0x18000c4c8
movzx eax, byte [0x1800a603c]
sub eax, 0x69
cdqe
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
jmp 0x18000c4c8
movsx rax, word [0x1800a611c]
movzx ecx, byte [rsp + 0x24]
movzx ecx, cl
movabs rdx, 0x80b00fa5809ca
add rcx, rdx
add rax, rcx
mov byte [rsp + 0x24], al
mov eax, 0xbcff64f0
mov rcx, qword [rsp + 0x130]
sub rcx, rax
mov rax, rcx
movzx ecx, word [0x1800a61b8]
sub rcx, rax
mov rax, rcx
mov word [0x1800a61b8], ax
movzx eax, word [0x1800a61b8]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
movzx eax, word [rsp + 0x40]
test eax, eax
je 0x18000c531
movzx eax, word [rsp + 0x40]
mov dword [rsp + 0xa4], eax
jmp 0x18000c53e
mov eax, dword [0x1800a6188]
mov dword [rsp + 0xa4], eax
movzx eax, byte [rsp + 0xa4]
mov byte [rsp + 0x24], al
mov dword [rsp + 0x28], 0
jmp 0x18000c55e
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 8
jae 0x18000c6b8
movzx eax, byte [0x1800a608b]
movzx eax, al
movzx ecx, word [rsp + 0x2c]
movsx ecx, cx
cmp eax, ecx
jl 0x18000c5c5
movzx eax, word [rsp + 0x58]
cwde
movsx ecx, word [0x1800a611c]
cmp eax, ecx
jle 0x18000c5c3
movsx eax, byte [0x1800a6067]
movzx ecx, word [rsp + 0x30]
movsx ecx, cx
sub eax, ecx
not eax
cdqe
mov rcx, qword [0x1800a61b0]
add rcx, rax
mov rax, rcx
movzx ecx, byte [0x1800a603c]
xor rax, rcx
mov word [0x1800a6170], ax
jmp 0x18000c5f3
movsx eax, word [0x1800a61a4]
mov ecx, dword [0x1800a6188]
sub eax, ecx
mov word [0x1800a61a4], ax
mov eax, 4
imul rax, rax, 6
lea rcx, [0x1802a97d0]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x25], al
mov eax, dword [rsp + 0x28]
shl eax, 2
mov eax, eax
mov ecx, dword [rsp + 0x28]
shl ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x1f8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 1]
mov eax, eax
mov ecx, dword [rsp + 0x28]
lea ecx, [rcx*4 + 1]
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x1f8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 2]
mov eax, eax
mov ecx, dword [rsp + 0x28]
lea ecx, [rcx*4 + 2]
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x1f8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 3]
mov eax, eax
mov ecx, dword [rsp + 0x28]
lea ecx, [rcx*4 + 3]
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x1f8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x18000c554
imul rax, qword [0x1800a6190], 0xf6
mov byte [0x1800a603c], al
movzx eax, word [rsp + 0x38]
movabs rcx, 0x14ea150b82564
add rax, rcx
mov word [0x1800a617c], ax
mov dword [rsp + 0x28], 8
jmp 0x18000c6f6
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x3c
jae 0x18000d5cd
mov eax, dword [0x1800a61bc]
mov eax, eax
cmp rax, qword [0x1800a6160]
jne 0x18000c71f
mov dword [rsp + 0xac], 1
jmp 0x18000c72a
mov dword [rsp + 0xac], 0
movzx eax, byte [rsp + 0x25]
movzx eax, al
not eax
cdqe
cmp rax, qword [rsp + 0x128]
jne 0x18000c74d
mov dword [rsp + 0xa8], 1
jmp 0x18000c758
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0xac], eax
jne 0x18000c775
mov dword [rsp + 0xb8], 1
jmp 0x18000c780
mov dword [rsp + 0xb8], 0
cmp qword [0x1800a61b0], 0
je 0x18000c7a4
mov rax, qword [rsp + 0x148]
test rax, rax
je 0x18000c7a4
mov dword [rsp + 0xb0], 1
jmp 0x18000c7af
mov dword [rsp + 0xb0], 0
movzx eax, word [rsp + 0x40]
not eax
cmp dword [rsp + 0xb0], eax
jne 0x18000c7cc
mov dword [rsp + 0xb4], 1
jmp 0x18000c7d7
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
cmp dword [rsp + 0xb8], eax
jge 0x18000c7ec
jmp 0x18000c929
mov rax, qword [0x1800a6150]
test rax, rax
je 0x18000c80f
cmp dword [rsp + 0x80], 0
je 0x18000c80f
mov dword [rsp + 0xbc], 1
jmp 0x18000c81a
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
not eax
test eax, eax
je 0x18000c845
mov eax, dword [0x1800a6188]
test eax, eax
je 0x18000c845
mov eax, dword [0x1800a61e4]
shl eax, 6
mov byte [0x1800a6067], al
jmp 0x18000c929
movsx eax, byte [0x1800a6067]
test eax, eax
je 0x18000c887
movzx eax, byte [0x1800a603c]
mov rcx, qword [0x1800a6190]
sub rcx, rax
mov rax, rcx
mov qword [0x1800a6190], rax
movzx eax, word [rsp + 0x30]
cwde
movzx ecx, byte [0x1800a6066]
movzx ecx, cl
sub eax, ecx
mov word [rsp + 0x30], ax
jmp 0x18000c929
movabs rax, 0xccd30955a19d0
xor ecx, ecx
cmp rcx, rax
je 0x18000c929
mov rax, qword [0x1800a6198]
not rax
mov ecx, dword [rsp + 0x6c]
movsxd rcx, ecx
add rax, rcx
test rax, rax
jne 0x18000c8c3
mov qword [rsp + 0x158], 1
jmp 0x18000c8cf
mov qword [rsp + 0x158], 0
cmp qword [0x1800a6190], 0
jne 0x18000c8e7
mov qword [rsp + 0x150], 1
jmp 0x18000c8f3
mov qword [rsp + 0x150], 0
mov rax, qword [0x1800a6180]
sub rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
sub rcx, rax
mov rax, rcx
mov ecx, dword [0x1800a6168]
mov rdx, qword [0x1800a6198]
sub rcx, rdx
add rax, rcx
mov byte [0x1800a603f], al
mov dword [0x1800a6188], 0x87f6
mov eax, dword [0x1800a6188]
mov ecx, dword [rsp + 0x54]
add ecx, 0x87f6
cmp eax, ecx
jne 0x18000c9d2
mov rax, qword [0x1800a6150]
movzx ecx, byte [rsp + 0x24]
movzx ecx, cl
add ecx, 0xbb9e
movsxd rcx, ecx
cmp rax, rcx
jne 0x18000c9d2
mov rax, qword [rsp + 0x128]
mov rcx, qword [0x1800a61c0]
and rcx, rax
mov rax, rcx
movsx ecx, word [0x1800a61a4]
not ecx
movsx edx, byte [0x1800a6077]
sub ecx, edx
movsxd rcx, ecx
add rax, rcx
not rax
mov word [rsp + 0x40], ax
jmp 0x18000c9d2
mov dword [0x1800a6188], 0x87f6
movsx eax, byte [str.p_tException_during_c]
movsx ecx, word [0x1800a617c]
sub eax, ecx
movsx ecx, byte [str.p_tException_during_c]
add ecx, eax
mov eax, ecx
mov byte [str.p_tException_during_c], al
mov rax, qword [0x1800a61d0]
mov rcx, qword [0x1800a6160]
add rcx, rax
mov rax, rcx
mov rcx, qword [0x1800a6160]
and rcx, rax
mov rax, rcx
mov qword [0x1800a6160], rax
movzx eax, byte [rsp + 0x25]
movzx eax, al
mov rcx, qword [0x1800a61c8]
imul rcx, rax
mov rax, rcx
mov qword [0x1800a61c8], rax
movzx eax, word [rsp + 0x30]
cwde
movzx ecx, word [0x1800a616c]
movsx ecx, cx
cmp eax, ecx
jg 0x18000ca63
mov dword [rsp + 0xc4], 1
jmp 0x18000ca6e
mov dword [rsp + 0xc4], 0
movzx eax, word [rsp + 0x30]
cwde
cmp eax, 0x51
jg 0x18000ca86
mov dword [rsp + 0xc0], 1
jmp 0x18000ca91
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0xc4], eax
jl 0x18000cabf
mov eax, dword [0x1800a77a0]
mov dword [0x1800a61bc], eax
movzx eax, word [rsp + 0x44]
cwde
imul eax, eax, 0xe7
mov byte [rsp + 0x26], al
jmp 0x18000cad3
mov rax, qword [rsp + 0x190]
add rax, 0xa5
mov byte [0x1800a6027], al
mov eax, dword [0x1800a77a0]
mov dword [rsp + 0x74], eax
movzx eax, word [0x1800a616c]
cwde
movsx ecx, byte [0x1800a603e]
cmp eax, ecx
jl 0x18000cafd
mov dword [rsp + 0xcc], 1
jmp 0x18000cb08
mov dword [rsp + 0xcc], 0
movzx eax, word [0x1800a616c]
cwde
cmp eax, 0x12
jl 0x18000cb22
mov dword [rsp + 0xc8], 1
jmp 0x18000cb2d
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xc8]
mov eax, dword [rsp + 0x74]
add eax, 0x2c6
mov dword [rsp + 0x64], eax
movsx eax, word [0x1800a61a4]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
movzx eax, byte [0x1800a6027]
movsx eax, al
sub eax, 0x2f7d
mov word [rsp + 0x40], ax
mov eax, dword [rsp + 0x74]
add eax, 0x278
mov dword [rsp + 0xd0], eax
movsx rax, word [0x1800a6178]
cmp qword [0x1800a61d0], rax
je 0x18000cb8b
jmp 0x18000cbbd
movzx eax, byte [rsp + 0x34]
movzx eax, al
mov ecx, dword [0x1800a61bc]
add ecx, eax
mov eax, ecx
mov dword [0x1800a61bc], eax
mov eax, 1
imul rax, rax, 0x10
lea rcx, [0x180378250]
movzx edx, byte [0x1800a61b0]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x74]
add eax, 0x346
mov dword [rsp + 0x184], eax
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0xd0]
sub eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, 0x2f2
xor eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, 0x39b
mov edx, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0x64]
sub edx, r8d
sub ecx, edx
cmp eax, ecx
je 0x18000ccee
mov eax, dword [0x1800a61bc]
mov eax, eax
movabs rcx, 0x9a4417bc619b9
add rax, rcx
movzx ecx, word [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov word [rsp + 0x38], ax
movzx eax, word [0x1800a616c]
cwde
add eax, 0xca
movsx ecx, word [0x1800a611c]
xor ecx, eax
mov eax, ecx
mov word [0x1800a611c], ax
movzx eax, byte [rsp + 0x26]
sub eax, 0xae43
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 - 4]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x1f0]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x20], al
mov eax, dword [rsp + 0x48]
inc eax
mov eax, eax
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x1f0]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x20], al
mov eax, dword [rsp + 0x48]
add eax, 2
mov eax, eax
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x1f0]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x20], al
mov eax, dword [rsp + 0x48]
add eax, 3
mov eax, eax
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x1f0]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x20], al
mov eax, dword [rsp + 0x120]
mov ecx, dword [rsp + 0x110]
or eax, ecx
mov ecx, dword [rsp + 0x114]
mov edx, 0x3e
sub edx, ecx
mov ecx, edx
add ecx, 0x17f
cmp eax, ecx
je 0x18000d195
lea rax, [rsp + 0x1b0]
lea rcx, str.._AVJsonPrimitiveB
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [rsp + 0x50], ax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 8
div ecx
mov eax, edx
test eax, eax
jne 0x18000d195
movzx eax, byte [rsp + 0x25]
movzx eax, al
mov ecx, 4
imul rcx, rcx, 0x263c
lea rdx, [0x18033aa20]
mov dword [rdx + rcx], eax
mov eax, 1
imul rax, rax, 0x6f4e
lea rcx, [0x180325f80]
movzx eax, byte [rcx + rax]
mov ecx, dword [0x1800a618c]
and ecx, eax
mov eax, ecx
mov dword [0x1800a618c], eax
mov byte [0x1800a603f], 0x70
movsx eax, byte [0x1800a603f]
mov ecx, dword [rsp + 0x54]
add ecx, 0x4df04870
cmp eax, ecx
jne 0x18000cdfe
movzx eax, word [0x1800a61a8]
movzx ecx, byte [rsp + 0x26]
movabs rdx, 0x687403f3be363
add rcx, rdx
cmp rax, rcx
jne 0x18000cdfe
jmp 0x18000cdfe
mov byte [0x1800a603f], 0x70
mov byte [rsp + 0x35], 2
mov eax, dword [0x1800a77a0]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
add eax, 0xc3
mov dword [rsp + 0x188], eax
movsx eax, word [0x1800a617c]
mov ecx, dword [0x1800a61bc]
cmp eax, ecx
jae 0x18000ce42
mov dword [rsp + 0xd8], 1
jmp 0x18000ce4d
mov dword [rsp + 0xd8], 0
movsx eax, word [0x1800a617c]
cmp eax, 0x3f
jge 0x18000ce66
mov dword [rsp + 0xd4], 1
jmp 0x18000ce71
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
cmp dword [rsp + 0xd8], eax
jne 0x18000ce83
jmp 0x18000cec6
movzx eax, byte [rsp + 0x26]
mov ecx, dword [0x1800a6188]
add ecx, eax
mov eax, ecx
test eax, eax
je 0x18000cec6
mov rax, qword [0x1800a6150]
sub rax, 0x31c419c9
mov dword [0x1800a618c], eax
movzx eax, word [rsp + 0x44]
movsx rax, ax
mov ecx, 8
imul rcx, rcx, 0x3a
lea rdx, [0x180378280]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x78]
add eax, 0x368
mov dword [rsp + 0x118], eax
movzx eax, byte [0x1800a603c]
test eax, eax
je 0x18000cee3
jmp 0x18000cef5
movsx eax, word [0x1800a611c]
add eax, 0xc0bb5abd
mov byte [0x1800a603d], al
mov eax, dword [rsp + 0x78]
add eax, 0x146
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0xdc]
mov ecx, dword [rsp + 0x118]
imul eax, ecx
mov ecx, dword [rsp + 0xdc]
cmp eax, ecx
je 0x18000d195
movzx eax, word [0x1800a61ac]
movzx eax, ax
movzx ecx, word [rsp + 0x30]
movsx ecx, cx
cmp eax, ecx
jge 0x18000cf48
mov dword [rsp + 0xe4], 1
jmp 0x18000cf53
mov dword [rsp + 0xe4], 0
movsx eax, word [0x1800a61a4]
test eax, eax
jne 0x18000cf6c
mov qword [rsp + 0x160], 1
jmp 0x18000cf78
mov qword [rsp + 0x160], 0
mov rax, qword [rsp + 0x130]
cmp qword [rsp + 0x160], rax
je 0x18000cf97
mov dword [rsp + 0xe0], 1
jmp 0x18000cfa2
mov dword [rsp + 0xe0], 0
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0xe4], eax
jge 0x18000cfc4
movzx eax, word [rsp + 0x5c]
dec eax
cdqe
mov qword [0x1800a6198], rax
jmp 0x18000cfd0
movzx eax, word [0x1800a77a0]
mov word [rsp + 0x2c], ax
movzx eax, byte [rsp + 0x35]
movsx eax, al
test eax, eax
je 0x18000cffb
movzx eax, byte [0x1800a603c]
imul eax, eax, 0x50
mov word [0x1800a6170], ax
mov eax, 0x9bdea364
mov qword [0x1800a6148], rax
jmp 0x18000d041
cmp qword [rsp + 0x88], 0
je 0x18000d041
movsx eax, word [0x1800a6178]
mov ecx, dword [0x1800a6168]
sub ecx, eax
mov eax, ecx
mov dword [0x1800a6168], eax
movzx eax, word [0x1800a61ac]
movzx eax, ax
add eax, 0xc0
movzx ecx, word [0x1800a6174]
movsx ecx, cx
sub ecx, eax
mov eax, ecx
mov word [0x1800a6174], ax
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsp + 0x4c], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsp + rcx + 0x20], al
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 1
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsp + rcx + 0x20], al
mov eax, 1
imul rax, rax, 3
mov ecx, 1
imul rcx, rcx, 2
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsp + rcx + 0x20], al
mov eax, 1
imul rax, rax, 3
movzx ecx, byte [rsp + 0x4c]
mov byte [rsp + rax + 0x20], cl
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 0
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 1
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 2
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 3
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x20]
mov dword [rsp + 0x11c], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 8
div ecx
mov eax, eax
lea rcx, [0x180086780]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x11c]
xor ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x20], al
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 8
div ecx
mov eax, edx
cmp eax, 4
jne 0x18000d245
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 0
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 1
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 2
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x20]
lea rcx, str.cw
mov edx, 1
imul rdx, rdx, 3
movzx eax, byte [rcx + rax]
mov byte [rsp + rdx + 0x20], al
movzx eax, byte [rsp + 0x25]
movzx eax, al
test eax, eax
je 0x18000d25d
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [rsp + 0x54], eax
jmp 0x18000d2d4
movsx eax, word [0x1800a61a0]
test eax, eax
je 0x18000d275
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0xe8], eax
jmp 0x18000d281
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0xe8], eax
movzx eax, word [rsp + 0xe8]
mov word [rsp + 0x2c], ax
movzx eax, byte [rsp + 0x35]
movsx eax, al
test eax, eax
jne 0x18000d2a8
mov qword [rsp + 0x168], 1
jmp 0x18000d2b4
mov qword [rsp + 0x168], 0
mov rax, qword [0x1800a61b0]
not rax
mov rcx, qword [rsp + 0x168]
imul rcx, rax
mov rax, rcx
mov word [0x1800a61a8], ax
mov eax, dword [rsp + 0x28]
shl eax, 2
mov dword [rsp + 0x68], eax
mov qword [0x1800a61c0], 0x40
movsx rax, word [0x1800a6170]
mov ecx, dword [rsp + 0x54]
movabs rdx, 0x687403f3be363
add rcx, rdx
cmp rax, rcx
jne 0x18000d437
movzx eax, word [rsp + 0x30]
movsx rax, ax
mov rcx, qword [0x1800a6198]
add rcx, rax
mov rax, rcx
cmp rax, 1
jne 0x18000d437
call qword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
mov eax, eax
mov qword [0x1800a6190], rax
cmp qword [0x1800a6190], 0
je 0x18000d34a
jmp 0x18000d41f
movzx eax, word [rsp + 0x2c]
cwde
test eax, eax
je 0x18000d41f
movzx eax, word [rsp + 0x44]
inc ax
mov word [rsp + 0x44], ax
mov rax, qword [0x1800a6180]
test rax, rax
jne 0x18000d37e
mov dword [rsp + 0xf4], 1
jmp 0x18000d389
mov dword [rsp + 0xf4], 0
movzx eax, word [rsp + 0x44]
cwde
test eax, eax
jne 0x18000d3a0
mov dword [rsp + 0xec], 1
jmp 0x18000d3ab
mov dword [rsp + 0xec], 0
movzx eax, word [rsp + 0x5c]
test eax, eax
jne 0x18000d3c1
mov dword [rsp + 0xf0], 1
jmp 0x18000d3cc
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xec]
imul eax, dword [rsp + 0xf0]
test eax, eax
jne 0x18000d3ec
mov dword [rsp + 0xf8], 1
jmp 0x18000d3f7
mov dword [rsp + 0xf8], 0
movsx eax, byte [str.p_tException_during_c]
sub eax, dword [rsp + 0xf4]
movzx ecx, byte [0x1800a603c]
and eax, ecx
imul eax, dword [rsp + 0xf8]
cdqe
mov qword [0x1800a61d0], rax
jmp 0x18000d2df
mov eax, 1
mov word [0x1800a6178], ax
movsx eax, word [0x1800a6178]
xor eax, 0x23d8db93
cdqe
mov qword [0x1800a6148], rax
mov rax, qword [0x1800a61d8]
add rax, 0xed
mov byte [rsp + 0x4d], al
movsx eax, word [0x1800a6178]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
je 0x18000d48d
cmp dword [rsp + 0x84], 1
je 0x18000d4a0
jmp 0x18000d4dd
movzx eax, word [0x1800a616c]
inc ax
mov word [0x1800a616c], ax
jmp 0x18000d4dd
mov rax, qword [0x1800a61c8]
test rax, rax
je 0x18000d4be
movzx eax, byte [rsp + 0x24]
movzx eax, al
mov qword [rsp + 0x170], rax
jmp 0x18000d4ce
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [0x1800a61c8], rax
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 - 0x20]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov eax, eax
mov rcx, qword [rsp + 0x1f0]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
movzx ecx, byte [rsp + rcx + 0x20]
xor eax, ecx
mov ecx, dword [rsp + 0x68]
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x48]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x1f0]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
movzx ecx, byte [rsp + rcx + 0x20]
xor eax, ecx
mov ecx, dword [rsp + 0x68]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x48]
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x1f0]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x20]
xor eax, ecx
mov ecx, dword [rsp + 0x68]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x48]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x1f0]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 3
movzx ecx, byte [rsp + rcx + 0x20]
xor eax, ecx
mov ecx, dword [rsp + 0x68]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x1f0]
mov byte [rdx + rcx], al
jmp 0x18000c6ec
mov eax, 0xe363
mov word [0x1800a61a8], ax
movzx eax, byte [rsp + 0x26]
movabs rcx, 0x1353c96ddbd22
add rax, rcx
cmp qword [0x1800a61c0], rax
jne 0x18000d656
movzx eax, byte [rsp + 0x24]
movzx eax, al
mov rcx, qword [0x1800a61c0]
add rcx, rax
mov rax, rcx
cmp rax, 1
jne 0x18000d656
jmp 0x18000d5cd
xor eax, eax
add rsp, 0x1d8
pop rdi
pop rsi
ret