Function at 0x140046a70
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov r15, rdx
mov r13, rcx
mov edx, 1
mov rcx, qword [r15 + 0x48]
call fcn.140026700
mov rcx, qword [r15 + 0x48]
mov edx, 0x10
mov edi, eax
call fcn.140026700
mov r12d, dword [rbp + 0x258]
mov r14d, dword [rbp + 0x250]
xor esi, esi
mov ebx, eax
lea ecx, [rsi + 0x11]
test edi, edi
jne 0x140046adf
test eax, eax
je 0x140046ebe
mov r13d, esi
mov dword [rbp - 0x5c], esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140046b0d
mov rcx, qword [r15 + 0x48]
mov edx, 2
call fcn.140026700
mov edi, esi
mov ebx, esi
mov r13d, eax
mov dword [rbp - 0x5c], eax
test r14d, r14d
je 0x140046b4d
mov r14, qword [rbp + 0x230]
mov eax, dword [r14 + 0x94]
test eax, eax
jne 0x140046b32
mov rcx, qword [r14 + 0x30]
mov edx, r12d
call fcn.1400b96d0
jmp 0x140046b42
cmp eax, 6
jne 0x140046b42
mov rdx, r15
mov rcx, r14
call fcn.14004dea0
mov dword [r14 + 0x94], 0xc
mov r11d, dword [rbp + 0x240]
mov r10d, dword [0x140270650]
movzx eax, r11w
imul ax, r11w
movsx ecx, ax
test r11d, r11d
jle 0x140046b71
add r10d, ecx
jmp 0x140046b74
sub r10d, ecx
mov ecx, dword [rbp + 0x248]
mov r9d, dword [0x140270654]
movzx eax, cx
imul ax, cx
test ecx, ecx
movsx ecx, ax
jle 0x140046b94
add r9d, ecx
jmp 0x140046b97
sub r9d, ecx
mov dword [0x140270654], r9d
test r13d, r13d
je 0x140046bae
mov r10d, esi
mov dword [0x140270650], esi
jmp 0x140046bee
mov eax, r9d
cdq
mov r8d, eax
mov eax, r10d
xor r8d, edx
sub r8d, edx
cdq
xor eax, edx
sub eax, edx
add eax, eax
cmp eax, r8d
cmovl r10d, esi
mov eax, r10d
mov dword [0x140270650], r10d
cdq
mov ecx, eax
lea eax, [r8 + r8]
xor ecx, edx
sub ecx, edx
cmp eax, ecx
cmovl r9d, esi
mov dword [0x140270654], r9d
mov r13d, dword [rbp + 0x248]
movsxd r14, edi
movsxd r12, ebx
mov r8d, 0xffff8001
mov eax, r10d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jg 0x140046c1f
mov eax, r9d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x140046de0
mov eax, r9d
mov edi, 1
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x140046d0d
or ecx, 0xffffffff
test r13d, r13d
mov eax, 0x51eb851f
cmovg ecx, edi
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul ecx, edx
imul ebx, ecx, 0x78
cmp ebx, 0x7fff
jle 0x140046c65
mov ebx, 0x7fff
jmp 0x140046c6c
cmp ebx, r8d
cmovl ebx, r8d
test r14, r14
je 0x140046c7f
mov r9d, 2
mov r8d, 0x3e8
jmp 0x140046ca0
test r12, r12
je 0x140046c97
test ebx, ebx
mov r8d, esi
setns r8b
xor r9d, r9d
inc r8d
xor edx, edx
jmp 0x140046ca4
xor r9d, r9d
mov r8d, 0x3e9
mov rdx, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x48]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call fcn.1400267e0
mov r9d, dword [0x140270654]
mov r10d, dword [0x140270650]
mov r11d, dword [rbp + 0x240]
mov eax, 0x88888889
imul ebx
add edx, ebx
mov ebx, 0xffffffff
mov r8d, 0xffff8001
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, eax
mov eax, edi
xor ecx, edx
sub ecx, edx
test r13d, r13d
cmovg eax, ebx
imul ecx, eax
imul eax, ecx, 0x64
add r9d, eax
mov dword [0x140270654], r9d
jmp 0x140046d10
or ebx, 0xffffffff
mov eax, r10d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x140046c01
test r11d, r11d
mov eax, 0x51eb851f
cmovg edi, ebx
imul r10d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edi
imul ebx, edx, 0x78
cmp ebx, 0x7fff
jle 0x140046d4e
mov ebx, 0x7fff
jmp 0x140046d55
cmp ebx, r8d
cmovl ebx, r8d
mov dword [rsp + 0x30], esi
test r14, r14
je 0x140046d76
mov rdx, qword [r15 + 0x50]
mov eax, 1
mov r8d, 0x3e8
mov dword [rsp + 0x28], eax
mov r9d, eax
jmp 0x140046d91
test ebx, ebx
mov r8d, esi
mov ecx, 1
setns r8b
xor r9d, r9d
mov dword [rsp + 0x28], ecx
add r8d, 3
xor edx, edx
mov rcx, qword [r15 + 0x48]
mov dword [rsp + 0x20], ebx
call fcn.1400267e0
mov r10d, dword [0x140270650]
mov r9d, dword [0x140270654]
mov r11d, dword [rbp + 0x240]
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
imul eax, edi
imul eax, eax, 0x64
add r10d, eax
mov dword [0x140270650], r10d
jmp 0x140046bfb
mov rcx, qword [rbp + 0x230]
mov r13d, dword [rbp - 0x5c]
cmp dword [rcx + 0x94], 0xc
jne 0x140046e90
test r13d, r13d
je 0x140046e45
mov r13, rcx
mov rcx, qword [rcx + 0x30]
mov edx, 0xa
mov rcx, qword [rcx + 0xe8]
call qword [sym.imp.USER32.dll_KillTimer]
mov rax, qword [r13 + 0x20]
lea rcx, [0x140271408]
mov r8d, dword [rax + 0x4c]
mov r9d, 6
mov rdx, r15
mov qword [rsp + 0x20], r15
call fcn.140008320
mov dword [r13 + 0x94], 6
jmp 0x140046e97
mov rbx, qword [0x1402711c0]
mov edi, 1
lea rcx, [0x140271408]
mov r8d, edi
mov rdx, r15
call fcn.1400086d0
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov r13, qword [rbp + 0x230]
mov dword [r13 + 0x94], esi
jmp 0x140046e9c
mov r13, qword [rbp + 0x230]
mov edi, 1
mov rcx, qword [r15 + 0x48]
call fcn.140026720
test eax, eax
je 0x140046eb0
mov eax, edi
jmp 0x140048e5b
mov r14d, dword [rbp + 0x250]
mov r12d, dword [rbp + 0x258]
mov eax, dword [rbp + 0x248]
mov ebx, dword [rbp + 0x240]
mov rcx, qword [r13 + 0x10]
neg eax
mov edx, ebx
mov r8d, eax
mov dword [rbp + 0x248], eax
call fcn.1400b5cd0
test eax, eax
je 0x140046eff
test r14d, r14d
je 0x140046ef5
mov rcx, qword [r13 + 0x30]
mov edx, r12d
call fcn.1400b96d0
mov eax, 1
jmp 0x140048e5b
mov ecx, 1
mov word [rbp + 0x238], si
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x5c], ecx
test r14d, r14d
je 0x140046f22
mov rcx, qword [r13 + 0x30]
mov edx, r12d
call fcn.1400b96d0
lea rcx, [rbp - 0x70]
call fcn.14007dfc0
mov rcx, qword [r13 + 0x10]
lea rax, [rbp + 0x238]
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400b3d50
mov rdi, rax
test rax, rax
je 0x140046ef5
mov rax, qword [r15 + 0x48]
mov ecx, dword [rax + 0x7e0]
cmp dword [r13 + 0x60], ecx
je 0x140046f89
mov dword [r13 + 0x60], ecx
mov rax, qword [r15 + 0x48]
cmp dword [rax + 0x7e0], 1
mov rax, qword [r13 + 0x20]
jne 0x140046f82
mov byte [rax + 0xb9], 1
jmp 0x140046f89
mov byte [rax + 0xb9], sil
test byte [0x140271e3c], 4
jne 0x140046fa8
mov rax, qword [r15 + 0x48]
cmp dword [rax + 0x7e0], 1
je 0x140046fa8
movzx ecx, word [rbp + 0x238]
jmp 0x14004701e
mov eax, 0x10
mov ecx, eax
mov word [rbp + 0x238], ax
cmp qword [r13 + 0x58], rdi
je 0x140046ffb
mov rcx, qword [r13 + 0x20]
mov r8, r15
mov rdx, rdi
add rcx, 0x18
call fcn.1400c4f90
mov rcx, qword [r13 + 0x20]
mov qword [r13 + 0x58], rdi
mov rax, qword [rcx]
lea rbx, [rcx + 0x18]
call qword [rax + 0x70]
mov rcx, rbx
and eax, 8
mov edx, eax
call fcn.1400c5ea0
movzx ecx, word [rbp + 0x238]
mov ebx, dword [rbp + 0x240]
mov rax, qword [r15 + 0x48]
cmp dword [rax + 0x7e0], 1
je 0x14004701e
mov rcx, qword [r13 + 0x10]
mov rdx, rdi
call fcn.1400b4f50
movzx ecx, ax
mov word [rbp + 0x238], ax
cmp cx, 6
je 0x140046ef5
cmp cx, 9
jne 0x1400470c4
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x68]
mov rbx, rsi
cmp rdi, rax
mov r14, rsi
cmove rax, rsi
cmp rdi, rcx
cmove rcx, rsi
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], rcx
test rax, rax
je 0x14004706f
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rbp - 0x68]
mov rbx, rax
mov rax, qword [rbp - 0x80]
test rcx, rcx
je 0x140047085
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rbp - 0x68]
mov r14, rax
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140047095
cmp rbx, rdi
cmovne rax, rsi
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x1400470a3
cmp r14, rdi
je 0x1400470a9
mov qword [rbp - 0x68], rsi
mov dword [rbp + 0x248], esi
mov ebx, dword [rbp + 0x240]
test rax, rax
mov word [rbp + 0x238], si
cmove ebx, esi
mov dword [rbp + 0x240], ebx
jmp 0x14004711e
cmp cx, 0xd
ja 0x14004711e
mov eax, 0x2186
bt eax, ecx
jae 0x14004711e
xor edx, edx
lea r8, [rbp - 0x78]
xor r9d, r9d
lea ecx, [rdx + 0x68]
mov r14d, esi
mov dword [rbp - 0x60], esi
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14004711e
mov eax, dword [rbp - 0x78]
mov dword [rbp - 0x5c], eax
cmp eax, 1
je 0x14004711e
xor r9d, r9d
mov r12d, 1
xor r8d, r8d
lea ecx, [r9 + 0x69]
mov edx, r12d
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
cmovne r14d, r12d
mov dword [rbp - 0x60], r14d
movzx eax, bx
imul ax, bx
cwde
test ebx, ebx
jle 0x140047132
add dword [0x140270658], eax
jmp 0x140047138
sub dword [0x140270658], eax
mov ebx, dword [rbp + 0x248]
movzx eax, bx
imul ax, bx
cwde
test ebx, ebx
jle 0x140047152
add dword [0x14027065c], eax
jmp 0x140047158
sub dword [0x14027065c], eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140047175
mov dword [0x140270658], esi
jmp 0x1400471bc
mov r9d, dword [0x14027065c]
mov ecx, dword [0x140270658]
mov eax, r9d
cdq
mov r8d, eax
mov eax, ecx
xor r8d, edx
sub r8d, edx
cdq
xor eax, edx
sub eax, edx
add eax, eax
cmp eax, r8d
cmovl ecx, esi
mov eax, ecx
mov dword [0x140270658], ecx
lea ecx, [r8 + r8]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
cmovl r9d, esi
mov dword [0x14027065c], r9d
lea rdx, [rbp - 0x30]
mov r8d, 0x100
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
movzx eax, word [rbp + 0x238]
cmp ax, 1
je 0x140047213
cmp ax, 0x10
je 0x140047213
lea rdx, str.Chrome_WidgetWin_0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140047213
mov eax, dword [rbp + 0x240]
mov r9d, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 9
setg r9b
mov dword [rsp + 0x7c], r9d
jmp 0x14004721a
mov r9d, esi
mov dword [rsp + 0x7c], esi
mov r14d, esi
mov eax, ebx
mov r12d, 0x64
cdq
xor eax, edx
sub eax, edx
cmp eax, 9
mov eax, 0x640
setg r14b
mov dword [rbp - 0x78], r14d
test r9d, r9d
je 0x140047244
movzx ebx, ax
jmp 0x140047247
mov ebx, r12d
mov r11d, dword [0x140270664]
test r14d, r14d
je 0x14004728c
movzx ecx, ax
mov dword [rsp + 0x60], ecx
mov r8d, dword [0x14027065c]
mov r10d, dword [0x140270660]
test r9d, r9d
jne 0x1400472b9
test r10d, r10d
jle 0x1400472b9
mov r9d, dword [0x140270658]
mov eax, r9d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xc8
cmovg r9d, esi
jmp 0x1400472c0
mov ecx, r12d
mov dword [rsp + 0x60], ecx
test r11d, r11d
jle 0x14004725a
mov r8d, dword [0x14027065c]
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xc8
cmovg r8d, esi
mov dword [0x14027065c], r8d
jmp 0x140047261
mov r9d, dword [0x140270658]
test r14d, r14d
je 0x1400472e0
mov eax, r8d
movsx ecx, cx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x1400472e0
mov dword [0x140270664], 5
jmp 0x1400472ef
test r11d, r11d
jle 0x1400472ef
dec r11d
mov dword [0x140270664], r11d
movsxd r11, dword [rsp + 0x7c]
test r11d, r11d
je 0x140047314
mov eax, r9d
movsx ecx, bx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x140047314
mov dword [0x140270660], 5
jmp 0x140047323
test r10d, r10d
jle 0x140047323
dec r10d
mov dword [0x140270660], r10d
movzx eax, word [rbp + 0x238]
movsxd r10, r14d
movsx r14d, bx
sub ax, 7
movaps xmmword [rsp + 0x2d0], xmm6
mov qword [rsp + 0x70], r11
cmp ax, 1
mov qword [rsp + 0x68], r10
mov dword [rsp + 0x78], r14d
cmovbe r9d, esi
mov dword [0x140270658], r9d
mov r9, qword [0x140272b20]
jmp 0x14004737e
mov r13, qword [rbp + 0x230]
jmp case.0x140047534.4
mov r13, qword [rbp + 0x230]
mov r11, qword [rsp + 0x70]
mov r10, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x60]
mov eax, dword [0x140270658]
cdq
xor eax, edx
sub eax, edx
cmp eax, r14d
jg 0x1400473a5
mov eax, r8d
movsx ecx, bx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x1400489fa
movsx rax, word [rbp + 0x238]
mov edx, 1
cmp eax, 0xc
ja case.0x1400473d3.1
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x48e70]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
cmp dword [0x140270658], r14d
jle 0x1400473e3
xor r8d, r8d
jmp 0x1400473f6
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x14004740e
mov rax, rdx
mov r8d, eax
mov rcx, rdi
call fcn.14004e270
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
mov edx, eax
movsx eax, bx
cmp r8d, eax
jle 0x140047423
xor r8d, r8d
mov rcx, rdi
xor edx, edx
jmp 0x1400474e8
neg eax
cmp r8d, eax
jge 0x1400474fd
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
jmp 0x1400474e8
cmp dword [0x140270658], r14d
jle 0x14004744a
xor r8d, r8d
jmp 0x14004745d
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140047476
mov rax, rdx
mov r8d, eax
mov rcx, qword [rbp - 0x80]
call fcn.14004e270
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
mov edx, eax
movsx eax, bx
cmp r8d, eax
jle 0x140047489
mov rcx, qword [rbp - 0x68]
xor r8d, r8d
xor edx, edx
jmp 0x1400474e8
neg eax
cmp r8d, eax
jge 0x1400474fd
mov rcx, qword [rbp - 0x68]
xor edx, edx
lea r8d, [rdx + 1]
jmp 0x1400474e8
cmp dword [0x140270658], r14d
jle 0x1400474ad
xor r8d, r8d
mov rcx, rdi
jmp 0x1400474e8
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge case.0x1400473d3.1
mov rcx, rdi
jmp 0x1400474e2
cmp dword [0x140270658], r14d
jle 0x1400474d1
mov rcx, qword [rbp - 0x80]
xor r8d, r8d
jmp 0x1400474e8
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge case.0x1400473d3.1
mov rcx, qword [rbp - 0x80]
mov rax, rdx
mov r8d, eax
call fcn.14004e270
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
mov edx, eax
test edx, edx
je 0x140048e1c
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
movsx rax, word [rbp + 0x238]
cmp eax, 0x10
ja case.0x140047534.4
mov rcx, rax
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x48ea4]
add rdx, rax
jmp rdx
movsx ebx, bx
cmp r8d, ebx
jg 0x140047547
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x1400475b9
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
test r10, r10
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x14004757e
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
imul r14d, r13d
xor r8d, r8d
xor edx, edx
mov ecx, 0x800
mov r9d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b68f0
mov r8d, dword [0x14027065c]
mov r14d, dword [rsp + 0x78]
imul ebx, r13d
mov r9, qword [0x140272b20]
sub r8d, ebx
mov dword [0x14027065c], r8d
cmp dword [0x140270658], r14d
jle 0x14004760c
cmp dword [r9], esi
je 0x1400475e0
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov r9d, 0x78
xor r8d, r8d
xor edx, edx
mov ecx, 0x1000
mov dword [rsp + 0x20], esi
call fcn.1400b68f0
sub dword [0x140270658], r14d
mov r8d, dword [0x14027065c]
jmp 0x1400489d6
mov r13, qword [rbp + 0x230]
mov ebx, dword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge case.0x140047534.4
cmp dword [r9], esi
je 0x140047650
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov r9d, 0xffffff88
xor r8d, r8d
xor edx, edx
mov ecx, 0x1000
mov dword [rsp + 0x20], esi
call fcn.1400b68f0
add dword [0x140270658], r14d
mov r8d, dword [0x14027065c]
mov r9, qword [0x140272b20]
jmp 0x14004736d
mov eax, dword [0x140271e40]
test eax, eax
je 0x140047697
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
jmp 0x14004769f
movss xmm6, dword [0x14012e784]
divss xmm6, dword [0x14012e784]
mov eax, r8d
movsx ebx, bx
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x140047773
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
test r10, r10
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x1400476f1
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], esi
movd xmm1, r14d
movd xmm0, r13d
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mov eax, 1
mov dword [rsp + 0x38], 6
mulss xmm1, xmm0
mulss xmm1, xmm6
mov dword [rsp + 0x30], eax
add rcx, 0x18
mov rdx, r15
cvttss2si r9, xmm1
mov r8d, eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call fcn.1400c5140
mov r8d, dword [0x14027065c]
mov r9, qword [0x140272b20]
imul ebx, r13d
mov r14d, dword [rsp + 0x78]
sub r8d, ebx
mov dword [0x14027065c], r8d
mov ecx, dword [0x140270658]
mov r13, qword [rbp + 0x230]
mov ebx, dword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, r14d
jle case.0x140047534.4
or ebx, 0xffffffff
mov eax, ecx
cdq
idiv r14d
cmp r11, 0
mov r14d, eax
mov eax, 0xfffffff0
cmovne ebx, eax
cmp dword [r9], esi
je 0x1400477d4
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov r13, qword [rbp + 0x230]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
movd xmm1, ebx
movd xmm0, r14d
mov rcx, qword [r13 + 0x20]
mov dword [rsp + 0x40], esi
mov eax, 1
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x38], 6
mov dword [rsp + 0x30], eax
mov r8d, eax
mulss xmm1, xmm0
mulss xmm1, xmm6
add rcx, 0x18
mov rdx, r15
mov dword [rsp + 0x28], esi
cvttss2si r9, xmm1
mov dword [rsp + 0x20], esi
call fcn.1400c56a0
mov eax, dword [rsp + 0x78]
mov r8d, dword [0x14027065c]
mov r9, qword [0x140272b20]
imul eax, r14d
sub dword [0x140270658], eax
mov r14d, dword [rsp + 0x78]
jmp 0x140047374
movsx ebx, bx
cmp r8d, ebx
jle 0x1400478ca
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
test r10, r10
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x140047895
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul ebx, r13d
sub r8d, ebx
jmp 0x1400489ca
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
test r10, r10
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x14004790e
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul ebx, r13d
sub r8d, ebx
jmp 0x1400489ca
movsx ebx, bx
cmp r8d, ebx
jle 0x1400479b7
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
test r10, r10
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x140047982
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c80
mov r8d, dword [0x14027065c]
imul ebx, r13d
sub r8d, ebx
jmp 0x1400489ca
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
test r10, r10
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x1400479fb
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c80
mov r8d, dword [0x14027065c]
imul ebx, r13d
sub r8d, ebx
jmp 0x1400489ca
cmp dword [0x140270658], r14d
jle 0x140047a93
cmp dword [r9], esi
je 0x140047a57
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
lea rcx, [0x1402707e0]
mov r9d, 0x27
mov r8d, 0x100
mov rdx, rdi
mov qword [rsp + 0x20], 0x14d0001
call fcn.140083fa0
sub dword [0x140270658], r14d
mov qword [rsp + 0x20], 0x14d0001
mov r9d, 0x27
jmp 0x140047af8
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140047b1b
cmp dword [r9], esi
je 0x140047abe
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
lea rcx, [0x1402707e0]
mov r9d, 0x25
mov r8d, 0x100
mov rdx, rdi
mov qword [rsp + 0x20], 0x14b0001
call fcn.140083fa0
add dword [0x140270658], r14d
mov qword [rsp + 0x20], 0x14b0001
mov r9d, 0x25
lea rcx, [0x1402707e0]
mov r8d, 0x101
mov rdx, rdi
call fcn.140083ea0
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
movsx ebx, bx
cmp r8d, ebx
jle 0x140047b91
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
cmp qword [rsp + 0x68], rsi
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x140047b5c
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul ebx, r13d
sub r8d, ebx
jmp 0x1400489ca
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
cmp r10, 0
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x140047be0
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul ebx, r13d
sub r8d, ebx
jmp 0x1400489ca
cmp dword [0x140270658], r14d
jle 0x140047c76
cmp dword [r9], esi
je 0x140047c3c
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
cmp dword [rsp + 0x7c], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x80]
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140083fa0
sub dword [0x140270658], r14d
jmp 0x140047cd3
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140047ce1
cmp dword [r9], esi
je 0x140047ca1
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov eax, dword [rsp + 0x7c]
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rdi
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083fa0
add dword [0x140270658], r14d
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
movsx ebx, bx
cmp r8d, ebx
jle 0x140047d4d
cmp dword [r9], esi
jne 0x140047d07
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
cmp dword [rbp - 0x78], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x68]
mov r8d, 0x115
mov qword [rsp + 0x20], rax
lea rcx, [0x1402707e0]
mov rdx, rdi
call fcn.140083fa0
mov r8d, dword [0x14027065c]
sub r8d, ebx
mov dword [0x14027065c], r8d
jmp 0x1400489e0
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
cmp dword [r9], esi
jne 0x140047d82
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov eax, dword [rbp - 0x78]
mov r8d, 0x115
neg eax
mov rax, qword [rbp - 0x68]
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
lea rcx, [0x1402707e0]
mov rdx, rdi
call fcn.140083fa0
mov r8d, dword [0x14027065c]
add r8d, ebx
mov dword [0x14027065c], r8d
jmp 0x1400489e0
cmp dword [0x140270658], r14d
jle 0x140047e23
cmp dword [r9], esi
je 0x140047de9
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
cmp dword [rsp + 0x7c], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x80]
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140083ea0
sub dword [0x140270658], r14d
jmp 0x140047e80
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140047e8e
cmp dword [r9], esi
je 0x140047e4e
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov eax, dword [rsp + 0x7c]
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rdi
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083ea0
add dword [0x140270658], r14d
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
movsx ebx, bx
cmp r8d, ebx
jle 0x140047efa
cmp dword [r9], esi
jne 0x140047eb4
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
cmp dword [rbp - 0x78], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x68]
lea rcx, [0x1402707e0]
mov r8d, 0x115
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140083ea0
mov r8d, dword [0x14027065c]
sub r8d, ebx
mov dword [0x14027065c], r8d
jmp 0x1400489e0
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
cmp dword [r9], esi
jne 0x140047f2f
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov eax, dword [rbp - 0x78]
lea rcx, [0x1402707e0]
mov r8d, 0x115
neg eax
mov rax, qword [rbp - 0x68]
mov rdx, rdi
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083ea0
jmp 0x140047dac
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [0x140270658]
mov rbx, rax
cmp ecx, r14d
jle 0x140047fd1
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
je 0x140047f97
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
cmp dword [rsp + 0x7c], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x80]
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.140083fa0
sub dword [0x140270658], r14d
jmp 0x14004802d
mov eax, r14d
neg eax
cmp ecx, eax
jge 0x14004802d
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
je 0x140047ffb
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov eax, dword [rsp + 0x7c]
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rbx
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083fa0
add dword [0x140270658], r14d
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [rsp + 0x60]
mov r8d, dword [0x14027065c]
movsx ebx, cx
mov rdi, rax
cmp r8d, ebx
jle 0x140048061
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
jne 0x140047d07
jmp 0x140047cf1
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x1400489e0
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
jne 0x140047d82
jmp 0x140047d6c
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [0x140270658]
mov rbx, rax
cmp ecx, r14d
jle 0x1400480f5
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
je 0x1400480bb
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
cmp dword [rsp + 0x7c], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x80]
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.140083ea0
sub dword [0x140270658], r14d
jmp 0x140048151
mov eax, r14d
neg eax
cmp ecx, eax
jge 0x140048151
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
je 0x14004811f
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov eax, dword [rsp + 0x7c]
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rbx
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083ea0
add dword [0x140270658], r14d
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [rsp + 0x60]
mov r8d, dword [0x14027065c]
movsx ebx, cx
mov rdi, rax
cmp r8d, ebx
jle 0x1400481c7
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
jne 0x140048192
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
cmp dword [rbp - 0x78], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x68]
lea rcx, [0x1402707e0]
mov r8d, 0x115
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140083ea0
jmp 0x140047d37
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x1400489e0
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
jne 0x140047f2f
jmp 0x140047f19
cmp dword [0x140270658], r14d
jle 0x14004823c
cmp dword [r9], esi
je 0x14004820f
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
lea rcx, [0x1402707e0]
mov r9d, 0x27
mov r8d, 0x100
mov rdx, rdi
mov qword [rsp + 0x20], 0x14d0001
call fcn.140083fa0
sub dword [0x140270658], r14d
jmp 0x140048292
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x1400482a0
cmp dword [r9], esi
je 0x140048267
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
lea rcx, [0x1402707e0]
mov r9d, 0x25
mov r8d, 0x100
mov rdx, rdi
mov qword [rsp + 0x20], 0x14b0001
call fcn.140083fa0
add dword [0x140270658], r14d
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
movsx ebx, bx
cmp r8d, ebx
jle 0x1400482e0
cmp dword [r9], esi
jne 0x1400482c6
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov qword [rsp + 0x20], 0x1500001
mov r9d, 0x28
mov r8d, 0x100
jmp 0x140047d28
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
cmp dword [r9], esi
jne 0x140048315
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov qword [rsp + 0x20], 0x1480001
mov r9d, 0x26
mov r8d, 0x100
jmp 0x140047d9d
mov eax, dword [0x140270658]
mov ecx, 1
mov dword [rbp - 0x48], esi
cdq
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x40], rsi
xor eax, edx
sub eax, edx
cmp eax, r14d
jle 0x1400482a0
lea r9d, [rcx + 0x27]
mov edx, ecx
lea r8, [rbp - 0x58]
lea rcx, [0x1402707e0]
mov qword [rbp - 0x50], 0x11
call fcn.1400841d0
cmp dword [0x140270658], r14d
mov ecx, 0x27
mov eax, 0x25
lea r9d, [rcx + 1]
lea edx, [rcx - 0x26]
cmovg ax, cx
lea r8, [rbp - 0x58]
lea rcx, [0x1402707e0]
mov word [rbp - 0x4e], si
mov dword [rbp - 0x4c], esi
mov word [rbp - 0x50], ax
call fcn.1400841d0
cmp dword [0x140270658], r14d
mov ecx, 0x27
mov eax, 0x25
lea r9d, [rcx + 1]
lea edx, [rcx - 0x26]
cmovg ax, cx
lea r8, [rbp - 0x58]
lea rcx, [0x1402707e0]
mov word [rbp - 0x4e], si
mov dword [rbp - 0x4c], 2
mov word [rbp - 0x50], ax
call fcn.1400841d0
mov r9d, 0x28
lea r8, [rbp - 0x58]
lea rcx, [0x1402707e0]
lea edx, [r9 - 0x27]
mov dword [rbp - 0x50], 0x11
mov dword [rbp - 0x4c], 2
call fcn.1400841d0
cmp dword [0x140270658], r14d
mov r9, qword [0x140272b20]
jle 0x14004844b
cmp dword [r9], esi
je 0x14004843f
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov r9, qword [0x140272b20]
sub dword [0x140270658], r14d
jmp 0x140048299
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140048299
cmp dword [r9], esi
je 0x140048481
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov r9, qword [0x140272b20]
add dword [0x140270658], r14d
jmp 0x140048299
cmp dword [0x140270658], r14d
jle 0x1400484ee
cmp dword [r9], esi
je 0x1400484b4
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
cmp dword [rsp + 0x7c], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x80]
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140083fa0
sub dword [0x140270658], r14d
jmp 0x14004854b
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140048559
cmp dword [r9], esi
je 0x140048519
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov eax, dword [rsp + 0x7c]
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rdi
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083fa0
add dword [0x140270658], r14d
mov r9, qword [0x140272b20]
mov r8d, dword [0x14027065c]
movsx r13d, bx
cmp r8d, r13d
jle 0x1400485d4
or ebx, 0xffffffff
mov eax, r8d
cdq
idiv r13d
cmp qword [rsp + 0x68], rsi
mov r14d, eax
mov eax, 0xfffffff0
cmovne ebx, eax
cmp dword [r9], esi
jne 0x14004859a
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [rbp + 0x230]
lea r9, [rbp - 0x70]
imul ebx, r14d
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, ebx
test ax, ax
jns 0x140048656
mov dword [rsp + 0x20], 8
jmp 0x14004865a
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, r13d
neg eax
cmp r8d, eax
jge 0x140047364
or ebx, 0xffffffff
mov eax, r8d
cdq
idiv r13d
cmp r10, 0
mov r14d, eax
mov eax, 0xfffffff0
cmovne ebx, eax
cmp dword [r9], esi
jne 0x140048623
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [rbp + 0x230]
lea r9, [rbp - 0x70]
imul ebx, r14d
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, ebx
test ax, ax
jns 0x140048656
mov dword [rsp + 0x20], 8
jmp 0x14004865a
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul r14d, r13d
sub r8d, r14d
jmp 0x1400489ca
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.USER32.dll_GetParent]
cmp dword [0x140270658], r14d
mov rbx, rax
jle 0x1400486e3
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
je 0x1400486a9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
cmp dword [rsp + 0x7c], esi
mov eax, 3
mov r9d, 1
cmovne r9d, eax
mov rax, qword [rbp - 0x80]
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.140083ea0
sub dword [0x140270658], r14d
jmp 0x140048743
mov eax, r14d
neg eax
cmp dword [0x140270658], eax
jge 0x140048743
mov rcx, qword [0x140272b20]
cmp dword [rcx], esi
je 0x140048711
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov eax, dword [rsp + 0x7c]
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rbx
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083ea0
add dword [0x140270658], r14d
mov ebx, dword [rsp + 0x60]
mov r8d, dword [0x14027065c]
movsx r13d, bx
cmp r8d, r13d
jg 0x14004877e
mov eax, r13d
neg eax
cmp r8d, eax
jl 0x14004877e
mov r13, qword [rbp + 0x230]
mov r9, qword [0x140272b20]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp case.0x140047534.4
mov rcx, qword [0x140272b20]
or ebx, 0xffffffff
mov eax, r8d
cdq
idiv r13d
cmp qword [rsp + 0x68], rsi
mov r14d, eax
mov eax, 0xfffffff0
cmovne ebx, eax
cmp dword [rcx], esi
jne 0x1400487b9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [rbp + 0x230]
lea r9, [rbp - 0x70]
imul ebx, r14d
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, ebx
test ax, ax
jns 0x1400487ec
mov dword [rsp + 0x20], 8
jmp 0x1400487f0
mov dword [rsp + 0x20], esi
call fcn.1400b5c80
mov r8d, dword [0x14027065c]
imul r14d, r13d
sub r8d, r14d
jmp 0x1400489ca
mov ecx, dword [0x140270658]
cmp ecx, r14d
jg 0x140048820
mov eax, r14d
neg eax
cmp ecx, eax
jge 0x1400488ba
mov eax, dword [0x140270658]
mov ecx, 1
cdq
idiv r14d
test r11, r11
mov edx, 0x10
cmovne ecx, edx
mov edx, 0xffffffff
mov ebx, edx
mov r14d, edx
imul ax, cx
imul ax, ax, 0x78
movzx ecx, ax
shl ecx, 0x10
mov eax, ecx
cmp rax, rdx
movzx eax, word [rbp - 0x70]
cmovbe ebx, ecx
movzx ecx, word [rbp - 0x6c]
shl ecx, 0x10
or rcx, rax
cmp rcx, rdx
cmovbe r14d, ecx
cmp dword [r9], esi
je 0x14004888d
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x10f
call fcn.1400b6b90
mov r9d, r14d
mov r8d, ebx
mov edx, 0x20e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword [0x14027065c]
mov r9, qword [0x140272b20]
mov r14d, dword [rsp + 0x78]
mov dword [0x140270658], esi
mov ecx, dword [rsp + 0x60]
movsx ebx, cx
cmp r8d, ebx
jle 0x14004894b
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
cmp qword [rsp + 0x68], rsi
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x140048903
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul r13d, ebx
mov r9, qword [0x140272b20]
mov r14d, dword [rsp + 0x78]
sub r8d, r13d
mov dword [0x14027065c], r8d
jmp 0x14004736d
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
mov eax, ebx
neg eax
cmp r8d, eax
jge 0x14004737e
or r14d, 0xffffffff
mov eax, r8d
cdq
idiv ebx
cmp r10, 0
mov r13d, eax
mov eax, 0xfffffff0
cmovne r14d, eax
cmp dword [r9], esi
jne 0x14004899a
mov rcx, r9
call fcn.1400b6ed0
mov rcx, qword [0x140272b20]
mov edx, 0x102
call fcn.1400b6b90
mov rcx, qword [rbp + 0x230]
imul r14d, r13d
lea r9, [rbp - 0x70]
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
mov r8d, r14d
mov dword [rsp + 0x20], esi
call fcn.1400b5c30
mov r8d, dword [0x14027065c]
imul r13d, ebx
sub r8d, r13d
mov r14d, dword [rsp + 0x78]
mov dword [0x14027065c], r8d
mov r13, qword [rbp + 0x230]
nop dword [rax]
mov ebx, dword [rsp + 0x60]
mov r9, qword [0x140272b20]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp case.0x140047534.4
cmp dword [rbp - 0x60], esi
je 0x140048a36
xor edx, edx
lea r8, [rbp - 0x60]
xor r9d, r9d
lea ecx, [rdx + 0x68]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140048a2f
mov eax, dword [rbp - 0x5c]
cmp dword [rbp - 0x60], eax
je 0x140048a2f
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea ecx, [r9 + 0x69]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r9, qword [0x140272b20]
mov edx, 0x102
mov rcx, r9
call fcn.1400b6b90
movzx eax, word [rbp + 0x238]
cmp ax, 1
jne 0x140048bee
mov r9d, dword [0x14027065c]
movzx r14d, si
cmp r9d, r12d
jle 0x140048a86
lea ecx, [r9 - 0x65]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
inc edx
imul ecx, edx, 0xffffff9c
add r9d, ecx
imul r14w, dx, 0xff88
mov dword [0x14027065c], r9d
cmp r9d, 0xffffff9c
jge 0x140048ab5
mov ecx, 0xffffff9b
mov eax, 0x51eb851f
sub ecx, r9d
mul ecx
shr edx, 5
inc edx
imul eax, edx, 0x64
add r9d, eax
imul ax, dx, 0x78
mov dword [0x14027065c], r9d
add r14w, ax
test r14w, r14w
je 0x140048b82
mov eax, dword [0x14027066c]
test al, 1
jne 0x140048ae3
or eax, 1
mov ecx, 0x17
mov dword [0x14027066c], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140270668], eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, esi
test ax, ax
mov eax, 8
lea ecx, [rax + 8]
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048b0c
or ebx, 4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048b2a
cmp dword [0x140270668], esi
setne sil
inc esi
or ebx, esi
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048b49
mov eax, dword [0x140270668]
neg eax
sbb ecx, ecx
add ecx, 2
or ebx, ecx
movsx eax, word [rbp - 0x6c]
movsx r9d, r14w
mov r8d, 0x20a
shl eax, 0x10
shl r9d, 0x10
mov rdx, rdi
movsxd rcx, eax
movsx rax, word [rbp - 0x70]
or rcx, rax
mov eax, ebx
mov qword [rsp + 0x20], rcx
lea rcx, [0x1402707e0]
or r9, rax
call fcn.140083fa0
mov ecx, dword [0x140270658]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, r12d
jle 0x140048be4
cmp ecx, r12d
jle 0x140048ba3
mov eax, 0x27
sub ecx, r12d
jmp 0x140048bab
mov eax, 0x25
add ecx, r12d
mov dword [0x140270658], ecx
lea rcx, [0x1402707e0]
mov r9d, eax
mov r8d, 0x100
mov rdx, rdi
mov qword [rsp + 0x20], 0x14d0001
call fcn.140083fa0
mov ecx, dword [0x140270658]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, r12d
jg 0x140048b94
mov eax, 1
jmp 0x140048e53
cmp ax, 4
jne 0x140048c4f
mov eax, dword [rbp + 0x248]
test eax, eax
je 0x140048c1b
mov r8d, eax
imul r8d, eax
test eax, eax
jns 0x140048c0c
neg r8d
mov rcx, qword [r13 + 0x10]
xor r9d, r9d
mov rdx, rdi
call fcn.1400b5b40
mov eax, dword [rbp + 0x240]
test eax, eax
je 0x140048be4
mov r8d, eax
imul r8d, eax
test eax, eax
jns 0x140048c33
neg r8d
mov rcx, qword [r13 + 0x10]
mov r9d, 1
mov rdx, rdi
call fcn.1400b5b40
mov eax, 1
jmp 0x140048e53
cmp ax, 0x10
je 0x140048be4
mov eax, dword [rbp + 0x240]
mov r15d, dword [rbp - 0x78]
mov r14d, esi
cdq
mov ebx, r12d
lea rcx, [rbp - 0x30]
xor eax, edx
sub eax, edx
lea rdx, str.Chrome_WidgetWin_0
cmp eax, 9
mov eax, 0x640
setg r14b
test r14d, r14d
cmovne ebx, eax
test r15d, r15d
cmovne r12d, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
cmove r14d, esi
mov esi, 3
lea r13d, [rsi - 2]
mov eax, dword [0x140270658]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x140048cc6
mov eax, dword [0x14027065c]
cdq
xor eax, edx
sub eax, edx
cmp eax, r12d
jle 0x140048be4
cmp dword [0x140270658], ebx
mov ecx, r13d
jle 0x140048cd6
xor r8d, r8d
jmp 0x140048ce5
mov eax, ebx
neg eax
cmp dword [0x140270658], eax
jge 0x140048cf2
mov r8d, r13d
mov edx, r13d
mov rcx, rdi
call fcn.14004e270
mov ecx, eax
cmp dword [0x14027065c], r12d
jle 0x140048d00
xor r8d, r8d
jmp 0x140048d10
mov eax, r12d
neg eax
cmp dword [0x14027065c], eax
jge 0x140048d1c
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call fcn.14004e270
mov ecx, eax
test ecx, ecx
je 0x140048e51
cmp dword [0x140270658], ebx
jle 0x140048d5c
mov rax, qword [rbp - 0x80]
mov r9, r13
test r14d, r14d
lea rcx, [0x1402707e0]
mov r8d, 0x114
mov rdx, rdi
cmovne r9, rsi
mov qword [rsp + 0x20], rax
call fcn.140083fa0
sub dword [0x140270658], ebx
jmp 0x140048d98
mov eax, ebx
neg eax
cmp dword [0x140270658], eax
jge 0x140048d98
mov eax, r14d
lea rcx, [0x1402707e0]
mov r8d, 0x114
neg eax
mov rax, qword [rbp - 0x80]
mov rdx, rdi
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083fa0
add dword [0x140270658], ebx
cmp dword [0x14027065c], r12d
jle 0x140048dd5
mov rax, qword [rbp - 0x68]
mov r9, r13
test r15d, r15d
lea rcx, [0x1402707e0]
mov r8d, 0x115
mov rdx, rdi
cmovne r9, rsi
mov qword [rsp + 0x20], rax
call fcn.140083fa0
sub dword [0x14027065c], r12d
jmp 0x140048ca3
mov eax, r12d
neg eax
cmp dword [0x14027065c], eax
jge 0x140048ca3
mov eax, r15d
lea rcx, [0x1402707e0]
mov r8d, 0x115
neg eax
mov rax, qword [rbp - 0x68]
mov rdx, rdi
sbb r9, r9
mov qword [rsp + 0x20], rax
and r9d, 2
call fcn.140083fa0
add dword [0x14027065c], r12d
jmp 0x140048ca3
cmp dword [rbp - 0x60], esi
je 0x140048e51
xor edx, edx
lea r8, [rbp - 0x60]
xor r9d, r9d
lea ecx, [rdx + 0x68]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140048e51
mov eax, dword [rbp - 0x5c]
cmp dword [rbp - 0x60], eax
je 0x140048e51
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea ecx, [r9 + 0x69]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret