Function at 0x18002105c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2218]
mov eax, 0x22f0
call fcn.18002fd60
sub rsp, rax
mov rax, qword [0x180053d28]
xor rax, rsp
mov qword [rbp + 0x21e0], rax
mov rax, qword [0x180053828]
xor edi, edi
mov word [rsp + 0x50], ax
mov eax, dword [0x180053830]
mov dword [rsp + 0x78], 0x4f3d076
mov dword [rsp + 0x6c], eax
lea r9d, [rdi + 0x29]
mov rsi, qword [0x1800537e0]
movzx eax, word [0x180053814]
movzx r12d, byte [0x180053830]
mov word [rsp + 0x54], ax
mov eax, 0x31
mov dword [rbp - 0x60], eax
mov eax, dword [0x180053800]
mov word [rsp + 0x64], ax
mov eax, 0x661a
movsxd r15, dword [0x1800537f4]
mov word [rsp + 0x58], ax
mov eax, 0xffffbc41
mov word [rsp + 0x5c], ax
mov ebx, dword [0x1800537f4]
mov eax, dword [0x180053820]
mov dword [rbp - 0x80], 0x7f
mov dword [rbp - 0x70], eax
mov al, byte [0x1800537f0]
mov byte [rsp + 0x58], al
movzx eax, byte [0x18005371f]
mov dword [rsp + 0x70], eax
movzx eax, word [0x180053850]
mov dword [rsp + 0x70], 0xf19256a7
mov dword [rsp + 0x70], 0xc6ce5133
mov dword [rsp + 0x70], 0x1e47
mov word [rsp + 0x58], ax
movzx eax, word [0x180053818]
mov eax, 0xc4680af6
mov qword [rbp + 0x30], r8
mov byte [rbp - 0x34], dl
xor r8d, r8d
mov dword [rbp - 0x6c], ecx
mov rdx, 0xffffffffffff97ed
mov rcx, r15
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x48], 0xaa53
mov qword [rbp - 0x58], r15
mov qword [rsp + 0x20], rdi
call fcn.180027200
cmp ax, 0x1d
mov qword [rbp - 0x28], rax
mov rdx, rax
lea r14d, [rdi + 1]
mov ecx, edi
mov eax, edi
setle cl
test dx, dx
setle al
cmp eax, ecx
je 0x1800211fb
cmp dword [0x180053830], edi
jne 0x1800211c0
mov eax, dword [0x18005381c]
movzx eax, word [rsp + 0x5c]
mov ecx, edi
movsx eax, word [0x18005379c]
cmp eax, ecx
je 0x180021242
mov eax, dword [0x1800536f4]
sub eax, r14d
mov dword [0x1800536f4], eax
movsx ecx, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5c]
add ecx, 0xfffffb21
and ax, cx
mov word [rsp + 0x5c], ax
jmp 0x180021242
movsx eax, dx
not eax
test eax, eax
je 0x180021214
mov eax, dword [rsp + 0x6c]
add eax, 0x6a
mov qword [0x180053848], rax
jmp 0x180021242
movzx eax, word [rsp + 0x50]
cmp r15, 0x5e8fbd1c
jle 0x180021242
movzx eax, byte [0x18005374b]
mov dword [0x18005380c], eax
movzx eax, byte [0x180053733]
imul ecx, eax, 0x8e
add byte [0x18005371f], cl
mov eax, dword [0x180b88880]
movzx ecx, dx
sub cx, word [0x1800537fc]
mov r15d, edi
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x70]
add eax, 0x5913
mov eax, dword [rbp - 0x80]
cmove r15w, cx
mov ecx, 0x4df
xor ax, cx
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x18]
movzx ecx, word [0x1800537b4]
add eax, 0x400
add word [0x1800537f8], si
add cx, cx
mov dword [rsp + 0x74], eax
mov rax, qword [0x1800537e0]
add ax, cx
mov word [0x1800537b4], ax
mov eax, dword [rbp - 0x18]
add eax, 0xfa
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x18]
add eax, 0xc8
mov dword [rbp - 0x68], eax
mov eax, 0xaf34
and si, ax
movzx eax, word [rsp + 0x54]
movzx ecx, word [0x180053810]
or si, ax
mov eax, dword [0x180b88880]
mov word [rsp + 0x54], si
mov dword [rbp - 0x18], eax
mov eax, 0x5fe9
imul ecx, eax
imul eax, dword [0x180053814], 0xcb53649e
mov word [rsp + 0x58], cx
mov dword [0x1800537f0], eax
mov eax, dword [rbp - 0x18]
add eax, 0xa0
mov dword [rbp - 0x3c], eax
mov eax, 0x7d3a
add eax, r12d
mov word [0x180053840], ax
mov eax, dword [rbp - 0x18]
add eax, 0x3e9
mov dword [rsp + 0x68], eax
mov eax, dword [rbp - 0x18]
add eax, 0xa2
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x180021346
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMenu]
call qword [sym.imp.USER32.dll_EndMenu]
mov eax, dword [0x180b88880]
mov ecx, edi
cmp word [rbp - 0x28], di
mov dword [rbp - 8], eax
mov edx, dword [rbp - 0x80]
sete cl
mov r8d, dword [0x180053800]
inc edx
movzx eax, word [0x1800537f8]
add edx, ecx
mov ecx, dword [0x180053814]
add r8d, 0x71d02ba
add ecx, 0xffff9906
imul r8d, edx
xor ecx, eax
movzx eax, byte [0x1800537dc]
imul esi, eax, 0x16
not ecx
mov eax, dword [rbp - 8]
add eax, 0x46b
sub ecx, r8d
mov dword [0x18005380c], ecx
mov dword [rbp - 0x18], eax
mov eax, 0x31
cmp ax, word [0x180053834]
mov dword [rbp - 0x7c], esi
jae 0x1800213e2
mov rax, qword [0x1800537e0]
sub eax, 0x5042e213
mov dword [rsp + 0x6c], eax
movsx rax, byte [0x180c0b49d]
mov rcx, qword [0x180053828]
and rcx, rax
mov qword [0x180053828], rcx
jmp 0x1800213f5
mov eax, dword [0x1800537f4]
mov ecx, 0x6600
sub ax, cx
mov word [rsp + 0x5c], ax
mov eax, dword [rbp - 8]
mov ecx, edi
dec dword [rbp - 0x70]
add eax, 0x11d
mov dword [rbp - 0x30], eax
mov edx, edi
movzx r8d, word [rsp + 0x64]
movzx eax, bx
add eax, dword [0x18005383c]
movzx eax, word [rsp + 0x58]
sete cl
xor r8w, cx
mov rcx, qword [rbp - 0x58]
sub rcx, rax
movzx eax, r8w
cmp rcx, 0x1e481e3f
sete dl
movzx ecx, dx
imul ecx, eax
mov eax, dword [rbp - 8]
add eax, 0x1ba
mov word [0x180053834], cx
xor ecx, ecx
mov dword [rsp + 0x70], eax
mov eax, dword [0x180b88880]
mov dword [rbp - 8], eax
call fcn.18002773c
mov dword [rsp + 0x6c], eax
mov cl, r15b
mov eax, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x6c]
mov eax, dword [rbp - 8]
sub cl, byte [0x18005380c]
add eax, 0x31b
mov dword [rbp - 0x64], eax
movzx eax, word [rsp + 0x50]
movzx edx, word [rsp + 0x58]
sub cl, al
mov eax, dword [rsp + 0x78]
add dl, cl
mov rcx, qword [0x1800537e8]
add dl, r14b
mov al, dil
add cl, al
mov eax, dword [0x1800537f4]
add al, cl
movzx ecx, dl
movzx edx, al
imul edx, ecx
not dl
mov byte [0x18005374b], dl
mov dword [rsp + 0x6c], 0xa0d9
mov eax, dword [rbp - 8]
add eax, 0xa1c5
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 8]
add eax, 0x6fb3
mov dword [rsp + 0x70], eax
mov eax, dword [0x1800536f4]
test eax, eax
je 0x180021506
cmp dword [0x180053850], edi
mov ecx, 0xaa53
movsx rax, word [0x1800537b4]
mov esi, dword [rbp - 0x70]
cmovne rcx, rax
mov qword [0x1800537e0], rcx
jmp 0x180021513
movzx esi, sil
add esi, 0x9c71
mov dword [rbp - 0x70], esi
movsx rcx, word [0x180053844]
call fcn.18002773c
mov dword [0x18005383c], eax
test eax, eax
jns 0x180021540
mov rcx, qword [0x1800537e8]
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov word [0x18005378c], ax
jmp 0x180021560
cmp word [0x18005379c], di
je 0x18002155a
mov eax, 0x12c0
mov word [rsp + 0x5c], r14w
mov word [rbp - 0x74], ax
jmp 0x180021560
mov al, byte [0x18005371e]
mov edx, dword [rbp - 0x68]
mov eax, dword [rsp + 0x74]
add edx, eax
mov r8d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x74]
xor r8d, eax
mov ecx, dword [rbp - 0x40]
mov eax, dword [rbp - 0x64]
xor ecx, eax
imul r8d, edx
xor ecx, 0xa2de
mov edx, edi
add ecx, r8d
mov dword [rbp + 0x10], ecx
mov ecx, dword [0x1800536f4]
mov eax, dword [rsp + 0x6c]
cmp eax, ecx
mov eax, dword [rsp + 0x6c]
mov ecx, edi
setb dl
cmp edx, ecx
ja 0x1800215d2
movzx eax, word [0x180053820]
mov ecx, 0x4720
sub ax, cx
mov ecx, dword [0x18005383c]
inc ecx
mov word [0x180053808], ax
add ecx, dword [0x1800537dc]
mov dword [rsp + 0x78], ecx
jmp 0x1800215eb
mov eax, esi
not eax
cmp eax, r12d
ja 0x1800215e0
test bx, bx
je 0x1800215eb
mov eax, dword [0x18005381c]
mov word [rsp + 0x5c], ax
mov eax, dword [0x180b88880]
mov esi, 0x691d
add si, word [0x180053820]
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
add eax, 0x8e23
mov dword [rsp + 0x70], eax
mov ecx, dword [0x180053734]
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
movsx r8d, r15w
mov edx, 0x103
mov word [0x18005379c], ax
mov eax, dword [rbp - 8]
add eax, 0x14d
mov qword [rbp + 8], 0xffffffffffff94c0
mov dword [rsp + 0x74], eax
mov eax, dword [rbp - 8]
add eax, 0xcd
mov dword [rbp - 0x68], eax
mov rax, qword [0x180053828]
mov r9d, dword [0x1800537f0]
add eax, 0x37df
mov dword [rsp + 0x6c], eax
test r9d, r9d
mov ecx, edi
mov eax, edi
sete cl
cmp ecx, r8d
sete al
mov dword [0x180053734], eax
sub rdx, r14
jne 0x18002165e
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x60]
xor ecx, eax
mov eax, dword [rsp + 0x68]
mov edx, dword [rbp - 0x3c]
mov r8d, dword [rsp + 0x68]
sub edx, eax
imul edx, ecx
xor r8d, 0x69
imul r8d, edx
mov edx, dword [rbp - 0x68]
mov eax, dword [rsp + 0x74]
add edx, eax
mov eax, dword [rsp + 0x74]
add eax, 0xa7
imul eax, edx
sub eax, r8d
sub eax, 0x41abe
mov dword [rbp - 0x50], eax
mov ecx, dword [0x180053800]
movsx eax, word [0x18005379c]
add ecx, eax
mov eax, dword [0x180053800]
add eax, ecx
mov dword [0x180053800], eax
movzx eax, word [rsp + 0x58]
mov word [0x180beb660], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x74], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x180021743
mov ecx, dword [0x180053734]
mov edx, edi
movsx eax, byte [0x180053733]
cmp eax, ecx
mov ecx, dword [rsp + 0x78]
movzx eax, byte [rbp - 0x7c]
setg dl
imul ecx, eax
cmp ecx, edx
je 0x18002173f
mov eax, dword [0x18005374c]
sub eax, dword [0x18005380c]
mov dword [0x18005374c], eax
movzx eax, word [rsp + 0x64]
sar ax, 3
mov byte [0x18005374b], al
jmp 0x180021743
mov byte [rbp - 0x7c], 2
mov eax, dword [rsp + 0x74]
xor r9d, r9d
movsx r8, word [0x1800537b4]
add eax, 0x142
mov dword [rbp - 8], eax
mov edx, dword [0x180053838]
lea ecx, [r9 + 0x15]
mov qword [rsp + 0x20], 0xb4
call fcn.180027200
mov r8d, dword [rbp - 0x7c]
mov rcx, rax
cmp rcx, 0x48
mov qword [rbp - 0x20], rax
mov eax, edi
setae al
cmp eax, r14d
jae 0x1800217b4
movzx eax, word [0x180053818]
test ax, ax
je 0x1800217ce
add word [0x18005379c], 0xffcf
mov ecx, 0x7259
movzx eax, r8b
add ax, cx
mov word [0x180053808], ax
jmp 0x1800217ce
mov eax, dword [0x1800536f4]
test eax, eax
je 0x1800217ce
movsx eax, word [rbp - 0x74]
imul ecx, eax, 0x10a9
mov dword [0x1800536f4], ecx
mov eax, dword [rsp + 0x74]
mov edx, edi
add eax, 0x297
mov ecx, edi
mov dword [rbp + 0x18], eax
mov r9d, 0x3a
movsx rax, word [0x180053818]
cmp rax, qword [rbp - 0x58]
movzx eax, word [0x180053818]
setle dl
cmp ax, r9w
setle cl
cmp edx, ecx
jbe 0x180021814
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov word [0x180053818], ax
jmp 0x18002188e
mov ecx, dword [0x180053800]
movzx eax, r8b
cmp ecx, eax
jl 0x18002183b
movsx ecx, word [rsp + 0x50]
mov r15d, 0x3310
sub cx, word [0x180ba7104]
mov word [rsp + 0x50], cx
jmp 0x18002188e
mov eax, dword [rbp - 0x80]
mov edx, edi
movzx eax, word [rsp + 0x64]
movsx ecx, word [0x18005378c]
test ax, ax
sete dl
add ecx, edx
not ecx
cmp ecx, r14d
je 0x180021868
movsx eax, word [rsp + 0x5c]
mov dword [0x180053850], eax
jmp 0x18002188e
movzx eax, word [0x180053818]
mov word [rsp + 0x54], ax
mov ecx, dword [0x180053838]
mov eax, dword [rsp + 0x6c]
movzx edx, ax
movzx eax, cx
imul eax, edx
mov word [0x1800537f8], ax
mov eax, dword [rsp + 0x74]
add eax, 0x41a
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov edx, edi
mov dword [rsp + 0x7c], eax
mov r8d, 0x45
mov eax, dword [0x180b88880]
mov dword [rsp + 0x74], eax
mov ecx, dword [0x180053734]
movzx eax, word [0x1800537f8]
cmp ecx, eax
mov eax, dword [0x180053734]
mov ecx, edi
setne dl
cmp eax, r8d
setne cl
cmp edx, ecx
je 0x1800218ea
call qword [sym.imp.USER32.dll_IsWow64Message]
mov dword [0x180053734], eax
mov eax, dword [rsp + 0x74]
mov ecx, 0x2ad
add eax, 0x35e
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x78]
sub dword [0x180053830], eax
mov eax, dword [rsp + 0x74]
add eax, 0x223
mov dword [rbp + 0x14], eax
mov rax, qword [0x1800537e0]
add rax, r14
mov qword [0x1800537e0], rax
sub rcx, r14
jne 0x180021912
mov eax, dword [rsp + 0x74]
mov ecx, 0xd4
add eax, 0xbc
movsx edx, r15w
mov dword [rbp], eax
mov r8d, 0x34
mov eax, dword [0x1800537f4]
mov eax, dword [0x180b88880]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
movsx r9d, word [0x1800537fc]
add eax, 0x3b0
mov dword [rbp - 0x38], eax
call fcn.180027320
mov dword [0x1800537dc], eax
test eax, eax
jne 0x180021993
call qword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov eax, dword [0x180b88880]
mov qword [0x180053848], rax
mov qword [rbp - 0x58], 0x62
jmp 0x1800219dc
movsx rax, word [0x180053844]
mov edx, edi
mov r8, qword [rbp - 0x58]
cmp rax, r8
mov eax, dword [0x1800537f4]
setne dl
cmp eax, edx
je 0x1800219b7
mov byte [rbp - 0x7c], 2
jmp 0x1800219dc
movzx eax, word [0x18005378c]
cmp r15w, ax
je 0x1800219dc
movzx eax, word [rbp - 0x20]
movsx ecx, word [0x180053818]
xor ax, r8w
cwde
imul eax, ecx
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x74]
add eax, 0x338
mov dword [rbp - 0x64], eax
movzx eax, word [0x180053844]
test ax, ax
je 0x180021a01
mov eax, dword [0x180053734]
mov ecx, r14d
test eax, eax
jne 0x180021a03
mov ecx, edi
movzx eax, word [0x180053844]
mov r8d, edi
test ax, ax
mov edx, edi
movsx eax, word [0x1800537fc]
sete r8b
cmp r8d, eax
setl dl
cmp ecx, edx
jb 0x180021a66
mov ecx, 0xbc
call fcn.18002773c
mov qword [rbp - 0x28], rax
test ax, ax
jne 0x180021a94
mov eax, dword [0x18005383c]
shl eax, 2
movsxd rcx, eax
mov qword [0x180053848], rcx
movsx ecx, byte [0x180053733]
movzx eax, word [rsp + 0x58]
xor ecx, 0x73
or ax, cx
mov word [rsp + 0x58], ax
jmp 0x180021a94
test si, si
je 0x180021a84
movsx eax, word [rsp + 0x50]
movsx edx, word [rbp - 0x28]
mov ecx, dword [rsp + 0x6c]
not edx
add eax, edx
add eax, ecx
mov qword [rbp - 0x58], rax
jmp 0x180021a94
mov eax, dword [0x18005374c]
movzx eax, word [0x180b88880]
mov dword [rbp - 0x74], eax
mov eax, dword [rsp + 0x74]
mov esi, 0x204
add eax, 0x25a
mov r13, 0xffffffffffff94c0
mov dword [rbp - 0x3c], eax
mov eax, 0xa6e
add ax, word [0x1800537b4]
mov ecx, dword [rbp - 0x80]
imul ecx, dword [rsp + 0x7c]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp - 0x80]
sub eax, ecx
mov ecx, 0x6d76
mov dword [rbp - 0x80], eax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x74], eax
movzx eax, word [rbp - 0x70]
sub ax, cx
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x74]
add eax, 0x109
mov dword [rbp - 0x68], eax
mov eax, 4
mov qword [0x180053858], rax
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindow]
mov word [0x180053844], ax
sub rsi, r14
jne 0x180021afe
mov eax, dword [rsp + 0x74]
add eax, 0x184
mov dword [rsp + 0x70], eax
mov eax, dword [0x180053734]
cmp eax, r13d
movsxd r13, dword [rbp - 0x6c]
je 0x180021b42
mov ecx, 0xaa53
call qword [sym.imp.USER32.dll_IsZoomed]
mov esi, eax
mov qword [rbp - 0x48], rsi
jmp 0x180021b47
mov esi, 0xaa53
mov eax, dword [rsp + 0x74]
lea rcx, [rbp + 0x2078]
movups xmm0, xmmword [str.EndpointHelper::Ge]
add eax, 0x28b
movups xmm1, xmmword [0x18003c950]
mov dword [rbp - 0x40], eax
mov eax, dword [0x18003c960]
mov dword [rbp + 0x2098], eax
movzx eax, word [0x18003c964]
mov word [rbp + 0x209c], ax
movups xmmword [rbp + 0x2078], xmm0
movups xmmword [rbp + 0x2088], xmm1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, byte [0x18005374b]
mov edx, edi
cmp cx, word [0x1800537f8]
mov dword [0x18005380c], eax
mov eax, dword [0x180b88880]
setae dl
cmp cl, 0x47
mov dword [rsp + 0x74], eax
mov eax, edi
setae al
cmp edx, eax
jne 0x180021be6
cmp qword [0x180053820], rdi
je 0x180021be6
movzx eax, byte [rbp - 0x7c]
mov ecx, 0x706a
sub ax, cx
mov word [rbp - 0x28], ax
movzx eax, word [rsp + 0x50]
sub bx, ax
mov eax, dword [rsp + 0x74]
add eax, 0x1ff
mov dword [rbp - 0x10], eax
mov eax, dword [0x18005374c]
test eax, eax
je 0x180021d23
mov edx, dword [0x18005381c]
mov r9b, 0x24
xor r8d, r8d
xor ecx, ecx
call fcn.1800275ec
movsx r8d, al
mov ecx, edi
cmp r8d, 0x1d
mov qword [rbp + 8], r8
mov eax, edi
setle cl
test r8w, r8w
setle al
cmp eax, ecx
je 0x180021c41
mov r15, qword [rbp - 0x58]
add bx, bx
add bx, r15w
jmp 0x180021d44
movzx eax, word [0x180053840]
movzx eax, word [rsp + 0x54]
test ax, ax
je 0x180021c7f
cmp byte [0x180053733], dil
je 0x180021c7f
mov rax, qword [0x180053828]
mov ecx, 0x6791
movzx ebx, r8w
sub bx, cx
imul ecx, eax, 0xf682c607
mov dword [0x18005380c], ecx
jmp 0x180021d40
mov eax, dword [0x1800537f4]
test eax, eax
je 0x180021cb4
cmp byte [0x180053733], dil
jne 0x180021cb4
movzx eax, word [rsp + 0x58]
mov ecx, 0x6f90
sub ax, cx
mov word [0x1800537f8], ax
mov eax, 0x148c
mov word [rbp - 0x74], ax
jmp 0x180021d40
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180021cc4
cmp word [0x180053804], di
jne 0x180021d40
movzx eax, word [0x180053834]
test r15w, r15w
mov r15, qword [rbp - 0x58]
mov ecx, edi
sete cl
cmp eax, ecx
ja 0x180021d44
imul eax, esi, 0xb3de4b80
add dword [0x180053810], eax
mov eax, dword [rsp + 0x78]
test eax, eax
movzx eax, word [rsp + 0x5c]
mov ecx, dword [0x18005374c]
sete dl
not cl
add dl, r8b
sub cl, byte [0x1800537fc]
sub dl, al
movzx eax, word [0x180053844]
sub cl, al
movzx eax, dl
movzx ecx, cl
imul ecx, eax
mov byte [0x18005371f], cl
jmp 0x180021d44
cmp word [rbp - 0x5c], di
jne 0x180021d31
cmp dword [0x1800537f0], edi
je 0x180021d40
movzx eax, word [rbp - 0x74]
shl ax, 3
mov word [0x1800537f8], ax
mov r15, qword [rbp - 0x58]
mov eax, dword [rsp + 0x74]
add eax, 0x219
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x180021d68
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSystemMenu]
movzx ecx, word [0x1800537f8]
mov eax, 0x45
cmp cx, ax
mov edx, edi
mov eax, edi
sete dl
test cx, cx
sete al
cmp eax, edx
jne 0x180021d9b
lea rcx, str.gdi32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x180053810], eax
mov eax, dword [rsp + 0x74]
mov ecx, edi
mov r9d, dword [rbp - 0x7c]
add eax, 0x1b8
mov dword [rsp + 0x70], eax
mov edx, 0x31
mov eax, dword [0x1800536f4]
movzx r8d, r9b
cmp r8d, eax
mov eax, edi
setg cl
cmp r9b, dl
seta al
cmp ecx, eax
ja 0x180021e0d
movzx eax, word [rsp + 0x54]
mov esi, dword [rsp + 0x7c]
test ax, ax
je 0x180021dff
mov eax, dword [0x180053800]
lea ecx, [rsi + 6]
and dword [0x180053814], eax
mov rax, qword [0x180053828]
add rcx, rax
mov qword [0x180053828], rcx
jmp 0x180021e51
mov eax, dword [rsp + 0x78]
imul r15, rax
mov qword [rbp - 0x58], r15
jmp 0x180021e51
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x180021f17
movsx ecx, word [rsp + 0x5c]
movzx eax, byte [0x18005374b]
not ecx
mov edx, dword [0x180053814]
sub edx, eax
mov eax, dword [rsp + 0x6c]
add edx, ecx
sub dx, ax
mov word [rsp + 0x64], dx
mov eax, dword [0x180053800]
imul eax, r15d
mov dword [0x180053800], eax
mov esi, dword [rsp + 0x7c]
movzx eax, bx
mov ecx, 6
mov dword [0x180053850], eax
mov qword [rbp + 0x20], rdi
movzx eax, word [rsp + 0x54]
add ax, r14w
mov word [rsp + 0x54], ax
sub rcx, r14
jne 0x180021e63
movzx edx, word [0x180053834]
mov ecx, edi
movsx eax, word [0x1800537b4]
cmp edx, eax
mov dword [rbp + 4], edi
mov eax, edi
setg cl
cmp edx, 0xc
seta al
cmp ecx, eax
jae 0x180021ebc
mov rax, qword [0x180053848]
add rax, 0x21ff
mov qword [0x180053848], rax
movzx eax, word [0x180b88880]
mov word [0x180053808], ax
mov ecx, dword [0x180053838]
mov rax, qword [0x180053828]
and ecx, 0x597bd0cc
add rax, rcx
movsx ecx, bx
mov qword [0x180053828], rax
mov eax, 0x24cc
cwde
imul ecx, eax
movsx eax, word [0x1800537b4]
cmp dword [0x1800537dc], eax
mov word [0x180053818], cx
jbe 0x180021fdf
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180021f63
mov eax, dword [0x180053810]
sub dword [0x180053814], eax
jmp 0x180021ff5
cmp dword [0x18005380c], edi
je 0x180021e4d
mov eax, dword [rsp + 0x6c]
mov esi, dword [rsp + 0x7c]
test eax, eax
je 0x180021e51
mov edx, dword [0x1800536f4]
not r12d
movzx eax, byte [0x18005371f]
add edx, r12d
imul ecx, eax, 0xce8f1c37
mov eax, edi
test ecx, ecx
sete al
imul eax, edx
not eax
mov dword [0x180053830], eax
jmp 0x180021e51
mov eax, dword [rsp + 0x78]
mov ecx, edi
mov r12d, dword [rbp - 0x5c]
cmp eax, 0xffffffc9
mov eax, dword [0x180053800]
sete cl
cmp ecx, eax
jl 0x180021f89
movzx ebx, word [0x180b88880]
mov dword [rbp - 0x74], ebx
jmp 0x180021ffc
cmp dword [rbp - 0x70], 0xf0
movsx ecx, r12w
sbb eax, eax
not ecx
test ecx, eax
je 0x180021fad
mov eax, dword [0x180053830]
and eax, esi
add eax, r8d
mov qword [rbp - 0x48], rax
jmp 0x180021ff9
cmp word [0x1800537b4], di
mov ebx, dword [rbp - 0x74]
je 0x180021ffc
movsx rax, word [rsp + 0x50]
mov r9, qword [rbp - 0x48]
mov rcx, rax
imul r9, rax
mov eax, dword [rsp + 0x6c]
sub eax, 0x4c88
mov qword [rbp - 0x48], r9
mov dword [0x180053830], eax
jmp 0x180021ffc
mov eax, dword [0x18005380c]
test r9b, r9b
cmovne eax, dword [0x180b88880]
mov dword [0x18005380c], eax
mov r12d, dword [rbp - 0x5c]
mov ebx, dword [rbp - 0x74]
mov eax, dword [0x18005374c]
movzx ecx, word [0x180053820]
mov dl, byte [0x180053830]
add dl, 0x26
mov dword [rbp + 0x28], edi
test eax, eax
mov dword [rbp - 0x6c], edx
cmovne cx, word [0x1800537b4]
mov dword [rbp - 0x78], ecx
mov ecx, 0x1b5
mov eax, dword [0x1800536f4]
mov r9d, 0x7c9
and esi, dword [0x180053810]
add ax, r9w
mov word [0x180053818], ax
sub rcx, r14
jne 0x18002202a
movzx eax, dl
mov ecx, 0x6ae
add ax, cx
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x74], eax
movzx eax, byte [0x18005371e]
imul eax, eax, 0x710738a2
mov dword [rsp + 0x60], edi
cmp eax, r14d
jl 0x180022090
movzx eax, word [rsp + 0x58]
movsxd rcx, dword [0x18005374c]
test ax, ax
jne 0x18002208a
mov rcx, qword [rbp - 0x20]
mov dword [rsp + 0x6c], ecx
jmp 0x1800220bc
cmp byte [0x18005371f], dil
je 0x1800220bc
movsxd rax, dword [0x18005383c]
mov rcx, qword [0x1800537e0]
imul rcx, rax
mov rax, qword [0x1800537e0]
add rax, rcx
mov qword [0x1800537e0], rax
mov edx, dword [rbp - 8]
mov eax, dword [rbp - 8]
sub edx, eax
mov ecx, dword [rbp - 8]
mov eax, dword [rbp - 8]
add ecx, eax
mov eax, dword [rbp + 0x18]
or ecx, edx
mov dword [rbp + 0x2c], edi
cmp eax, ecx
je 0x18002218d
cmp word [0x1800537f8], di
je 0x1800220f5
movzx eax, word [0x18005379c]
mov word [0x1800537b4], ax
jmp 0x180022128
movzx ecx, word [rsp + 0x58]
mov edx, edi
mov eax, dword [0x1800536f4]
cmp ecx, eax
movsx eax, word [0x180053840]
setg dl
cmp eax, edx
je 0x180022128
mov rax, qword [0x180053848]
mov ecx, 0x716d
add ax, cx
mov word [0x180053840], ax
mov eax, dword [rbp + 0x10]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
cmp r13d, eax
jne 0x180022157
mov rcx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
xor edx, edx
jmp 0x180022181
movsx eax, r12w
mov r9, r13
imul ecx, eax, 0xd77e540b
mov edx, 0x1fffff
imul eax, r8d, 0xa04d5bcf
mov dword [0x180053810], ecx
mov rcx, qword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [rsp + 0x6c], eax
xor r8d, r8d
call fcn.1800181fc
mov qword [rbp + 0x20], rax
mov r13d, dword [rbp - 0x70]
mov r8d, 9
mov r15, qword [rbp - 0x20]
mov eax, 0xd9b2101f
mov qword [0x180053848], rax
mov ecx, dword [rsp + 0x78]
mov rdx, qword [0x180053848]
movsxd rax, dword [0x180053734]
add rdx, rcx
cmp rax, rdx
jne 0x180022221
movzx eax, word [rsp + 0x54]
mov edx, edi
cmp eax, r13d
mov ecx, edi
movzx eax, word [rsp + 0x54]
setb dl
cmp ax, r8w
setb cl
cmp edx, ecx
jb 0x180022316
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x180022201
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMenu]
mov rcx, rax
call qword [sym.imp.USER32.dll_DestroyMenu]
mov r8d, 9
movsx edx, word [rsp + 0x50]
movsx eax, word [0x180053840]
add edx, 0xadcd2c99
cmp eax, edx
je 0x18002219b
mov ecx, dword [rbp]
mov eax, dword [rsp + 0x68]
mov edx, dword [rbp + 0x14]
mov r15, qword [rbp - 0x58]
imul ecx, eax
mov eax, dword [rsp + 0x68]
or edx, eax
xor edx, ecx
mov ecx, dword [rbp]
mov eax, dword [rsp + 0x68]
add ecx, eax
cmp edx, ecx
je 0x1800225e3
mov eax, 0x2400
mov word [0x18005379c], ax
movsx eax, word [rsp + 0x50]
movsx edx, word [0x18005379c]
add eax, edx
cmp edx, eax
jne 0x18002235b
movsx esi, bx
test r15, r15
mov r15, qword [rbp - 0x48]
mov ebx, edi
sete bl
mov r13d, 0x2400
mov rcx, qword [0x180053858]
movzx eax, word [0x180053814]
not ecx
movzx r12d, word [0x180053834]
add ecx, esi
add r12d, r15d
mov word [0x180be8bc0], ax
movzx eax, word [rsp + 0x58]
mov edx, dword [rsp + 0x78]
imul r12d, ecx
mov ecx, edi
cmp ebx, eax
movsx rax, byte [0x180053733]
sete cl
add edx, 0x80812400
add r12d, ecx
sub r12d, eax
movsx eax, word [0x180053818]
sub r12d, r15d
mov dword [rbp - 0x60], r12d
cmp eax, edx
jne 0x180022308
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov word [rbp - 0x28], ax
movsx eax, word [rsp + 0x50]
mov word [0x18005379c], r13w
movsx edx, word [0x18005379c]
add eax, edx
cmp edx, eax
je 0x180022282
mov esi, dword [rsp + 0x7c]
mov r12d, dword [rbp - 0x5c]
mov r13d, dword [rbp - 0x70]
jmp 0x18002235f
test r15, r15
je 0x180022207
mov eax, dword [0x180053800]
test eax, eax
je 0x180022207
mov eax, dword [0x18005374c]
mov ecx, 0xffffb55f
and ax, cx
mov ecx, 0x3fd3
mov word [0x180053808], ax
movzx eax, word [0x18005383c]
sub ax, cx
mov word [rsp + 0x58], ax
jmp 0x180022207
mov r15, qword [rbp - 0x48]
movzx eax, word [rsp + 0x5c]
test ax, ax
je 0x18002238f
mov edx, edi
mov rax, r15
neg rax
movsx eax, byte [0x180053733]
sbb ecx, ecx
add ecx, 2
add ecx, eax
mov eax, dword [rbp - 0x80]
sete dl
sub ax, dx
mov word [0x180053808], ax
mov ebx, dword [rbp - 0x6c]
mov eax, dword [0x180b88880]
movzx edx, bl
mov dword [rsp + 0x68], eax
cmp edx, r13d
jb 0x1800223e3
mov eax, dword [rbp - 0x80]
not edx
movzx ecx, word [rbp - 0x28]
test eax, eax
mov dword [rbp - 0x60], 0xc54a
cmovne cx, r12w
movsx rax, cx
mov ecx, r13d
mov qword [0x180053828], rax
movsx eax, word [0x1800537b4]
add edx, eax
mov eax, edi
sete al
sub ecx, eax
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
movzx ecx, byte [0x18005371f]
add eax, 0xec8b
add cx, word [0x1800537b4]
mov r13, qword [rbp - 0x28]
add r12w, cx
mov dword [rbp + 0x10], eax
mov ecx, 0xb2
movzx eax, word [rsp + 0x5c]
sub r12w, ax
movsx edx, r13w
mov eax, dword [rsp + 0x68]
add eax, 0xb6
mov dword [rbp - 0x5c], r12d
mov dword [rbp + 0x14], eax
mov eax, dword [rsp + 0x68]
add eax, 0xcc
mov dword [rbp + 0x18], eax
mov eax, edx
imul eax, dword [0x180053850]
test eax, eax
je 0x18002244b
mov eax, dword [0x18005381c]
mov word [rsp + 0x50], ax
add dword [0x180053810], r14d
sub ecx, r14d
test ecx, ecx
jg 0x180022433
movzx eax, word [rsp + 0x58]
mov rcx, qword [0x180053848]
add cx, ax
mov word [rsp + 0x58], cx
mov eax, dword [rbp - 0x18]
mov eax, dword [rbp - 0x30]
mov eax, dword [rbp - 0x18]
mov eax, dword [rbp - 0x18]
mov eax, dword [rbp - 0x18]
mov ecx, dword [rbp + 0x14]
mov eax, dword [rbp + 0x10]
imul ecx, eax
mov eax, dword [rbp + 0x18]
xor eax, ecx
xor eax, 0xd93a
sub eax, 0xa8eec0
mov dword [rbp - 0x30], eax
cmp qword [rbp + 0x20], rdi
jne 0x1800225ea
movups xmm0, xmmword [str.x_mac_arabic]
lea rcx, [rbp + 0x2058]
movzx eax, word [0x18003c980]
movsd xmm1, qword [0x18003c978]
movups xmmword [rbp + 0x2058], xmm0
mov word [rbp + 0x2070], ax
movsd qword [rbp + 0x2068], xmm1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, byte [0x18005371e]
mov dword [0x1800537f0], eax
movzx eax, word [rsp + 0x50]
add ax, cx
mov dword [rbp - 0x78], 0xffffd797
mov word [rsp + 0x50], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x68], eax
mov ecx, dword [rsp + 0x68]
mov eax, dword [rbp - 0x30]
add ecx, eax
mov dword [rbp - 0x30], ecx
mov eax, dword [rsp + 0x68]
add eax, 0x9d
mov dword [rbp - 0x30], eax
mov dword [0x1800537f4], 0x67ab
mov eax, dword [rsp + 0x68]
add eax, 0x399
mov dword [rbp], eax
mov ecx, dword [rbp]
mov eax, dword [rbp - 0x30]
xor ecx, eax
mov eax, dword [rbp]
sub eax, 0x117
cmp eax, ecx
je 0x1800225ea
mov eax, dword [rsp + 0x6c]
mov ebx, 0xd83fd82f
add eax, r14d
mov dword [0x180053850], ebx
cmp dword [0x180053850], eax
jne 0x1800225ba
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ecx, 0x8d
lea r8d, [rdx + 0x5d]
lea r9d, [rcx + 0x69]
call fcn.180027200
mov word [0x1800537fc], ax
test ax, ax
je 0x1800225a1
movzx eax, word [0x180b88880]
mov word [0x1800537f8], ax
mov word [0x180053804], ax
jmp 0x1800225ba
mov rax, qword [0x1800537e8]
test rax, rax
je 0x1800225b4
movzx eax, word [rsp + 0x50]
jmp 0x1800225ba
mov eax, dword [0x1800536f4]
movzx eax, byte [0x180c12e8e]
mov ecx, dword [rsp + 0x6c]
sub ecx, eax
mov dword [0x180053850], ebx
mov eax, 0x71e1
mov dword [rsp + 0x6c], ecx
mov word [rsp + 0x54], ax
mov eax, r14d
jmp 0x1800254bf
mov ebx, dword [rbp - 0x6c]
mov r13, qword [rbp - 0x28]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r9d, r9d
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rdi
xor edx, edx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
mov rcx, qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, rax
mov qword [rsp + 0x40], rdi
mov r9d, 0x2000
mov qword [rsp + 0x38], rdi
mov r8d, 8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
mov qword [rbp - 0x18], rax
mov r15, rax
test rax, rax
jne 0x1800227c0
mov rax, qword [0x1800537e8]
mov rcx, rdi
movzx eax, word [rsp + 0x5c]
mov edx, edi
mov ebx, dword [rbp - 0x74]
test ax, ax
mov eax, edi
sete cl
cmp qword [rbp - 0x58], rcx
setl dl
cmp word [rbp + 8], di
sete al
cmp eax, edx
jbe 0x180022693
movzx eax, byte [0x18005371e]
add bx, ax
mov byte [0x18005371e], 0x76
mov edx, dword [rsp + 0x78]
movzx eax, byte [0x18005371e]
add edx, 0xaa76
cmp eax, edx
jne 0x18002273a
mov ecx, dword [rsp + 0x6c]
movsx eax, byte [0x180053733]
add ecx, 0x24
cmp eax, ecx
jne 0x18002273a
movzx eax, word [rsp + 0x54]
mov ecx, edi
cmp esi, eax
mov eax, edi
setb cl
cmp esi, 0x52
setb al
cmp ecx, eax
jb 0x180022735
mov ecx, dword [0x18005374c]
mov edx, edi
movsx eax, r12w
cmp ecx, eax
mov eax, dword [0x18005374c]
mov ecx, edi
setne dl
cmp eax, 0x39
setne cl
cmp edx, ecx
jb 0x180022709
add dword [0x18005380c], r14d
jmp 0x18002273a
cmp qword [0x180053820], rdi
jne 0x180022724
mov al, byte [0x18005371e]
test al, al
jne 0x180022724
cmp dword [0x180053850], edi
je 0x18002273a
mov rbx, qword [0x180053858]
mov ecx, 0xffff8044
and bx, cx
jmp 0x18002273a
movzx eax, word [rsp + 0x58]
mov byte [0x18005371e], 0x76
xor ecx, ecx
mov dword [rbp - 0x80], 0x36
movzx eax, word [rsp + 0x50]
call fcn.18002773c
mov word [0x180053840], ax
movzx eax, word [rsp + 0x64]
test ax, ax
jne 0x180022774
mov rax, qword [0x1800537e8]
test rax, rax
je 0x180022774
mov r14d, edi
mov eax, dword [0x1800537f4]
test r13w, r13w
mov edx, edi
mov ecx, edi
sete dl
cmp edx, eax
cmovle ecx, r14d
test ecx, ecx
je 0x18002279b
mov eax, dword [rbp - 0x60]
sub word [0x1800537fc], ax
jmp 0x1800227b6
mov ecx, dword [0x180053734]
movsx eax, bx
cmp ecx, eax
jg 0x1800227b6
movzx eax, word [rsp + 0x58]
add eax, 0xbe82
mov dword [rsp + 0x6c], eax
mov eax, 0xa
jmp 0x1800254bf
mov qword [rsp + 0x40], rdi
lea rcx, [fcn.180031240]
mov qword [rsp + 0x38], rdi
mov esi, 0x2000
mov qword [rsp + 0x30], rdi
mov r9d, esi
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
mov rcx, qword [rbp + 0x20]
lea r9, [rbp + 4]
mov r8d, esi
mov rdx, r15
call fcn.18001b508
mov edx, dword [rbp - 0x3c]
mov r9d, eax
mov eax, dword [rbp - 0x64]
add edx, eax
mov r8d, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x64]
or r8d, edx
mov eax, dword [rbp - 0x38]
imul ecx, eax
imul eax, ecx, 0x183
cmp eax, r8d
je 0x180022a0a
mov r12, qword [rbp - 0x20]
mov edx, 0x1ca
mov rbx, qword [rbp + 8]
movzx eax, word [rsp + 0x64]
test ax, ax
je 0x180022854
movsx rax, bx
imul rax, r12
or r12, rax
jmp 0x18002287b
mov ecx, dword [rbp - 0x80]
movsx eax, word [0x180053804]
not ecx
sub ecx, eax
mov dword [0x1800537f4], ecx
movsx eax, word [0x18005378c]
add eax, 0x2cbe7c28
mov qword [0x180053848], rax
sub rdx, r14
jne 0x18002283d
mov ebx, dword [rbp - 0x6c]
mov edx, 0x154bbe05
mov dword [0x180053734], edx
movsx ecx, word [rsp + 0x50]
mov eax, dword [0x180053734]
add ecx, edx
mov qword [rbp - 0x20], r12
mov r12d, dword [rbp - 0x5c]
cmp eax, ecx
jne 0x1800228da
movzx ecx, byte [rbp - 0x7c]
movabs rax, 0xab735e7529bc6
add rcx, rax
mov rax, qword [0x1800537e0]
cmp rax, rcx
jne 0x1800228da
movsx rax, r13w
mov rcx, r14
sub rcx, rax
mov rax, qword [rbp - 0x48]
imul rax, rcx
mov qword [rbp - 0x48], rax
mov eax, dword [0x180c15cf8]
mov dword [rbp - 0x70], eax
mov dword [0x180053734], edx
mov eax, dword [0x180053810]
imul eax, dword [rbp - 0x58]
mov r13d, dword [rsp + 0x7c]
mov byte [0x180053733], 0x69
mov dword [0x180053810], eax
lea eax, [r13 - 0x3e]
mov dword [rsp + 0x74], eax
test r9d, r9d
je 0x180022a0f
mov rax, qword [0x180053848]
mov ecx, 0x7d55
sub ax, cx
mov edx, 0x1832
mov word [0x180053818], ax
mov eax, dword [0x18005381c]
mov ecx, dword [0x180053838]
mov eax, dword [0x180053838]
sub ecx, eax
mov eax, dword [rsp + 0x78]
sub ecx, eax
mov dword [0x180053838], ecx
sub rdx, r14
jne 0x180022937
movzx ecx, word [rsp + 0x58]
mov edx, edi
movsx eax, word [0x180053804]
mov r8d, 0x31
cmp ecx, eax
movzx eax, word [rsp + 0x58]
mov ecx, edi
setge dl
cmp ax, r8w
setae cl
cmp edx, ecx
je 0x1800229f6
movzx ecx, byte [0x18005371e]
mov rax, qword [0x180053828]
cmp rax, rcx
jge 0x180022a00
cmp dword [0x1800537f0], edi
mov eax, dword [0x180053814]
sete dil
sub eax, edi
movsxd rcx, eax
mov rax, qword [0x1800537e8]
imul rax, rcx
movzx ecx, byte [0x18005374b]
imul ecx, dword [rbp - 0x60]
imul rdx, rax, 0xffffffffffffffc1
movzx eax, word [rsp + 0x54]
sub ax, cx
not rdx
movsx ecx, dx
movsx edx, ax
movzx eax, word [0x1800537f0]
imul edx, ecx
mov ecx, 0x1c56
sub ax, cx
mov word [0x180053834], ax
mov word [0x18005378c], dx
jmp 0x180022a00
mov eax, dword [rbp - 0x80]
mov word [0x180b90932], ax
mov eax, 2
jmp 0x1800254bf
mov r13d, dword [rsp + 0x7c]
mov eax, dword [rbp + 4]
mov ecx, eax
mov qword [rbp + 0x38], rax
call fcn.180020c58
mov qword [rbp + 0x18], rax
test rax, rax
jne 0x180022b11
mov rax, qword [0x1800537e0]
mov edx, dword [rsp + 0x6c]
movsx rax, byte [0x180053733]
mov qword [0x180053820], 0x9b39
add rdx, qword [0x180053820]
cmp rax, rdx
jne 0x180022b09
mov r8b, byte [0x180053850]
xor r9d, r9d
mov dl, 0x51
mov cl, 0x5f
call fcn.1800275ec
movsx edx, al
mov r8d, edi
mov word [rsp + 0x50], dx
mov edx, edi
movzx eax, word [rsp + 0x50]
cmp ax, 0x2b
movzx eax, word [rsp + 0x50]
sete r8b
test ax, ax
sete dl
cmp edx, r8d
jbe 0x180022ae4
movzx ecx, r12w
call fcn.180027480
movsx ecx, word [0x180053804]
movzx eax, ax
mov dword [0x18005374c], eax
mov eax, dword [0x180053810]
not eax
cmp eax, ecx
mov eax, dword [rbp - 0x80]
setle dil
cmp edi, eax
je 0x180022b02
mov eax, dword [0x18005381c]
mov edx, 0xee7e
movzx ecx, word [0x180053830]
and cx, dx
or cx, ax
mov word [0x180053834], cx
jmp 0x180022b02
movzx eax, word [rsp + 0x50]
test ax, ax
je 0x180022b02
movzx eax, word [rsp + 0x64]
mov ecx, 0x6056
sub ax, cx
mov word [0x1800537f8], ax
movzx eax, word [0x180053818]
mov eax, dword [rbp - 0x50]
jmp 0x1800254bf
movsx rax, word [0x180053840]
mov edx, edi
mov r9, qword [rbp - 0x58]
mov rcx, rax
cmp r9, rax
mov eax, edi
setl dl
cmp r9, 0x23
setl al
cmp edx, eax
je 0x180022b4b
movsx ecx, word [0x180053820]
mov eax, 0xffffb1b0
cwde
imul ecx, eax
mov word [rbp + 8], cx
jmp 0x180022b7f
movzx eax, word [rsp + 0x54]
test ax, ax
je 0x180022b7f
mov cl, byte [rbp - 0x20]
movzx eax, byte [0x18005371f]
add cl, 0x2d
movzx edx, cl
mov dword [rbp - 0x7c], ecx
sub edx, eax
movsx ecx, word [0x18005378c]
add ecx, edx
add ecx, dword [0x180053850]
mov dword [0x18005374c], ecx
mov esi, edi
mov dword [rbp], esi
cmp dword [rbp + 4], edi
jbe 0x1800236db
mov eax, 0x79cb
mov word [rbp + 8], ax
jmp 0x180022b9b
mov ebx, dword [rbp - 0x6c]
mov r8d, 0x345
add r9, r8
mov qword [rbp - 0x58], r9
mov ecx, dword [0x180053814]
mov edx, edi
mov eax, dword [0x180053734]
cmp ecx, eax
mov eax, edi
setle dl
cmp ecx, 0xf
setle al
cmp edx, eax
jbe 0x180022bd8
mov eax, dword [0x18005383c]
shl eax, 3
mov dword [0x180053850], eax
jmp 0x180022bf0
cmp word [0x180053834], di
je 0x180022bf0
mov eax, dword [0x180053800]
shl ax, 8
mov word [rsp + 0x58], ax
sub r8, r14
jne 0x180022ba8
mov eax, dword [0x180b88880]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, 0x1b4
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x68]
add eax, 0x2cf
mov dword [rbp - 0x50], eax
movzx eax, word [0x1800537f8]
imul ecx, eax, 0x84eddc55
mov dword [0x180053800], ecx
mov eax, dword [rsp + 0x68]
add eax, 0x336
mov dword [rbp - 0x30], eax
mov ecx, dword [rbp - 0x50]
mov eax, dword [rbp - 0x38]
add ecx, eax
cmp ecx, 0xfffffdd6
je 0x1800236cc
mov eax, dword [0x180053734]
mov edx, edi
cmp eax, dword [0x1800537dc]
mov ecx, edi
mov eax, dword [0x180053734]
setb dl
cmp eax, 0x47
setl cl
cmp edx, ecx
ja 0x180022c86
movzx eax, word [rsp + 0x54]
movzx ecx, word [rsp + 0x74]
test ax, ax
movzx edx, bl
cmovne edx, ecx
mov qword [rbp - 0x20], rdx
jmp 0x180022c8a
mov rdx, qword [rbp - 0x20]
mov eax, dword [0x180b88880]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x180022ca7
mov al, byte [0x180bcc0f4]
mov dword [rbp - 0x6c], eax
jmp 0x180022d04
cmp byte [0x180053733], dil
je 0x180022d04
movsx eax, word [rsp + 0x5c]
movsx ecx, al
movsx eax, byte [0x180053733]
imul eax, ecx
movzx ecx, word [rsp + 0x54]
movzx r9d, bl
mov byte [0x180053733], al
mov rax, qword [0x180053820]
xor r9, rax
add rax, rcx
mov ecx, edi
not r9
and r9, rax
movsx eax, r12w
test rdx, rdx
sete cl
sub ecx, eax
movzx eax, word [rsp + 0x54]
movsxd rcx, ecx
or rcx, rax
add r9, rcx
mov qword [rbp - 0x58], r9
mov eax, dword [rsp + 0x68]
mov ecx, 0x87
add eax, 0x2fc
mov dword [rbp - 0x50], eax
movzx eax, byte [0x18005374b]
add ax, cx
lea ebx, [rcx - 0x4b]
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x68]
add eax, 0x3cc
mov dword [rbp - 0x3c], eax
movsx ecx, byte [0x180053733]
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
add dword [0x180053814], r14d
mov word [rsp + 0x50], ax
sub rbx, r14
jne 0x180022d33
mov eax, dword [rsp + 0x68]
mov ebx, dword [rbp - 0x6c]
add eax, 0x465
mov dword [rbp - 0x64], eax
movzx eax, word [rsp + 0x50]
cmp ax, word [rbp - 0x28]
jge 0x180022dc2
movsxd rax, dword [0x180053800]
cmp qword [0x180053820], rax
jg 0x180022d88
mov rax, qword [0x180053848]
mov dword [rsp + 0x78], eax
jmp 0x180022dc9
cmp dword [0x180053810], edi
movabs rdx, 0xf8026d57d49aa
movzx eax, bl
cmovne ax, word [rbp - 0x70]
mov word [rsp + 0x54], ax
movsxd rax, dword [0x1800537f4]
sub rdx, rax
mov rax, qword [0x180053848]
add rax, rdx
mov qword [0x180053848], rax
jmp 0x180022dc9
mov dword [rbp - 0x70], 0xc4060cad
mov eax, dword [0x180b88880]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
movsx r9d, word [0x180053814]
add eax, 0x473
mov dword [rbp + 0x10], eax
mov eax, 0x98
cwde
imul r9d, eax
movzx eax, word [0x180b92ef8]
mov word [rsp + 0x58], ax
mov eax, dword [rsp + 0x68]
add eax, 0x33e
mov dword [rbp - 0x74], r9d
mov dword [rsp + 0x7c], eax
test r9w, r9w
je 0x180022e23
mov rax, qword [0x180053828]
mov ecx, r14d
test rax, rax
jne 0x180022e25
mov ecx, edi
movzx r12d, word [rsp + 0x74]
mov eax, edi
cmp r12d, dword [0x1800537f0]
setne al
cmp ecx, eax
jae 0x180022e82
movzx ecx, word [0x180053840]
movzx eax, bl
cmp ax, cx
je 0x180022e82
mov rdx, qword [0x180053848]
mov ebx, edi
mov r13d, dword [0x1800537dc]
mov ecx, edi
mov r8d, dword [0x180053830]
neg r13d
cmp word [0x1800537b4], di
movzx eax, r9b
cmove ebx, eax
test r8d, r8d
movzx eax, dl
cmove ecx, eax
add bl, cl
mov dword [rbp - 0x6c], ebx
mov eax, dword [rsp + 0x68]
lea rdx, [rbp + 0x20d0]
mov qword [rsp + 0x40], rdi
lea rcx, [fcn.180031240]
mov qword [rsp + 0x38], rdi
add eax, 0x106
mov qword [rsp + 0x30], rdi
mov ebx, 0x104
mov qword [rsp + 0x28], rdi
mov r9d, ebx
xor r8d, r8d
mov dword [rbp + 0x14], eax
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
mov rdx, qword [r15 + rsi*8]
lea r8, [rbp + 0x20d0]
mov rcx, qword [rbp + 0x20]
mov r9d, ebx
mov qword [rbp - 8], rsi
call fcn.18001b244
mov ecx, dword [rbp - 0x40]
mov r15d, eax
mov eax, dword [rbp - 0x40]
sub ecx, eax
mov edx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x68]
add edx, ecx
imul ecx, eax, 0x2ab
cmp edx, ecx
je 0x1800234c3
movsx eax, word [0x180053840]
mov edx, edi
cmp eax, dword [0x180053814]
mov ecx, edi
movzx eax, word [0x180053840]
mov r8d, 0x55
sete dl
cmp ax, r8w
sete cl
cmp edx, ecx
jae 0x180022f43
movzx eax, word [0x180053818]
mov ecx, 0x7be0
add ax, cx
mov word [0x180053840], ax
mov eax, dword [0x180b88880]
add word [rbp - 0x28], 0x2e
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, 0x13b
mov dword [rbp - 0x38], eax
movsx eax, word [0x1800537fc]
imul ecx, eax, 0xb5
mov dword [0x180053838], ecx
mov ecx, 0x76c1
mov eax, dword [rsp + 0x68]
add eax, 0x2514
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x78]
mov word [rbp - 0x74], ax
movzx eax, word [rbp - 0x58]
add ax, cx
mov word [0x1800537b4], ax
mov eax, dword [rsp + 0x68]
add eax, 0xe723
mov dword [rbp - 0x38], eax
movzx ecx, word [rsp + 0x64]
call fcn.180027480
movzx ebx, ax
movzx eax, word [0x18005378c]
test ax, ax
je 0x180022fdc
mov rcx, qword [0x180053848]
movzx r13d, byte [rbp - 0x6c]
movsx rax, word [rbp - 0x78]
shr r13d, 7
imul rcx, rax
mov qword [0x180053848], rcx
mov dword [0x18005381c], 0xb
mov ecx, dword [0x18005381c]
mov eax, dword [rsp + 0x78]
add ecx, eax
cmp dword [0x18005380c], ecx
jne 0x180023032
mov ecx, dword [0x1800537f0]
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x180053850], eax
test eax, eax
jne 0x18002301f
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [0x180053840], ax
jmp 0x180023032
movzx eax, word [rsp + 0x58]
mov ecx, dword [0x180053800]
sub ecx, eax
mov dword [0x180053800], ecx
movzx eax, bl
cmp dword [0x180053810], eax
jle 0x1800230dd
mov ecx, dword [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov rbx, qword [rbp - 0x48]
mov dword [rbp - 0x60], eax
test eax, eax
je 0x1800230c1
movzx ecx, byte [0x18005371f]
mov r8d, edi
cmp dword [0x180053830], ecx
mov ecx, edi
seta r8b
cmp dword [0x180053830], 0x3d
seta cl
cmp r8d, ecx
je 0x1800230a8
movsx eax, word [rbp - 0x28]
movzx ecx, word [rsp + 0x74]
shl eax, 3
cmp word [0x180053808], di
mov dword [0x180053814], eax
movzx eax, byte [0x18005374b]
cmovne cx, ax
mov word [0x180053808], cx
jmp 0x180023114
movzx eax, word [rsp + 0x5c]
mov rax, qword [0x180053828]
movzx eax, word [rsp + 0x58]
mov eax, dword [0x180053800]
jmp 0x180023114
cmp rbx, 0x61eee884
je 0x180023114
movzx eax, word [rbp - 0x78]
mov ecx, 0x6b56
sub ax, cx
mov word [rsp + 0x50], ax
jmp 0x180023114
mov eax, dword [rbp - 0x60]
mov rbx, qword [rbp - 0x48]
cmp dword [rbp - 0x70], eax
jb 0x180023114
mov eax, dword [0x18005374c]
cmp eax, dword [0x1800537f0]
jne 0x180023114
movsx eax, word [rbp - 0x78]
add eax, 0xb3
movsxd rcx, eax
mov rax, qword [0x180053848]
or rcx, rax
mov qword [0x180053848], rcx
mov ecx, dword [rbp - 0x64]
mov edx, 0x2da
mov eax, dword [rbp - 0x64]
xor r9d, r9d
xor ecx, eax
mov qword [rsp + 0x20], rdi
mov eax, dword [rbp - 0x3c]
sub eax, edx
imul eax, ecx
mov ecx, dword [rbp - 0x50]
xor ecx, edx
imul ecx, eax
mov eax, dword [rbp - 0x3c]
imul eax, ecx
mov ecx, dword [rbp - 0x38]
imul edx, eax, 0x2da
mov eax, dword [rbp - 0x30]
or ecx, eax
sub edx, ecx
movsx rcx, word [rbp - 0x78]
add edx, 0xea68
mov dword [rbp - 0x30], edx
xor edx, edx
mov r8d, dword [rbp - 0x80]
call fcn.180027200
cmp al, 0x13
mov r9b, al
mov ecx, edi
mov dword [rbp - 0x7c], r9d
setbe cl
mov eax, edi
test r9b, r9b
sete al
cmp eax, ecx
je 0x1800231b5
cmp dword [0x180053850], edi
jne 0x1800231b5
movzx eax, word [0x180053844]
mov ecx, 0xfbe
add ax, cx
mov ecx, dword [0x180053800]
mov word [rbp - 0x28], ax
add ecx, 0x1db1b0c0
movzx eax, r9b
add ecx, eax
mov dword [0x180053800], ecx
mov eax, dword [0x180b88880]
mov dword [rsp + 0x68], eax
movzx eax, word [0x180053844]
test ax, ax
je 0x180023204
movzx eax, word [rsp + 0x54]
cmp rax, rbx
jne 0x1800231e1
mov dword [0x180053838], 0xf2b6c772
jmp 0x180023204
mov eax, dword [rsp + 0x6c]
cmp eax, r14d
jne 0x180023204
movzx eax, word [rsp + 0x54]
mov dword [0x18005380c], eax
mov eax, dword [0x180053800]
sar eax, 8
mov byte [0x180053733], al
mov eax, dword [rsp + 0x68]
mov rdx, rdi
add eax, 0x183
mov dword [rbp - 0x38], eax
mov ecx, dword [rbp - 0x80]
mov eax, dword [rsp + 0x6c]
cmp eax, ecx
mov rax, qword [0x1800537e8]
seta dl
cmp rdx, rax
jle 0x18002324e
mov edx, dword [0x180053850]
mov eax, 0x98
add dword [rbp - 0x70], eax
mov ecx, eax
mov rax, rdx
shr rax, 4
mov qword [0x180053828], rax
sub rcx, r14
jne 0x18002323b
mov eax, dword [rsp + 0x68]
mov ebx, dword [rbp - 0x5c]
add eax, 0x5a97
mov dword [rbp - 0x50], eax
mov word [0x18005378c], r14w
mov eax, dword [rbp - 0x80]
mov rcx, qword [0x180053858]
add ecx, eax
mov dword [rbp - 0x80], ecx
mov eax, dword [rsp + 0x68]
movsx ecx, word [rbp - 0x78]
add eax, 0x138
mov dword [rbp - 0x64], eax
mov eax, 0x7930
cwde
imul ecx, eax
mov word [0x180053818], cx
mov edx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x7c]
xor edx, eax
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x7c]
xor ecx, eax
sub edx, ecx
mov ecx, dword [rbp + 0x14]
mov eax, dword [rbp + 0x10]
mov r8d, dword [rsp + 0x7c]
imul ecx, eax
xor r8d, ecx
xor r8d, 0x1bd
imul r8d, edx
mov edx, dword [rbp - 0x50]
mov eax, dword [rbp - 0x38]
or edx, eax
mov ecx, dword [rbp - 0x64]
mov eax, dword [rbp - 0x64]
xor ecx, edx
xor eax, ecx
mov byte [0x18005374b], 0x69
add eax, 0xffffa52d
add eax, r8d
movsx r8d, bx
mov dword [rbp - 0x50], eax
movsx eax, word [0x18005378c]
lea edx, [r8 + 0x69]
cmp eax, edx
jne 0x1800233d4
mov r14d, dword [rbp - 0x78]
mov r12, qword [rbp - 0x20]
mov byte [rbp - 0x7c], 0xf4
mov rax, qword [0x1800537e8]
lea ecx, [r8 - 0x1279d619]
cmp rax, rcx
jne 0x1800233c1
mov ecx, 0x95
call fcn.180027480
movzx eax, ax
mov dword [0x180053810], eax
test eax, eax
je 0x18002334d
movzx esi, word [0x180053834]
add esi, 0xfd49
mov dword [rbp - 0x60], esi
jmp 0x1800233a3
cmp byte [0x18005374b], dil
je 0x18002338b
mov rcx, qword [0x180053858]
movsx rax, word [0x1800537fc]
imul rcx, rax
mov rax, qword [0x180053858]
sub rax, rcx
mov qword [0x180053858], rax
mov eax, dword [0x180053800]
shl eax, 2
mov dword [0x180053800], eax
jmp 0x1800233a3
test r14w, r14w
je 0x1800233a3
mov eax, dword [rsp + 0x78]
add bx, bx
sub bx, ax
lea eax, [r12 - 0x22]
mov byte [rbp - 0x6c], al
movsx eax, word [0x18005378c]
movsx r8d, bx
mov byte [0x18005374b], 0x69
lea edx, [r8 + 0x69]
cmp eax, edx
je 0x18002330d
mov rsi, qword [rbp - 8]
mov r14d, 1
movzx r12d, word [rsp + 0x74]
mov dword [rbp - 0x5c], ebx
test r15d, r15d
je 0x1800234c3
mov rcx, qword [0x180053828]
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x1800537f0], eax
mov edx, edi
mov eax, dword [0x180b88880]
mov ecx, edi
mov dword [rsp + 0x68], eax
mov eax, dword [0x180053734]
cmp eax, r13d
mov eax, dword [0x180053734]
setne dl
cmp eax, 0x11
setne cl
cmp edx, ecx
jae 0x18002343f
mov edx, dword [rbp - 0x70]
mov ecx, edi
cmp rdx, qword [rbp - 0x58]
mov eax, edi
setle cl
cmp edx, 0x14
setbe al
cmp ecx, eax
jb 0x180023463
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x64], r14w
jmp 0x180023463
cmp qword [0x180053820], rdi
je 0x180023463
mov eax, dword [0x180b88880]
mov dword [0x1800537dc], eax
mov eax, dword [0x1800537f4]
shl eax, 8
mov dword [0x18005383c], eax
mov ecx, dword [rsp + 0x68]
mov eax, dword [rbp - 0x30]
add ecx, eax
mov dword [rbp - 0x3c], ecx
mov eax, dword [rsp + 0x68]
add eax, 0xba
mov dword [rbp - 0x64], eax
mov eax, dword [0x18005381c]
test eax, eax
je 0x180023497
mov eax, dword [0x1800536f4]
mov ecx, 0xe3
add ax, cx
mov word [rbp - 0x74], ax
mov eax, dword [rsp + 0x68]
add eax, 0x2e4
mov dword [rbp - 0x38], eax
mov edx, dword [rbp - 0x64]
mov eax, dword [rbp - 0x3c]
add edx, eax
mov eax, dword [rbp - 0x64]
mov ecx, dword [rbp - 0x50]
imul eax, edx
imul ecx, eax
mov eax, dword [rbp - 0x3c]
cmp eax, ecx
je 0x1800234c3
movzx eax, word [rsp + 0x64]
mov rax, qword [rbp + 0x30]
mov r9d, 0x400
mov r8, qword [rbp + 0x18]
mov r15, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov r8, qword [r8 + rsi*8]
mov rdx, qword [r15 + rsi*8]
add r8, 0x110
mov qword [rsp + 0x20], rax
call fcn.1800189ec
mov r8d, dword [rbp - 0x10]
mov ebx, eax
mov ecx, dword [rsp + 0x70]
add r8d, 0x2cf
imul edx, ecx, 0x1b1
and edx, r8d
cmp edx, 0x260
je 0x180023653
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov word [0x1800537fc], ax
test ebx, ebx
je 0x180023653
mov eax, 0xffffab56
mov ecx, edi
mov word [rbp - 0x74], ax
mov eax, dword [rbp - 0x80]
test eax, eax
mov rax, qword [rbp - 0x20]
sete cl
sub word [0x180053834], ax
mov eax, dword [0x180b88880]
add dword [0x18005380c], 0xffffff85
mov dword [0x1800537dc], ecx
mov dword [rsp + 0x68], eax
movsx ecx, word [rsp + 0x50]
add ecx, dword [0x180053850]
cmp ecx, dword [rbp - 0x60]
sete byte [0x18005371e]
mov eax, dword [rsp + 0x68]
add eax, 0x273
mov dword [rbp - 0x50], eax
movsx ecx, word [rsp + 0x64]
movzx eax, word [rsp + 0x64]
sub ecx, r12d
mov r12d, dword [rbp - 0x5c]
or ax, cx
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
add eax, 0x197
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x68]
add eax, 0x410
mov dword [rbp - 0x64], eax
mov ecx, dword [rbp - 0x64]
mov eax, dword [rbp - 0x64]
cmp ecx, eax
jne 0x180023657
movsx eax, word [0x1800537fc]
mov r8d, 0xa3
mov r15, qword [rbp - 0x48]
mov dword [0x180053810], eax
test r13d, r13d
jne 0x1800235f7
mov edx, edi
test r12w, r12w
je 0x1800235fa
mov edx, r14d
mov eax, dword [rsp + 0x6c]
mov ecx, edi
cmp eax, edx
mov eax, edi
setb cl
cmp qword [0x180053820], 0x79cb
setge al
test ecx, eax
je 0x18002362b
mov ecx, 0x13d7
movzx eax, r15w
sub ax, cx
mov word [rbp - 0x78], ax
jmp 0x180023644
mov eax, dword [0x18005380c]
movzx r12d, word [0x1800537dc]
add eax, 0x500ed52
mov dword [0x180053814], eax
sub r8, r14
jne 0x1800235ea
mov r15, qword [rbp - 0x18]
mov dword [rbp - 0x5c], r12d
jmp 0x180023657
mov r12d, dword [rbp - 0x5c]
mov rax, qword [r15 + rsi*8]
lea r8, [rbp + 0x20d0]
mov rdx, qword [rbp + 0x18]
mov r9d, 0x103
mov ebx, dword [rbp + 0x28]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov rcx, qword [rdx + rsi*8]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov qword [rcx], rax
lea rcx, [0x180032540]
mov rax, qword [rdx + rsi*8]
mov dword [rax + 0x10c], ebx
mov rdx, qword [rdx + rsi*8]
add rdx, 8
call fcn.1800181fc
movzx eax, word [0x180053850]
mov ecx, 0x99
mov esi, dword [rbp]
sub ax, cx
add dword [rsp + 0x60], ebx
mov r9, qword [rbp - 0x58]
mov word [rsp + 0x54], ax
add esi, r14d
mov dword [rbp], esi
cmp esi, dword [rbp + 4]
jb 0x180022b98
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r9d, r9d
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rdi
xor edx, edx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
mov rcx, qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, rax
mov qword [rsp + 0x40], rdi
mov r9, r15
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
movsx rax, word [rsp + 0x64]
xor ecx, ecx
mov ebx, dword [rbp - 0x60]
mov r8d, 0xa5
movsxd rdx, dword [0x180053810]
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.180027200
mov r13, qword [rbp - 0x48]
mov edx, edi
mov word [rsp + 0x5c], ax
mov ecx, edi
movzx eax, word [rsp + 0x5c]
mov esi, 0x39
cmp ax, 0x35
movzx eax, word [rsp + 0x5c]
setle dl
test ax, ax
setle cl
cmp ecx, edx
jae 0x1800237ee
movsx eax, byte [0x180053733]
mov ecx, edi
cmp r12w, ax
mov eax, edi
setle cl
cmp r12w, si
setle al
cmp ecx, eax
jb 0x1800237be
mov eax, 0x26f4
add eax, r13d
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x78]
mov dword [0x180c08f88], eax
jmp 0x1800237fb
mov eax, dword [0x180053734]
mov r15b, r12b
mov rax, qword [0x1800537e0]
movsx rax, word [rsp + 0x64]
mov rdx, qword [rbp - 0x58]
sub rdx, rax
mov dword [rbp - 0x7c], r15d
movzx eax, word [rsp + 0x64]
add ax, dx
mov word [rsp + 0x64], ax
jmp 0x1800237ff
movsx rax, word [rsp + 0x64]
mov qword [0x180c08c88], rax
mov r15d, dword [rbp - 0x7c]
cmp dword [rsp + 0x60], edi
jbe 0x180025473
mov eax, dword [0x18005381c]
test eax, eax
jne 0x180023819
cmp qword [rbp - 0x20], rdi
je 0x180023823
movzx eax, word [rsp + 0x64]
test ax, ax
je 0x180023838
movsx ecx, word [0x180053818]
sub cx, word [0x1800537b4]
mov word [0x180053818], cx
mov eax, dword [0x180b88880]
lea rcx, [rbp + 0x2040]
movsd xmm0, qword [str.Response]
mov dword [rsp + 0x60], eax
mov al, byte [0x18003c990]
mov byte [rbp + 0x2048], al
movsd qword [rbp + 0x2040], xmm0
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
mov qword [0x1800537e8], rcx
mov eax, dword [rsp + 0x60]
add eax, 0x1d8
mov dword [rbp - 0x68], eax
test r13, r13
je 0x1800238a4
mov eax, dword [rsp + 0x6c]
mov ecx, 0x5a
sub cx, word [rbp - 0x70]
sub cx, ax
mov dword [0x180053830], 0xd2edc8d7
mov dword [rsp + 0x74], ecx
mov eax, dword [rsp + 0x60]
xor r9d, r9d
movsx r8, word [0x1800537b4]
add eax, 0x12e
xor edx, edx
mov dword [rsp + 0x70], eax
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.180027200
cmp eax, 0x5b
mov ecx, edi
setb cl
test ecx, ecx
jne 0x18002393f
mov ecx, 0x64
call fcn.180027480
movzx eax, ax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x180023925
mov ecx, dword [rbp - 0x80]
movsx eax, r12w
cmp eax, ecx
jae 0x18002390a
lea eax, [r13 + 0x5c2f6636]
mov dword [0x180053814], eax
jmp 0x18002393f
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x18002393f
movzx eax, word [rsp + 0x5c]
mov ecx, 0x5051
sub ax, cx
mov word [rsp + 0x5c], ax
jmp 0x18002393f
cmp word [rbp - 0x78], di
je 0x18002393f
movzx eax, word [rsp + 0x54]
mov ecx, 0x2940
sub cx, ax
add word [0x18005379c], cx
mov eax, dword [rsp + 0x60]
mov edx, 0x57
add eax, 0x3ff
movzx ecx, r15b
mov dword [rbp - 0x40], eax
add ecx, edx
mov dword [0x1800537f4], edx
mov eax, dword [0x1800537f4]
cmp eax, ecx
jne 0x180023971
mov rax, qword [0x180053848]
mov eax, dword [rsp + 0x78]
movsx eax, word [0x180053804]
mov dword [0x1800537f4], edx
mov edx, 0x21d
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov dword [rsp + 0x78], ecx
mov eax, dword [rbp - 0x68]
sub edx, eax
mov eax, dword [rbp - 0x40]
sub edx, eax
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x40]
imul ecx, eax
cmp edx, ecx
je 0x180025473
mov eax, dword [rbp - 0x80]
test eax, eax
mov rbx, qword [rbp - 0x58]
mov rax, rbx
jne 0x1800239bd
movsxd rax, dword [0x1800536f4]
mov word [0x18005378c], ax
mov r13d, edi
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add eax, 0x200
mov dword [rbp - 0x3c], edi
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x60]
add eax, 0x407
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x60]
add eax, 0x3db
mov dword [rsp + 0x70], eax
mov r12d, dword [0x18005374c]
mov eax, dword [rbp + 4]
sub r12d, 0x27509acb
mov dword [rsp + 0x7c], r12d
test eax, eax
je 0x180024753
jmp 0x180023a1e
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rbp + 8]
mov ecx, 0x88
movzx eax, bx
mov r8d, 0x81
sub ax, r8w
add dx, ax
mov eax, dword [0x180053800]
add eax, r14d
mov dword [0x180053800], eax
sub rcx, r14
jne 0x180023a27
movsx ecx, word [rsp + 0x50]
movzx eax, byte [0x18005371f]
mov qword [rbp + 8], rdx
cmp ecx, eax
jl 0x180023a70
mov eax, dword [0x1800537f0]
add eax, 0xffffff19
mov qword [rbp - 0x20], rax
jmp 0x180023aa9
movsxd rax, dword [0x180053814]
add rax, rbx
je 0x180023aa9
mov eax, 0xd8
cmp ax, word [0x180053808]
jge 0x180023aa9
mov eax, dword [0x180b88880]
mov qword [0x1800537e8], rax
mov rax, qword [0x180053858]
add rax, qword [rbp - 0x20]
mov qword [0x180053858], rax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add eax, 0x1fe
mov dword [rbp - 0x68], eax
movsx rcx, word [rsp + 0x5c]
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov word [rsp + 0x54], ax
xor ecx, ecx
mov eax, dword [rsp + 0x60]
add eax, 0x390
mov dword [rsp + 0x70], eax
call fcn.180027480
mov r8, qword [rbp - 0x48]
mov word [0x180053818], ax
movzx eax, word [0x180053818]
test ax, ax
je 0x180023b0a
test r8, r8
je 0x180023b0a
mov eax, 0xffffadbf
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x60]
add eax, 0x3af
mov dword [rsp + 0x70], eax
mov ecx, dword [rbp - 0x68]
mov edx, dword [rbp - 0x68]
mov eax, dword [rsp + 0x70]
add edx, 0xf6
add edx, ecx
add eax, 0x12d
cmp eax, edx
je 0x180024740
mov ecx, dword [rbp - 0x80]
mov edx, edi
mov rax, qword [0x1800537e8]
cmp rcx, rax
mov eax, dword [rbp - 0x80]
mov ecx, edi
setne dl
cmp eax, esi
setne cl
cmp edx, ecx
jne 0x180023b62
mov r9d, 0x1229
mov qword [rbp + 8], r9
jmp 0x180023b91
mov r9, qword [rbp + 8]
cmp word [rsp + 0x74], di
je 0x180023b91
mov r8, qword [0x180053848]
mov eax, 0x1c
sub al, byte [0x180053804]
add r15b, al
add r8, 0xd2d0
mov dword [rbp - 0x7c], r15d
mov qword [rbp - 0x48], r8
movzx ecx, word [rsp + 0x50]
mov eax, 0xffffd82f
mov word [0x180053808], ax
not cx
mov eax, dword [0x1800537f4]
movsx edx, ax
mov rax, qword [rbp + 0x18]
movsx ecx, cx
imul edx, ecx
add dx, r12w
mov r12d, r13d
add dx, r14w
mov word [0x180053804], dx
mov rax, qword [rax + r12*8]
cmp dword [rax + 0x10c], edi
jbe 0x18002473b
movsx eax, word [0x18005378c]
imul eax, eax, 0x1a5
movsxd rcx, eax
mov rax, qword [0x180053848]
sub rax, rcx
mov ecx, 0x147a
mov qword [0x180053848], rax
movzx eax, word [rsp + 0x54]
mov word [0x1800537f8], ax
movzx eax, word [0x180053818]
add dword [0x180053810], r14d
sub ax, cx
mov word [0x180053804], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
mov eax, 0x4005
sub ax, r9w
add word [0x1800537fc], ax
mov eax, dword [rsp + 0x60]
add eax, 0xde
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x60]
add eax, 0x451
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x60]
add eax, 0xe7
mov dword [rbp - 0x68], eax
mov ecx, dword [0x18005374c]
movzx eax, word [0x1800537f8]
cmp ecx, eax
jge 0x180023cfa
movsx eax, word [0x180053804]
not eax
test eax, eax
je 0x180023c92
movzx eax, word [0x180bf0194]
mov dword [rbp - 0x78], eax
jmp 0x180023cfa
mov rax, qword [0x180053828]
add rax, r8
je 0x180023cae
movsxd rax, dword [0x18005374c]
sub r8, rax
mov qword [rbp - 0x48], r8
jmp 0x180023cfa
cmp word [rbp - 0x78], di
je 0x180023cfa
mov rdx, qword [0x1800537e0]
mov eax, edi
mov ecx, 0xc3d2
cmp cx, word [0x1800537f8]
mov ecx, edi
setne al
add dx, word [0x18005380c]
add ax, 0xe386
not dx
sub dx, ax
mov rax, qword [0x180053828]
cmp byte [0x180053733], dil
sete cl
add cx, dx
add ax, cx
mov word [rbp - 0x74], ax
mov eax, dword [0x180b88880]
mov cl, byte [rbp - 0x78]
movsx r15d, word [rbp - 0x78]
not cl
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add eax, 0x242
mov dword [rbp - 0x40], eax
movzx eax, word [rsp + 0x54]
xor cl, al
mov eax, dword [rsp + 0x60]
xor cl, byte [rbp - 0x6c]
add eax, 0xc2
mov byte [0x18005371f], cl
mov dword [rbp - 0x18], eax
mov eax, dword [rsp + 0x60]
add eax, 0x2da
mov dword [rbp - 0x64], eax
movsx eax, word [0x1800537b4]
add eax, r15d
je 0x180023d6e
movzx eax, word [rsp + 0x54]
mov ecx, 0x5f56
xor rax, 0xea9c
mov qword [rbp - 0x48], rax
mov eax, dword [rsp + 0x6c]
add ax, cx
mov word [rsp + 0x54], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov dword [0x1800537dc], eax
mov eax, dword [rsp + 0x60]
add eax, 0x214
mov dword [rbp - 0x10], eax
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x180023daa
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMenu]
call qword [sym.imp.USER32.dll_EndMenu]
mov eax, dword [rsp + 0x60]
add eax, 0xf9
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x60]
add eax, 0x304
mov dword [rsp + 0x70], eax
mov eax, 0x80812400
mov qword [0x1800537e0], rax
mov ecx, dword [rsp + 0x6c]
mov rdx, qword [0x1800537e0]
movsx rax, word [0x18005379c]
add rdx, rcx
cmp rax, rdx
jne 0x180023f51
movzx ebx, byte [rbp - 0x7c]
movsx esi, word [rbp + 8]
add ebx, 0x5c
mov r12d, dword [rbp - 0x70]
mov r14, qword [rbp - 0x20]
mov r13d, dword [rbp - 0x60]
xor r8d, r8d
mov r9d, esi
mov edx, r14d
lea ecx, [r8 + 0x3d]
call fcn.180027320
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180023e32
movsx eax, byte [0x180053733]
mov ecx, 0x26
sub ecx, eax
add r12d, ecx
movzx eax, byte [0x18005374b]
cmp eax, ebx
jne 0x180023f33
test r13d, r13d
je 0x180023ef4
xor ecx, ecx
call fcn.18002773c
movzx r15d, ax
mov qword [rbp - 0x28], r15
test ax, ax
je 0x180023ec9
mov rcx, qword [0x180053820]
mov edx, edi
mov rax, qword [0x1800537e0]
cmp rcx, rax
mov eax, edi
setle dl
cmp rcx, 4
setle al
cmp edx, eax
je 0x180023eb0
mov rcx, qword [0x180053858]
mov edx, edi
movsxd rax, dword [0x180053814]
imul rcx, rax
mov eax, dword [0x18005381c]
test rcx, rcx
movsx ecx, word [rsp + 0x64]
sete dl
sub edx, eax
add ecx, edx
mov dword [rsp + 0x78], ecx
jmp 0x180023f08
mov eax, 0x6283
mov word [0x1800537b4], ax
mov qword [0x180053828], 0xb9a4
jmp 0x180023f08
movzx eax, word [0x18005378c]
cmp word [0x1800537fc], ax
jne 0x180023f08
not dword [0x180053850]
mov eax, 0x4240
add ax, word [0x180053810]
mov word [0x1800537fc], ax
jmp 0x180023f08
mov eax, dword [0x180053734]
test eax, eax
je 0x180023f08
mov eax, dword [0x180b88880]
mov dword [rsp + 0x6c], eax
mov eax, 0x80812400
mov qword [0x1800537e0], rax
mov ecx, dword [rsp + 0x6c]
mov rdx, qword [0x1800537e0]
movsx rax, word [0x18005379c]
add rdx, rcx
cmp rax, rdx
je 0x180023e05
mov r13d, dword [rbp - 0x3c]
mov r14d, 1
movsx r15d, word [rbp - 0x78]
mov rbx, qword [rbp - 0x58]
mov dword [rbp - 0x70], r12d
mov r12d, r13d
lea esi, [r14 + 0x38]
mov ecx, dword [rsp + 0x70]
mov eax, dword [rbp - 0x10]
sub ecx, eax
mov eax, dword [rbp - 0x50]
cmp eax, ecx
je 0x180024737
mov edx, 0x97
mov qword [rsp + 0x20], rdi
xor ecx, ecx
lea r9d, [rdx + 0x22]
lea r8d, [rcx + 9]
call fcn.180027200
mov byte [0x180053733], al
test al, al
js 0x180023fa8
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180023fa8
movzx ecx, byte [0x18005371e]
mov eax, dword [rsp + 0x6c]
add ecx, 0xfffff589
add al, cl
mov byte [0x18005371e], al
cmp dword [0x1800537f0], edi
mov eax, dword [0x1800537dc]
jne 0x180023fba
mov eax, dword [rsp + 0x78]
mov byte [rbp - 0x7c], al
mov ecx, 0x18d
mov eax, 0x512d
add ax, word [0x180053820]
mov word [rsp + 0x5c], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x6c]
add eax, r14d
mov dword [rsp + 0x6c], eax
sub rcx, r14
jne 0x180023fdd
mov eax, dword [rsp + 0x60]
movsx ecx, word [0x180053808]
add eax, 0x219e
mov dword [rsp + 0x68], eax
movzx eax, word [rsp + 0x74]
cmp ecx, eax
jl 0x180024040
movsx eax, word [rsp + 0x50]
mov edx, dword [rbp - 0x60]
cmp eax, edx
jae 0x180024024
mov rax, qword [rbp - 0x48]
add eax, 0xe12a2646
mov dword [rbp - 0x80], eax
jmp 0x180024040
mov eax, dword [0x18005374c]
mov ecx, dword [rbp - 0x6c]
add al, cl
and cl, al
lea eax, [rdx + 0x730b]
mov dword [0x18005381c], eax
mov dword [rbp - 0x6c], ecx
mov eax, dword [rsp + 0x60]
xor r9d, r9d
mov dl, byte [rbp - 0x74]
add eax, 0x17e
mov cl, byte [rbp + 8]
mov r8b, 0x9c
mov dword [rsp + 0x70], eax
call fcn.1800275ec
movsx edx, word [0x1800537fc]
movsx rcx, al
not edx
mov qword [0x1800537e8], rcx
mov ecx, edi
movzx eax, word [rsp + 0x54]
cmp eax, edx
setge cl
cmp dword [0x180053830], ecx
ja 0x1800240b8
mov al, byte [0x18005371e]
movsx eax, word [0x1800537b4]
sub eax, 0xf26a
mov dword [0x1800537dc], 0x1fea8d31
movsxd rcx, eax
mov rax, qword [0x180053858]
sub rax, rcx
mov qword [0x180053858], rax
jmp 0x1800240cb
mov ecx, dword [0x180053850]
add ecx, 0x1b5eb9bf
add rbx, rcx
mov qword [rbp - 0x58], rbx
mov eax, dword [rsp + 0x60]
lea rcx, [rbp + 0x2050]
add eax, 0x186
mov dword [rsp + 0x70], eax
movabs rax, 0x636f6c6c616572
mov qword [rbp + 0x2050], rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rbp - 0x60], eax
mov edx, 0xffffe0b5
mov eax, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x68]
add eax, 0x386
add ecx, 0x386
xor ecx, eax
mov eax, dword [rsp + 0x68]
sub edx, ecx
mov ecx, dword [rsp + 0x70]
sub edx, eax
add ecx, edx
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x68]
add edx, ecx
mov ecx, dword [0x18005380c]
add eax, edx
mov dword [rbp - 0x50], eax
mov edx, edi
mov rax, rbx
not rax
cmp rcx, rax
mov eax, edi
setne dl
cmp qword [rbp - 0x20], 0xaf4b
setbe al
cmp edx, eax
jne 0x180024198
mov r9d, dword [rsp + 0x7c]
xor r8d, r8d
movzx ecx, byte [0x18005374b]
xor edx, edx
mov qword [rsp + 0x20], rdi
call fcn.180027200
movzx edx, ax
mov qword [rbp + 8], rdx
test ax, ax
je 0x1800241ac
movsx eax, word [0x1800537fc]
sub eax, 0x2b27538f
mov dword [0x1800537f0], eax
mov dword [0x180053800], 0xf1fd128e
jmp 0x1800241ac
movzx eax, word [rsp + 0x54]
mov ecx, 0x2f46
sub ax, cx
mov word [0x1800537f8], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add eax, 0x17d
mov dword [rbp - 0x10], eax
movzx eax, word [0x1800537fc]
cmp word [0x18005379c], ax
jle 0x1800241e0
mov eax, dword [0x180053814]
sar eax, 1
mov word [rbp + 8], ax
jmp 0x1800241fb
movzx eax, word [rsp + 0x54]
test ax, ax
jne 0x1800241fb
movabs rax, 0x740b560eab97
mov qword [0x180053848], rax
mov eax, dword [rsp + 0x60]
add eax, 0xe7a8
mov dword [rsp + 0x70], eax
movsx ecx, word [0x18005378c]
not ecx
test ecx, ecx
je 0x18002422a
lea rcx, [0x18003c758]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1800537dc], eax
jmp 0x18002427f
mov rcx, qword [0x1800537e8]
movsxd rax, dword [0x180053810]
cmp rcx, rax
jg 0x180024251
mov ecx, dword [0x1800537f4]
movzx eax, byte [rbp - 0x7c]
sub ecx, eax
mov dword [0x1800537f4], ecx
jmp 0x18002427f
movzx eax, word [0x180053840]
mov rax, qword [0x180053858]
xor rax, qword [0x180053820]
mov qword [0x180053858], rax
mov rax, qword [0x1800537e8]
shl rax, 4
mov word [0x180053804], ax
mov eax, dword [rsp + 0x60]
add eax, 0xf0a9
mov dword [rsp + 0x70], eax
mov ecx, dword [0x180053734]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x180053838]
test eax, eax
je 0x1800243dc
movsx r9d, word [0x1800537fc]
mov edx, 0x28
mov r8d, 0xe6
lea ecx, [rdx + 0x19]
call fcn.180027320
mov edx, dword [rbp - 0x7c]
movsxd rcx, eax
mov eax, edi
mov qword [0x180053820], rcx
movsx ecx, word [0x180053844]
movzx r9d, dl
imul ecx, r9d
test dl, dl
sete al
cmp ecx, eax
jg 0x180024387
mov eax, dword [0x180053734]
not eax
test eax, eax
jne 0x180024305
mov eax, dword [0x18005381c]
mov r8d, r14d
test eax, eax
je 0x180024308
mov r8d, edi
movsx eax, word [rsp + 0x64]
mov edx, edi
cmp dword [0x180053810], eax
mov eax, dword [0x18005381c]
cmovl edx, r8d
not eax
cmp eax, edx
je 0x180024334
mov rax, qword [rbp - 0x20]
mov byte [0x180bf819d], al
jmp 0x1800243f7
movzx eax, word [rsp + 0x58]
mov ecx, edi
test ax, ax
mov r8d, edi
mov edx, edi
sete cl
cmp r9d, ecx
movsx ecx, word [rsp + 0x50]
mov eax, dword [0x180053800]
setae r8b
cmp ecx, eax
setg dl
cmp r8d, edx
jae 0x1800243f7
movzx eax, word [rsp + 0x58]
movsx rcx, word [0x1800537fc]
test ax, ax
cmovne rcx, qword [0x180053858]
mov qword [0x1800537e0], rcx
jmp 0x1800243f7
movzx eax, word [0x180053818]
test ax, ax
je 0x1800243f7
movzx eax, word [rsp + 0x50]
movzx ecx, word [rsp + 0x58]
movzx eax, word [rsp + 0x64]
movzx edx, al
mov eax, dword [0x180053800]
movzx r8d, cl
not al
imul r8d, edx
cmp word [rsp + 0x74], di
mov dword [0x1800537f0], 0x9fab
sete cl
xor cl, al
mov al, bl
sub al, cl
movzx ecx, r8b
movzx edx, al
imul edx, ecx
mov byte [rbp - 0x6c], dl
jmp 0x1800243f7
cmp word [rbp - 0x78], di
je 0x1800243f7
movsx eax, word [rbp - 0x28]
imul ecx, eax, 0xc770
mov byte [0x18005374b], 0xa5
mov dword [rsp + 0x6c], ecx
movsx r8d, word [rsp + 0x5c]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.180027320
mov word [rbp - 0x74], ax
movzx eax, word [rsp + 0x54]
cmp rax, rbx
jle 0x180024429
mov eax, dword [rsp + 0x6c]
imul ecx, eax, 0x59a3
mov dword [0x1800537dc], ecx
jmp 0x180024490
movsx eax, word [rbp - 0x5c]
mov edx, edi
mov ecx, dword [0x1800537f4]
cmp ecx, eax
movsx eax, word [0x180053804]
setne dl
cmp eax, edx
jl 0x180024490
mov r8d, dword [0x180053838]
mov edx, edi
mov eax, dword [rsp + 0x6c]
imul r8d, eax
movzx eax, word [0x180053840]
movzx ecx, al
mov eax, dword [0x1800537f4]
test r8d, r8d
cmove edx, ecx
movzx ecx, dl
movzx edx, al
movzx eax, word [rsp + 0x50]
imul edx, ecx
movzx ecx, dl
movzx edx, al
movzx eax, byte [rbp - 0x78]
imul edx, ecx
movzx ecx, dl
imul ecx, eax
mov byte [rbp - 0x7c], cl
mov r9d, dword [rbp - 0x18]
mov eax, dword [rbp - 0x18]
xor r9d, eax
mov ecx, dword [rbp - 0x40]
mov eax, dword [rbp - 0x40]
xor ecx, eax
mov edx, dword [rbp - 0x64]
sub r9d, ecx
mov eax, dword [rbp - 0x64]
add edx, eax
mov eax, dword [rbp - 0x18]
mov ecx, dword [rsp + 0x70]
imul r8d, eax, 0x249
mov eax, dword [rbp - 0x10]
xor ecx, eax
xor ecx, 0xf0f1
xor r8d, edx
imul r8d, r9d
sub ecx, r8d
mov dword [rsp + 0x70], ecx
cmp byte [rbp - 0x34], dil
jne 0x180024737
mov rax, qword [rbp + 0x18]
mov r8, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rax + r12*8]
mov rdx, qword [rdx]
call fcn.180025e30
test eax, eax
je 0x180024737
movzx eax, byte [0x18005371e]
movsx ebx, word [rbp - 0x28]
mov edx, ebx
sub edx, eax
mov al, byte [0x18005371e]
add al, dl
mov byte [0x18005371e], al
mov ecx, dword [0x180053838]
mov eax, dword [rsp + 0x78]
xor ecx, eax
mov dword [0x180053838], ecx
movzx eax, word [rsp + 0x54]
cmp eax, dword [0x180053810]
je 0x1800246bc
xor ecx, ecx
call fcn.18002773c
mov word [0x180053808], ax
cmp byte [rbp - 0x6c], dil
je 0x180024657
movzx ecx, byte [rbp - 0x7c]
cmp r15d, ecx
jge 0x180024624
mov eax, dword [0x180053810]
mov edx, 0x18a1
add eax, 0xffff10c2
movsxd rcx, eax
mov rax, qword [0x180053858]
sub rax, rcx
mov ecx, edi
mov qword [0x180053858], rax
movzx eax, word [rsp + 0x58]
cmp ax, dx
setne cl
sub cx, r14w
mov word [rsp + 0x5c], cx
mov r12d, dword [rsp + 0x7c]
mov eax, dword [0x180b88880]
mov r15d, dword [rbp - 0x7c]
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x60]
mov eax, dword [rbp - 0x50]
add ecx, eax
mov dword [rbp - 0x68], ecx
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x70]
add ecx, eax
mov dword [rsp + 0x70], ecx
mov eax, dword [0x180053838]
mov eax, dword [rsp + 0x60]
add eax, 0x3cc
mov dword [rsp + 0x70], eax
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x68]
imul ecx, eax
mov eax, dword [rsp + 0x70]
add eax, 0x1c6
cmp ecx, eax
je 0x180024740
movsx eax, word [0x18005378c]
movzx ecx, word [0x180053808]
add eax, 0xdd5e
mov dword [rbp - 0x60], eax
add cx, cx
movzx eax, word [rsp + 0x58]
sub cx, ax
mov word [0x180053808], cx
jmp 0x180024740
mov eax, edi
not ebx
cmp ebx, 0xffffff64
setl al
cmp ecx, eax
jae 0x18002459d
mov eax, dword [rsp + 0x6c]
test eax, eax
movzx ecx, word [0x180053810]
cmovne cx, word [rbp - 0x74]
mov word [0x180053844], cx
jmp 0x18002459d
mov rax, qword [0x180053828]
test rax, rax
je 0x18002468c
movzx eax, word [rsp + 0x58]
sub ax, word [0x180bf65b8]
mov word [rsp + 0x58], ax
mov eax, dword [0x18005381c]
lea r12d, [rax + rax*2]
shl r12d, 5
mov dword [rsp + 0x7c], r12d
jmp 0x1800245a2
cmp word [0x18005379c], di
mov r12d, dword [rsp + 0x7c]
je 0x1800245a2
movsx rax, word [0x180053804]
mov rcx, qword [0x180053858]
sub rcx, rax
mov qword [0x180053858], rcx
jmp 0x1800245a2
cmp word [rsp + 0x74], di
je 0x180024708
movzx eax, byte [rbp - 0x6c]
mov edx, edi
cmp qword [rbp - 0x58], rdi
sete dl
xor edx, eax
movsx eax, word [0x18005378c]
imul eax, dword [rbp - 0x60]
add eax, edx
cmp dword [0x18005380c], edi
mov qword [0x180053828], rax
movsx rax, word [0x18005379c]
jne 0x1800246fd
mov rax, qword [0x180053848]
mov dword [0x180053800], eax
jmp 0x18002459d
cmp byte [0x180053733], dil
mov r12d, dword [rsp + 0x7c]
je 0x1800245a2
movzx eax, r12w
neg ax
mov word [rsp + 0x74], ax
mov eax, dword [0x180b88880]
mov dword [0x18005381c], eax
jmp 0x1800245a2
mov r15d, dword [rbp - 0x7c]
mov r12d, dword [rsp + 0x7c]
mov eax, dword [rbp + 4]
add r13d, r14d
mov dword [rbp - 0x3c], r13d
cmp r13d, eax
jb 0x180023a1a
mov dword [rbp - 0x64], edi
mov r15d, edi
test eax, eax
je 0x18002541a
mov r13d, dword [rbp - 0x5c]
cmp word [0x1800537fc], di
mov eax, edi
movsx esi, word [rbp - 0x78]
mov rbx, qword [rbp - 0x48]
cmove eax, esi
movsxd rcx, eax
mov r9, rbx
mov eax, dword [rsp + 0x6c]
sub r9, rax
movsx r8d, r13w
movsx eax, word [0x180053844]
and r9, rcx
movsx edx, word [0x180053804]
sub r8d, eax
movzx eax, word [0x180053834]
mov ecx, edi
sub edx, eax
mov eax, edi
xor edx, r8d
test r9, r9
cmove ecx, edx
test ecx, ecx
sete al
mov word [rsp + 0x50], ax
mov rax, qword [0x180053828]
test rax, rax
jne 0x1800247f0
mov eax, dword [0x18005374c]
test eax, eax
je 0x1800247f0
movsx ecx, word [rsp + 0x64]
shl ecx, 8
mov dword [0x180053838], ecx
mov ebx, dword [rsp + 0x78]
add ebx, 0x7197
mov qword [rbp - 0x48], rbx
mov eax, dword [0x180b88880]
mov ecx, dword [0x180053810]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x60]
add eax, 0x34a
mov dword [rsp + 0x70], eax
mov rax, qword [0x1800537e0]
test rax, rax
jne 0x1800248c9
movsx eax, word [rbp - 0x28]
mov ecx, dword [0x1800537f4]
cmp eax, ecx
jge 0x180024858
movsx eax, word [rsp + 0x5c]
neg eax
mov dword [rbp - 0x70], eax
mov eax, dword [0x180053800]
test eax, eax
je 0x18002484c
movsx ecx, word [rsp + 0x64]
jmp 0x180024852
mov ecx, dword [0x180053830]
mov dword [rsp + 0x78], ecx
jmp 0x1800248c9
cmp word [0x1800537fc], di
je 0x180024889
mov eax, dword [0x18005381c]
movzx ecx, word [0x180053804]
add cx, cx
add ax, cx
mov word [0x180053804], ax
lea eax, [rbx + 0x5c639803]
mov dword [0x1800537f0], eax
jmp 0x1800248c9
cmp word [rsp + 0x74], di
mov edx, edi
movsx eax, word [rsp + 0x50]
sete dl
cmp eax, edx
jge 0x1800248c9
mov rax, qword [0x180053848]
mov ecx, 0xffff9812
movsx ecx, cx
movsx edx, ax
imul edx, ecx
movsx rcx, word [rsp + 0x50]
sar rcx, 8
mov qword [0x180053820], rcx
mov word [0x1800537fc], dx
mov eax, dword [rsp + 0x60]
add eax, 0x115
mov dword [rbp - 0x10], eax
mov eax, dword [0x180053800]
cmp eax, dword [0x180053814]
jle 0x1800248f2
mov eax, dword [0x180053850]
add eax, 0xbf8f8efd
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x60]
add eax, 0x2cc
mov dword [rsp + 0x70], eax
mov ecx, dword [rsp + 0x70]
mov eax, dword [rbp - 0x10]
cmp ecx, eax
je 0x180025409
mov ecx, dword [0x18005381c]
mov eax, dword [0x1800537f4]
movzx edx, ax
movzx eax, cx
movzx ecx, word [0x1800537dc]
imul eax, edx
sub cx, ax
mov eax, dword [rbp - 0x74]
sub cx, ax
mov word [0x180053834], cx
movsx ecx, ax
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov ecx, dword [0x18005380c]
mov word [rsp + 0x54], ax
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x60]
add eax, 0x38d
mov dword [rbp - 0x68], eax
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [rsp + 0x74], eax
test ax, ax
je 0x1800249ea
xor ecx, ecx
call fcn.180027480
mov word [rsp + 0x50], ax
mov edx, edi
movzx eax, word [rsp + 0x50]
mov ecx, edi
cmp ax, 0x2f
movzx eax, word [rsp + 0x50]
sete dl
test ax, ax
sete cl
cmp ecx, edx
jbe 0x1800249ea
cmp byte [0x18005371f], dil
je 0x1800249c4
movzx eax, word [0x180053834]
mov ecx, dword [0x1800537f4]
sub ecx, eax
mov dword [0x1800537f4], ecx
jmp 0x1800249ea
imul eax, dword [0x180053850], 0xa830
movzx ecx, word [0x180053840]
and cx, ax
mov word [0x180053840], cx
movzx eax, word [rsp + 0x54]
shr eax, 6
mov dword [rbp - 0x80], eax
mov eax, dword [rsp + 0x60]
mov r9d, dword [rbp - 0x60]
add eax, 0x20d
mov dword [rsp + 0x70], eax
mov rax, qword [0x180053820]
lea rcx, [rax + rax]
mov eax, dword [rsp + 0x60]
add eax, 0xee
sub rcx, r9
mov qword [0x180053820], rcx
mov dword [rsp + 0x68], eax
mov eax, dword [rbp - 0x38]
add eax, 0x1fa
cmp eax, 0x4a
je 0x180025409
movzx eax, byte [0x180053834]
cmp word [0x1800537fc], di
movzx ecx, byte [0x180053808]
cmovne ecx, eax
mov ebx, r15d
movzx eax, word [0x180053818]
add r13w, ax
mov byte [0x180053733], cl
mov rax, qword [rbp + 0x18]
mov dword [rbp - 0x5c], r13d
mov rax, qword [rax + rbx*8]
cmp dword [rax + 0x10c], edi
jbe 0x180025409
movzx eax, word [rbp - 0x58]
mov ecx, 0x369f
sub ax, cx
mov edx, 0x352
mov word [0x1800537b4], ax
movzx eax, word [rsp + 0x50]
test ax, ax
je 0x180024a9d
movsx ecx, word [0x180053818]
jmp 0x180024aa3
mov ecx, dword [0x18005380c]
mov dword [rbp - 0x80], ecx
mov al, byte [0x18005371e]
add al, r14b
mov byte [0x18005371e], al
sub rdx, r14
jne 0x180024a8a
mov eax, dword [0x180b88880]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add eax, 0x239
mov dword [rsp + 0x70], eax
movzx eax, word [rsp + 0x50]
sub ax, 0x7b
mov word [0x180053834], ax
mov eax, dword [rbp - 0x7c]
sub al, byte [0x180beb4b0]
mov dword [rbp - 0x7c], eax
mov eax, dword [rsp + 0x60]
movzx edx, byte [0x18005374b]
add eax, 0x97
cmp dword [0x180053810], edx
mov dword [rsp + 0x70], eax
je 0x180024b19
mov eax, dword [rsp + 0x78]
add dl, dl
sub dl, al
mov byte [0x18005374b], dl
jmp 0x180024b4d
cmp byte [0x18005371f], dil
je 0x180024b4d
mov eax, dword [rsp + 0x6c]
test eax, eax
movzx ecx, byte [0x18005374b]
mov edx, dword [0x180053820]
cmovne edx, ecx
mov ecx, dword [rbp - 0x6c]
add cl, cl
mov dword [rsp + 0x6c], edx
mov rax, qword [0x180053828]
add cl, al
mov dword [rbp - 0x6c], ecx
mov eax, dword [rsp + 0x60]
mov ecx, 0xadcd2c99
add eax, 0x201
mov dword [0x180053850], ecx
mov dword [rbp - 0x40], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x5232d367
cmp dword [0x180053850], eax
jne 0x180024b7a
movzx eax, word [rsp + 0x50]
movzx eax, word [0x18005378c]
lea rdx, [rbp + 0x40]
movzx eax, word [rsp + 0x50]
mov r9d, 0x2000
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov dword [0x180053850], ecx
mov ecx, 0x5f55
mov qword [rsp + 0x38], rdi
add ax, cx
mov qword [rsp + 0x30], rdi
lea rcx, [fcn.180031240]
mov qword [rsp + 0x28], rdi
mov word [0x180053808], ax
mov qword [rsp + 0x20], rdi
call fcn.1800181fc
cmp byte [rbp - 0x34], dil
jne 0x180024c07
mov rax, qword [rbp + 0x18]
lea r8, [rbp + 0x40]
mov rcx, qword [rbp + 0x20]
mov r9d, 0x400
mov rdx, qword [rax + rbx*8]
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x20], rax
mov rdx, qword [rdx]
call fcn.1800189ec
mov ebx, eax
jmp 0x180024c09
mov ebx, edi
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x68]
sub ecx, eax
mov eax, dword [rsp + 0x68]
add ecx, eax
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x68]
add edx, ecx
cmp eax, edx
je 0x180025409
movzx edx, byte [0x18005374b]
mov r8d, edi
cmp dx, word [0x18005379c]
mov eax, edi
setg r8b
cmp dl, 0x60
seta al
cmp r8d, eax
ja 0x180024c84
movzx edx, word [rsp + 0x54]
mov ecx, 0x162
movsx eax, word [rsp + 0x5c]
not edx
sub edx, eax
mov dword [0x180053800], edx
mov eax, dword [0x180053838]
mov eax, dword [0x1800537dc]
movsx edx, word [0x1800537b4]
xor eax, edx
sub rcx, r14
jne 0x180024c77
mov dword [0x1800537dc], eax
movsx ecx, word [rsp + 0x50]
mov eax, 0x296a
mov word [0x1800537fc], ax
inc ecx
movsx eax, word [0x1800537fc]
cmp eax, ecx
jne 0x180024dbc
mov ecx, dword [rbp - 0x60]
xor edx, edx
lea r9d, [rdx + 0x6c]
lea r8d, [r9 + 0x66]
call fcn.180027320
movzx ecx, ax
mov word [0x180053808], ax
not cx
movzx edx, cx
mov ecx, edi
shr edx, 0xf
cmp ax, 0x22
setge cl
cmp edx, ecx
jb 0x180024d2f
mov eax, dword [0x180053800]
mov edx, edi
cmp eax, dword [0x18005383c]
mov ecx, edi
mov eax, dword [0x180053800]
sete dl
cmp eax, 5
sete cl
cmp edx, ecx
jbe 0x180024d16
cmp word [rbp - 0x28], di
je 0x180024d08
movzx eax, word [rsp + 0x5c]
jmp 0x180024d0e
mov al, byte [0x18005383c]
mov byte [0x180053733], al
jmp 0x180024d73
movzx eax, word [rsp + 0x5c]
add r13w, r13w
mov eax, dword [0x180053734]
add r13w, ax
mov dword [rbp - 0x5c], r13d
jmp 0x180024d73
movzx eax, word [rsp + 0x58]
movzx ecx, word [rbp + 8]
test ax, ax
movsxd rax, dword [0x1800536f4]
cmovne cx, word [0x180053828]
mov rdx, qword [rbp - 0x48]
sub rdx, rax
mov word [0x1800537f8], cx
movsx eax, word [0x180053804]
mov ecx, edi
sub eax, dword [0x1800537dc]
not rdx
add rax, rdx
sete cl
mov dword [rbp - 0x80], ecx
cmp dword [0x1800537f0], r14d
jne 0x180024dbc
cmp dword [0x180053814], edi
je 0x180024db2
mov eax, dword [rsp + 0x78]
mov ecx, edi
cmp qword [rbp - 0x20], rax
mov r8d, 0x55
mov eax, edi
setae cl
cmp qword [rbp - 0x20], r8
setae al
cmp ecx, eax
jae 0x180024dbc
mov eax, dword [rsp + 0x6c]
add al, 0x5f
mov byte [0x18005374b], al
jmp 0x180024dbc
mov eax, 4
mov word [rsp + 0x64], ax
mov eax, 0x296a
mov word [0x1800537fc], ax
mov eax, dword [0x180053734]
sub dword [0x180053850], esi
mov rsi, qword [rbp - 0x58]
mov rcx, rsi
mov word [0x180053804], ax
call qword [sym.imp.USER32.dll_GetParent]
mov dword [0x18005381c], eax
mov eax, dword [0x18005381c]
test eax, eax
jg 0x180024e38
movzx eax, word [0x180053840]
mov edx, edi
cmp ax, word [rbp - 0x28]
mov ecx, edi
movzx eax, word [0x180053840]
setl dl
cmp ax, 0x1f
setl cl
cmp edx, ecx
jb 0x180024e2b
movsx r12d, word [0x180053804]
mov dword [rsp + 0x7c], r12d
jmp 0x180024e38
test rsi, rsi
je 0x180024e38
lea eax, [r13 - 0x22]
mov word [rbp - 0x78], ax
mov eax, dword [0x180b88880]
mov r9d, dword [rbp - 0x60]
mov dword [rsp + 0x60], eax
mov eax, 0x885
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x60]
add eax, 0x113
mov dword [rbp - 0x10], eax
movsx eax, byte [0x180053733]
cmp eax, r9d
jne 0x180025034
mov ecx, 0x26
call fcn.180027480
mov word [rsp + 0x5c], ax
movzx eax, word [rsp + 0x5c]
test ax, ax
je 0x180024fca
movsxd rcx, dword [0x18005374c]
mov rax, qword [0x180053858]
add eax, ecx
movsx ecx, r13w
mov dword [0x18005374c], eax
mov eax, 0xffffeea2
cwde
imul ecx, eax
mov word [0x180053804], cx
mov r9d, dword [rbp - 0x60]
mov eax, dword [rsp + 0x60]
mov esi, 4
add eax, 0x110
mov dword [rbp - 0x74], esi
mov dword [rsp + 0x70], eax
movzx eax, word [0x180053808]
add ax, ax
sub ax, r13w
mov word [0x180053808], ax
mov eax, dword [rsp + 0x60]
add eax, 0x13b
mov dword [rsp + 0x70], eax
movzx eax, word [rsp + 0x5c]
movzx eax, word [rbp - 0x70]
shl ax, 4
mov word [0x1800537f8], ax
movzx eax, word [0x180b88880]
mov word [rsp + 0x5c], ax
mov eax, dword [rbp - 0x40]
imul ecx, eax, 0x33
mov eax, dword [rbp - 0x40]
imul edx, eax, 0x33
xor edx, ecx
mov ecx, dword [rsp + 0x70]
mov eax, dword [rbp - 0x10]
or ecx, eax
sub ecx, edx
add ecx, 0x210
mov dword [rsp + 0x70], ecx
test ebx, ebx
je 0x180025409
mov eax, dword [0x1800537f4]
movzx ecx, word [0x180053834]
add eax, r14d
mov r8d, dword [rbp - 0x78]
add ecx, 0xffff11d4
mov dword [0x1800537f4], eax
mov edx, dword [rsp + 0x78]
mov rax, qword [0x1800537e0]
movsx ebx, r8w
add ecx, ebx
add ecx, r9d
add rdx, rcx
mov ecx, edi
add ax, dx
mov word [rsp + 0x54], ax
movzx eax, byte [rbp - 0x7c]
cmp eax, r12d
mov eax, dword [0x180053734]
seta cl
cmp ecx, eax
jle 0x1800250e8
movzx ecx, byte [0x18005371e]
mov eax, dword [0x18005374c]
sub ecx, eax
mov eax, dword [0x18005374c]
add eax, ecx
mov dword [0x18005374c], eax
movzx ecx, word [0x180053844]
movzx eax, word [0x18005378c]
xor cl, al
mov byte [0x18005371f], cl
jmp 0x180025106
movzx ecx, word [rsp + 0x58]
mov eax, dword [rsp + 0x78]
cmp ecx, eax
jae 0x180024eb3
movsxd rcx, dword [0x180053800]
movsx rdx, word [0x180053818]
movsx rax, word [rbp - 0x28]
xor rdx, rsi
xor rcx, rax
not rdx
movsx eax, word [0x1800537fc]
imul rdx, rcx
mov ecx, dword [0x18005381c]
and ecx, eax
mov eax, dword [rbp - 0x70]
not eax
add ecx, eax
not ecx
inc rcx
add rcx, rdx
not rcx
mov qword [0x180053828], rcx
mov eax, dword [rsp + 0x6c]
sub word [0x180053808], ax
jmp 0x180024eb3
mov rax, qword [0x180053848]
cmp rax, 0x66b269ce
jbe 0x180025072
movzx eax, word [0x18005379c]
mov ecx, edi
shl ax, 6
mov word [0x180053818], ax
movzx eax, word [rsp + 0x58]
imul rax, qword [rbp - 0x48]
test rax, rax
sete cl
mov dword [0x18005381c], ecx
jmp 0x180024eb7
movzx eax, word [rsp + 0x54]
test ax, ax
je 0x1800250a5
movzx eax, word [0x180053834]
mov ecx, edi
and eax, 0x8a34
mov edx, r9d
sub edx, eax
mov eax, dword [rsp + 0x6c]
test eax, eax
sete cl
xor ecx, edx
mov dword [0x18005380c], ecx
jmp 0x180024eb7
movsx eax, word [0x1800537fc]
not eax
movsxd rcx, eax
mov rax, rsi
not rax
add rcx, rax
not rcx
test rcx, rcx
je 0x180024eb7
mov eax, dword [0x180053800]
shl ax, 7
mov word [0x180053834], ax
mov eax, 0x234
mov word [0x18005378c], ax
jmp 0x180024eb7
mov esi, dword [rbp - 0x70]
mov eax, 0xffff
add word [0x180053834], ax
test r8w, r8w
cmovne si, word [0x1800537e0]
mov dword [rbp - 0x74], esi
mov ecx, dword [0x1800537f0]
mov edx, edi
cmp rcx, qword [0x180053820]
mov eax, dword [0x180b88880]
setl dl
mov dword [rsp + 0x60], eax
cmp ecx, 0x4b
mov eax, edi
setb al
cmp edx, eax
ja 0x180025177
movzx ecx, word [rsp + 0x58]
mov edx, edi
add ecx, 0x55
movsx eax, r13w
imul eax, eax, 0x82f9
cdqe
mov qword [0x180053820], rax
mov eax, dword [rsp + 0x78]
test eax, eax
movzx r8d, word [rsp + 0x54]
mov eax, r12d
sete dl
not eax
xor edx, ecx
mov ecx, dword [0x1800537f4]
imul ecx, eax
imul r8d, edx
imul ecx, r8d
mov dword [rbp - 0x80], ecx
jmp 0x1800251a0
cmp word [0x1800537f8], di
je 0x1800251a0
movzx esi, word [0x180053818]
mov ecx, 0x9f
movzx eax, word [rsp + 0x50]
add si, cx
movzx ecx, al
imul eax, ecx, 0x25
mov dword [rbp - 0x74], esi
mov byte [rbp - 0x6c], al
mov eax, dword [rsp + 0x60]
movzx ecx, r12w
add eax, 0x3b5
mov dword [rbp - 0x68], eax
call fcn.180027480
movzx ecx, word [rsp + 0x54]
movzx eax, ax
mov dword [0x180053830], eax
mov eax, dword [0x180053850]
add eax, 0x2d020685
add ecx, eax
mov eax, dword [rsp + 0x60]
add eax, 0x1a4
mov dword [0x180053850], ecx
cmp word [0x1800537b4], di
mov dword [rsp + 0x68], eax
movsx eax, si
mov dword [0x1800537f4], eax
mov eax, r12d
cmovne eax, dword [0x180053814]
mov ecx, dword [rsp + 0x60]
mov dword [rbp - 0x70], eax
mov eax, dword [rsp + 0x70]
add ecx, eax
mov dword [rsp + 0x70], ecx
mov ecx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x68]
or ecx, eax
mov edx, dword [rsp + 0x68]
add edx, 0x92
xor edx, ecx
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x68]
imul ecx, eax
cmp ecx, edx
je 0x180025409
mov rcx, qword [0x1800537e8]
movzx eax, byte [rbp - 0x7c]
cmp rax, rcx
jge 0x180025306
mov eax, dword [0x180053734]
cmp ebx, eax
jg 0x180025279
movzx eax, byte [0x180c10366]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, 0x29f3
add ax, word [0x180053810]
mov word [rbp - 0x74], ax
mov dword [rsp + 0x6c], ecx
jmp 0x18002531c
movzx eax, byte [rbp - 0x6c]
cmp eax, 0x43e67ec
jb 0x1800252fa
movzx eax, word [rsp + 0x54]
cmp dword [0x180053830], edi
je 0x1800252c5
movzx ecx, word [rsp + 0x64]
mov eax, dword [rsp + 0x6c]
or cl, al
mov al, byte [rbp - 0x20]
sub al, 0xf
xor cl, al
movzx eax, cl
movzx ecx, byte [0x180053810]
imul ecx, eax
mov rax, qword [0x180053858]
mov qword [0x180053848], rax
not cl
mov byte [rbp - 0x6c], cl
jmp 0x18002531c
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x1800252da
mov rax, qword [0x180053828]
test rax, rax
je 0x18002531c
movsx rax, word [rbp + 8]
mov esi, dword [rbp - 0x78]
cmp rcx, rax
je 0x18002531f
movsx ecx, word [rsp + 0x64]
sub cx, word [0x1800537fc]
mov word [rsp + 0x64], cx
jmp 0x18002531f
movzx esi, word [0x180b88880]
mov dword [rbp - 0x78], esi
jmp 0x18002531f
mov rax, qword [0x180053828]
mov ecx, 0x6c68
sub ax, cx
mov word [0x1800537f8], ax
mov esi, dword [rbp - 0x78]
mov r12, qword [rbp - 0x48]
mov r15, qword [rbp - 0x28]
movsx ebx, r13w
mov r13d, dword [rbp - 0x60]
add ebx, 0xdd
cmp dword [0x1800537dc], ebx
mov byte [0x18005374b], 0xdd
jne 0x1800253f8
mov ecx, 0x3a
call fcn.180027480
movzx eax, ax
mov dword [0x18005381c], eax
mov eax, dword [0x18005381c]
test eax, eax
jne 0x18002536b
mov qword [rbp - 0x20], r12
jmp 0x1800253e3
mov eax, dword [0x180053850]
not eax
test eax, eax
je 0x180025399
movzx eax, word [rsp + 0x58]
mov ecx, 0x5043
sub ax, cx
mov word [0x180053818], ax
mov eax, dword [0x1800536f4]
add dword [0x18005380c], eax
jmp 0x1800253e3
test si, si
jne 0x1800253ac
test r13d, r13d
jne 0x1800253ac
cmp qword [0x180053820], rdi
je 0x1800253e3
movsx ecx, word [0x180053840]
movsx eax, word [0x180053804]
sub ecx, eax
movsx r15d, r15w
movzx eax, word [0x180053840]
add ax, cx
mov ecx, r14d
mov word [0x180053840], ax
movzx eax, word [rsp + 0x64]
sub cx, ax
movsx eax, cx
imul r15d, eax
mov eax, dword [rsp + 0x78]
sub eax, 0x1279d619
cmp dword [0x180053850], eax
je 0x180025335
mov r12d, dword [rsp + 0x7c]
mov r13d, dword [rbp - 0x5c]
mov qword [rbp - 0x28], r15
mov r15d, dword [rbp - 0x64]
add r15d, r14d
mov dword [rbp - 0x64], r15d
cmp r15d, dword [rbp + 4]
jb 0x180024765
movsxd rcx, dword [0x1800536f4]
mov rax, qword [0x180053848]
sub ecx, eax
mov dword [0x1800536f4], ecx
cmp dword [rbp + 4], edi
jbe 0x180025473
mov rsi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x38]
mov rcx, qword [rsi]
mov ebx, edi
cmp dword [rcx + 0x10c], edi
jbe 0x18002546a
mov eax, ebx
lea rcx, [rcx + rax*8]
add rcx, 0x110
call fcn.18001aeb0
mov rcx, qword [rsi]
add ebx, r14d
cmp ebx, dword [rcx + 0x10c]
jb 0x18002544a
add rsi, 8
sub r15, r14
jne 0x18002543d
mov eax, dword [0x18003c9b8]
lea rcx, [rbp + 0x20a0]
movups xmm0, xmmword [str.Unable_to_perform]
mov dword [rbp + 0x20c0], eax
movups xmm1, xmmword [0x18003c9a8]
movzx eax, word [0x18003c9bc]
movups xmmword [rbp + 0x20a0], xmm0
mov word [rbp + 0x20c4], ax
movups xmmword [rbp + 0x20b0], xmm1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [0x180053840], ax
xor eax, eax
mov rcx, qword [rbp + 0x21e0]
xor rcx, rsp
call fcn.18002fd30
lea r11, [rsp + 0x22f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret