Function at 0x140070f70
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov rax, qword [0x140162ac0]
xor r12d, r12d
cmp byte [rcx + 1], 1
mov ebx, r12d
mov r14d, r9d
mov qword [rbp - 0x18], rax
cmova rbx, qword [0x140162ac8]
mov edi, r8d
mov qword [rbp - 0x10], rbx
mov esi, edx
mov r13, rcx
test rax, rax
je 0x140070fd8
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
lea r8, [r12 - 1]
mov rcx, rax
call fcn.1400d5e90
test rbx, rbx
je 0x140070ff3
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rbx
lea r8, [r9 - 1]
call fcn.1400d5e90
xor r8d, r8d
mov qword [rbp - 0x80], r12
lea rdx, [rbp - 0x7c]
lea rcx, [rbp - 0x80]
call fcn.1400d2000
mov eax, dword [rbp - 0x7c]
mov edx, 0x2e
mov rbx, qword [rbp - 0x80]
add edi, eax
add dword [rbp + 0x110], eax
add esi, ebx
add r14d, ebx
mov dword [rbp + 0xf8], esi
mov rsi, qword [rbp + 0x118]
mov r15d, r12d
mov dword [rbp + 0x108], r14d
mov rcx, rsi
mov r14d, 0xffffffff
mov dword [rbp + 0x100], edi
mov dword [rsp + 0x5c], r12d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x60], r12d
call fcn.1400f0974
mov rdi, rax
test rax, rax
je 0x1400710bb
add rdi, 2
lea rdx, [0x1401417f0]
mov rcx, rdi
call fcn.1400f55a0
test eax, eax
je 0x14007109f
lea rdx, [0x1401417f8]
mov rcx, rdi
call fcn.1400f55a0
test eax, eax
je 0x14007109f
lea rdx, [0x140141800]
mov rcx, rdi
call fcn.1400f55a0
test eax, eax
jne 0x1400710bb
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, gethostbyname
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r12d, eax
mov rdi, rsi
nop
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400710cf
cmp ax, 9
jne 0x1400710d5
add rdi, 2
jmp 0x1400710c0
cmp ax, 0x2a
jne 0x14007149f
nop
movzx ecx, word [rdi + 2]
mov rsi, rdi
add rdi, 2
call fcn.140102c88
movzx eax, ax
cmp eax, 0x48
je 0x1400713a8
cmp eax, 0x57
je 0x140071321
mov r8d, 4
lea rdx, str.Icon
mov rcx, rdi
call fcn.1400f7630
test eax, eax
jne 0x1400711ad
lea rdi, [rsi + 0xa]
mov rcx, rdi
nop dword [rax]
movzx eax, word [rcx]
cmp ax, 0x20
je 0x14007113f
cmp ax, 9
jne 0x140071145
add rcx, 2
jmp 0x140071130
test ax, ax
je 0x14007119c
cmp ax, 0x2d
je 0x140071156
cmp ax, 0x2b
jne 0x140071160
lea rax, [rcx + 2]
mov rcx, rax
movzx eax, word [rax]
cmp ax, 0x30
jne 0x14007119c
movzx eax, word [rcx + 2]
mov edx, 0xffdf
sub ax, 0x58
test dx, ax
jne 0x14007119c
movzx ecx, word [rcx + 4]
call fcn.1400f57c0
test eax, eax
je 0x14007119c
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x10]
call fcn.1400f7190
mov dword [rsp + 0x60], eax
jmp 0x140071420
mov rcx, rdi
call fcn.1400f73ac
mov dword [rsp + 0x60], eax
jmp 0x140071420
mov r8d, 5
lea rdx, str.Trans
mov rcx, rdi
call fcn.1400f7630
test eax, eax
jne 0x14007128d
lea rdi, [rsi + 0xc]
mov rdx, rdi
lea r8d, [rax + 0x1f]
lea rcx, [rbp + 0x60]
call fcn.1401020c4
movzx edx, word [rbp + 0x60]
lea r8, [rbp + 0x60]
xor r10d, r10d
mov word [rbp + 0x9e], r10w
test dx, dx
je 0x14007123b
mov r9d, SafeArrayAllocDescriptor
nop dword [rax]
lea rcx, [0x1401373a0]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x140071232
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140071210
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140071200
jmp 0x14007123b
test r8, r8
je 0x14007123b
mov word [r8], r10w
lea rcx, [rbp + 0x60]
call fcn.1400d1dd0
mov edx, eax
cmp eax, 0xffffffff
jne 0x140071266
xor edx, edx
lea rcx, [rbp + 0x60]
lea r8d, [rdx + 0x10]
call fcn.1400f7190
mov r14d, eax
mov dword [rsp + 0x58], eax
jmp 0x140071420
shr eax, 0x10
movzx ecx, al
movzx r14d, dx
and r14d, 0xffffff00
movzx eax, dl
shl eax, 0x10
or r14d, ecx
or r14d, eax
mov dword [rsp + 0x58], r14d
jmp 0x140071420
mov rcx, rdi
movzx eax, word [rcx]
cmp ax, 0x20
je 0x14007129f
cmp ax, 9
jne 0x1400712a5
add rcx, 2
jmp 0x140071290
test ax, ax
je 0x1400712f5
cmp ax, 0x2d
je 0x1400712b6
cmp ax, 0x2b
jne 0x1400712c0
lea rax, [rcx + 2]
mov rcx, rax
movzx eax, word [rax]
cmp ax, 0x30
jne 0x1400712f5
movzx eax, word [rcx + 2]
mov edx, 0xffdf
sub ax, 0x58
test dx, ax
jne 0x1400712f5
movzx ecx, word [rcx + 4]
call fcn.1400f57c0
test eax, eax
je 0x1400712f5
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x10]
call fcn.1400f7190
jmp 0x1400712fd
mov rcx, rdi
call fcn.1400f73ac
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [rsp + 0x5c], ecx
cmp ecx, 0xff
jle 0x140071420
mov dword [rsp + 0x5c], 0xff
jmp 0x140071420
add rsi, 4
mov rcx, rsi
nop dword [rax + rax]
movzx eax, word [rcx]
cmp ax, 0x20
je 0x14007133f
cmp ax, 9
jne 0x140071345
add rcx, 2
jmp 0x140071330
test ax, ax
je 0x14007139b
cmp ax, 0x2d
je 0x140071356
cmp ax, 0x2b
jne 0x140071360
lea rax, [rcx + 2]
mov rcx, rax
movzx eax, word [rax]
cmp ax, 0x30
jne 0x14007139b
movzx eax, word [rcx + 2]
mov edx, 0xffdf
sub ax, 0x58
test dx, ax
jne 0x14007139b
movzx ecx, word [rcx + 4]
call fcn.1400f57c0
test eax, eax
je 0x14007139b
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x10]
call fcn.1400f7190
mov r15d, eax
jmp 0x140071420
mov rcx, rsi
call fcn.1400f73ac
mov r15d, eax
jmp 0x140071420
add rsi, 4
mov rcx, rsi
nop
movzx eax, word [rcx]
cmp ax, 0x20
je 0x1400713bf
cmp ax, 9
jne 0x1400713c5
add rcx, 2
jmp 0x1400713b0
test ax, ax
je 0x140071415
cmp ax, 0x2d
je 0x1400713d6
cmp ax, 0x2b
jne 0x1400713e0
lea rax, [rcx + 2]
mov rcx, rax
movzx eax, word [rax]
cmp ax, 0x30
jne 0x140071415
movzx eax, word [rcx + 2]
mov edx, 0xffdf
sub ax, 0x58
test dx, ax
jne 0x140071415
movzx ecx, word [rcx + 4]
call fcn.1400f57c0
test eax, eax
je 0x140071415
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x10]
call fcn.1400f7190
jmp 0x14007141d
mov rcx, rsi
call fcn.1400f73ac
mov r12d, eax
test rdi, rdi
je 0x14007150e
movzx edx, word [rdi]
test dx, dx
je 0x14007150e
nop word [rax + rax]
lea rcx, [0x1401373a0]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x140071474
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140071450
movzx edx, word [rdi + 2]
add rdi, 2
test dx, dx
jne 0x140071440
jmp 0x14007150e
lea rsi, [rdi + 2]
mov rdi, rsi
nop dword [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14007148f
cmp ax, 9
jne 0x140071495
add rdi, 2
jmp 0x140071480
cmp ax, 0x2a
je 0x1400710e0
xor eax, eax
lea r9, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov r8d, r12d
lea rax, [rsp + 0x50]
mov edx, r15d
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov eax, dword [rsp + 0x60]
mov r13d, r14d
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.1400d2130
mov qword [rbp - 0x50], rax
mov rdi, rax
test rax, rax
je 0x140071507
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp - 0x30], rax
mov r14, rax
test rax, rax
jne 0x14007154e
cmp byte [rsp + 0x50], al
jne 0x140071507
cmp dword [rbp - 0x78], 1
mov rcx, rdi
jne 0x140071546
call qword [sym.imp.USER32.dll_DestroyIcon]
mov r13, qword [rbp + 0xf0]
mov rax, qword [0x14015bc10]
lea rdx, [0x140137404]
test byte [rax + 0x140], 1
jne 0x140071e9f
mov rcx, qword [0x140160738]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x140071eb1
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x140071507
xor esi, esi
cmp dword [rbp - 0x78], 1
mov r15d, esi
mov qword [rsp + 0x78], rsi
mov r12d, esi
mov qword [rbp - 0x20], rsi
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x28], rsi
jne 0x140071715
lea rdx, [rbp + 0x18]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x1400715c9
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x118]
mov dword [rsp + 0x28], 1
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov rdx, r14
call fcn.140070120
mov rcx, qword [rbp + 0x30]
mov qword [rbp - 0x68], rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
mov r14, rsi
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
test rax, rax
je 0x1400716e4
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x1400716db
mov rcx, qword [rbp + 0x50]
lea r8, [rbp - 8]
mov edx, SafeArrayAllocDescriptor
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x1400716c7
mov r8d, dword [rbp]
mov rcx, r15
mov edx, dword [rbp - 4]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r14, rax
test rax, rax
je 0x1400716c7
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r12, rax
test rax, rax
je 0x1400716c7
mov ecx, dword [rbp - 4]
xor eax, eax
mov dword [rbp - 0x38], ecx
mov ecx, dword [rbp]
mov dword [rbp - 0x34], ecx
mov ecx, 0xff000000
mov qword [rbp - 0x40], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rdx, [rbp - 0x40]
mov rcx, rsi
mov r8, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdi, qword [rbp - 0x50]
xor eax, eax
mov dword [rsp + 0x40], 3
mov r9, rdi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
mov eax, dword [rbp]
mov rcx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 4]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyIcon]
mov qword [rbp - 0x50], r14
mov rdi, r14
test r14, r14
je 0x140071507
mov r12, qword [rbp - 0x68]
mov r15, qword [rsp + 0x78]
mov r14, qword [rbp - 0x30]
lea rax, [rbp + 0x118]
mov dword [rsp + 0x28], 8
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x64]
mov rdx, r14
mov rcx, rdi
call fcn.140070120
mov qword [rbp - 0x48], rax
mov rsi, rax
test rax, rax
je 0x140071d74
mov eax, dword [rbp + 0x110]
mov rcx, r14
mov edi, dword [rbp + 0x108]
sub eax, dword [rbp + 0x100]
sub edi, dword [rbp + 0xf8]
inc eax
inc edi
mov dword [rbp + 0x110], eax
mov dword [rbp + 0x108], edi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x78], rax
mov r15, rax
test rax, rax
je 0x140071d74
mov r8d, dword [rbp + 0x110]
mov edx, edi
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp - 0x20], rax
mov rdi, rax
test rax, rax
je 0x140071d74
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x28], rax
test rax, rax
je 0x140071d74
mov eax, dword [rbp + 0x100]
xor r8d, r8d
mov r9d, dword [rbp + 0x108]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r15
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xf8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x110]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x140071d74
lea rax, [rbp + 0x110]
mov dword [rsp + 0x28], 8
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x54]
mov rdx, r15
mov rcx, rdi
call fcn.140070120
mov qword [rsp + 0x68], rax
mov r11, rax
test rax, rax
je 0x140071d74
mov r10d, dword [rsp + 0x64]
mov edx, r10d
imul edx, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x54]
mov edi, r8d
imul edi, dword [rsp + 0x70]
cmp byte [rbp + 0x118], 0
movsxd r9, edx
mov qword [rbp - 0x70], r9
mov dword [rbp - 0x58], edi
movsxd r15, edi
jne 0x14007188a
cmp byte [rbp + 0x110], 0
je 0x140071a1b
mov r14d, r13d
and r14d, 0xf8f8f8
cmp r13d, 0xffffffff
cmove r14d, r13d
xor r13d, r13d
mov dword [rsp + 0x58], r14d
mov r8d, r13d
test edi, edi
jle 0x14007193d
cmp edi, 0x10
jb 0x14007193d
mov ecx, edi
and ecx, 0x8000000f
jge 0x1400718c9
dec ecx
or ecx, 0xfffffff0
inc ecx
movdqa xmm2, xmmword [0x140146920]
mov eax, edi
sub eax, ecx
mov rcx, r13
movsxd r9, eax
lea rax, [r11 + 0x20]
nop
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add r8d, 0x10
movdqa xmm1, xmm2
add rcx, 0x10
pand xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
pand xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pand xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pand xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rcx, r9
jl 0x1400718e0
mov r9, qword [rbp - 0x70]
movsxd rax, r8d
cmp rax, r15
jge 0x140071960
nop word [rax + rax]
and dword [r11 + rax*4], 0xf8f8f8
inc rax
cmp rax, r15
jl 0x140071950
mov ecx, r13d
test edx, edx
jle 0x1400719f8
cmp edx, 0x10
jb 0x1400719f8
mov eax, edx
and eax, 0x8000000f
jge 0x140071984
dec eax
or eax, 0xfffffff0
inc eax
movdqa xmm2, xmmword [0x140146920]
sub edx, eax
movsxd r8, edx
lea rax, [rsi + 0x20]
mov rdx, r13
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add ecx, 0x10
movdqa xmm1, xmm2
add rdx, 0x10
pand xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
pand xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pand xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pand xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdx, r8
jl 0x1400719a0
movsxd rax, ecx
cmp rax, r9
jge 0x140071a14
and dword [rsi + rax*4], 0xf8f8f8
inc rax
cmp rax, r9
jl 0x140071a00
mov dword [rsp + 0x58], r14d
mov r8d, dword [rsp + 0x54]
jmp 0x140071a1e
xor r13d, r13d
test r9, r9
jle 0x140071a3d
lea rax, [rsi + 3]
mov rcx, r9
nop word [rax + rax]
mov byte [rax], 0
lea rax, [rax + 4]
sub rcx, 1
jne 0x140071a30
mov r14d, dword [rsp + 0x5c]
cmp r14d, 1
jge 0x140071b7d
test edi, edi
jle 0x140071a6d
lea rax, [r11 + 3]
mov rcx, r15
nop word [rax + rax]
mov byte [rax], 0
lea rax, [rax + 4]
sub rcx, 1
jne 0x140071a60
mov dword [rbp + 0x108], r13d
test edi, edi
jle 0x140071d50
mov r14d, dword [rsi]
xor eax, eax
mov edi, dword [rsp + 0x58]
mov esi, eax
cmp dword [r11 + rsi*4], r14d
je 0x140071aa2
test r12, r12
je 0x140071a99
cmp dword [r12], 0
jne 0x140071aa2
cmp r14d, edi
jne 0x140071b5d
mov ecx, dword [rsp + 0x70]
mov eax, r13d
cdq
idiv r8d
sub ecx, eax
cmp dword [rsp + 0x60], ecx
jg 0x140071b5d
mov eax, r8d
sub eax, edx
cmp r10d, eax
jg 0x140071b5d
xor eax, eax
mov ecx, r13d
mov r8d, eax
mov r11d, eax
test r9, r9
jle 0x140071d93
mov rdi, qword [rbp - 0x48]
mov r10d, r13d
sub rdi, r12
mov byte [rbp + 0x110], 1
mov rdx, r12
nop
mov rbx, qword [rsp + 0x68]
mov r9d, dword [rdi + rdx]
movsxd rax, ecx
cmp dword [rbx + rax*4], r9d
mov rbx, qword [rbp - 0x80]
je 0x140071b17
test r12, r12
je 0x140071b10
cmp dword [rdx], 0
jne 0x140071b17
cmp r9d, dword [rsp + 0x58]
jne 0x140071b4b
inc r8d
cmp r8d, dword [rsp + 0x64]
jge 0x140071b25
inc ecx
jmp 0x140071b32
xor eax, eax
add r10d, dword [rsp + 0x54]
mov r8d, eax
mov ecx, r10d
inc r11
add rdx, 4
cmp r11, qword [rbp - 0x70]
jl 0x140071af0
movzx esi, byte [rbp + 0x110]
jmp 0x140071d96
mov r9, qword [rbp - 0x70]
mov r10d, dword [rsp + 0x64]
mov r11, qword [rsp + 0x68]
mov edi, dword [rsp + 0x58]
inc r13d
inc rsi
mov dword [rbp + 0x108], r13d
cmp rsi, r15
jge 0x140071d50
mov r8d, dword [rsp + 0x54]
jmp 0x140071a87
mov dword [rbp + 0x108], r13d
test edi, edi
jle 0x140071d50
nop dword [rax]
mov ecx, dword [rsp + 0x70]
mov eax, r13d
cdq
idiv r8d
sub ecx, eax
cmp dword [rsp + 0x60], ecx
jg 0x140071d3d
mov eax, r8d
sub eax, edx
cmp r10d, eax
jg 0x140071d3d
xor r10d, r10d
mov sil, 1
mov r11d, r10d
mov r12d, r10d
mov edi, r13d
test r9, r9
jle 0x140071d96
mov rax, qword [rbp - 0x68]
mov byte [rbp + 0x110], sil
mov rsi, qword [rbp - 0x48]
sub rax, rsi
mov qword [rbp - 0x40], rax
nop dword [rax]
nop word [rax + rax]
mov r15d, dword [rsi]
mov r9d, r10d
mov edx, r15d
movzx r8d, r15w
shr edx, 0x10
shr r8w, 8
movzx eax, dl
sub al, r14b
movzx ecx, dl
movzx eax, al
cmp r14d, ecx
cmovle r9d, eax
movzx eax, r8b
sub al, r14b
mov dword [rbp + 0x118], r9d
movzx eax, al
movzx r9d, r8b
cmp r14d, r9d
movzx r14d, r15b
cmovle r10d, eax
movzx eax, r15b
sub al, byte [rsp + 0x5c]
movzx eax, al
mov dword [rbp - 0x60], r10d
xor r10d, r10d
cmp dword [rsp + 0x5c], r14d
cmovle r10d, eax
mov eax, 0xff
sub eax, ecx
mov dword [rbp - 0x5c], r10d
mov ecx, dword [rsp + 0x5c]
cmp ecx, eax
jle 0x140071c6b
mov r10b, 0xff
jmp 0x140071c6f
lea r10d, [rdx + rcx]
mov eax, 0xff
sub eax, r9d
cmp ecx, eax
jle 0x140071c80
mov r9b, 0xff
jmp 0x140071c84
lea r9d, [r8 + rcx]
mov eax, 0xff
sub eax, r14d
cmp ecx, eax
jle 0x140071c94
mov cl, 0xff
jmp 0x140071c97
add cl, r15b
mov r14, qword [rsp + 0x68]
movsxd rax, edi
mov edx, dword [r14 + rax*4]
mov r8d, edx
movzx eax, dx
shr r8d, 0x10
shr ax, 8
cmp r8b, byte [rbp + 0x118]
jb 0x140071cd2
cmp r8b, r10b
ja 0x140071cd2
cmp al, byte [rbp - 0x60]
jb 0x140071cd2
cmp al, r9b
ja 0x140071cd2
cmp dl, byte [rbp - 0x5c]
jb 0x140071cd2
cmp dl, cl
jbe 0x140071cea
cmp qword [rbp - 0x68], 0
je 0x140071ce3
mov rax, qword [rbp - 0x40]
cmp dword [rax + rsi], 0
jne 0x140071cea
cmp r15d, dword [rsp + 0x58]
jne 0x140071d20
inc r11d
cmp r11d, dword [rsp + 0x64]
jge 0x140071cfb
inc edi
xor r10d, r10d
jmp 0x140071d09
xor r10d, r10d
add r13d, dword [rsp + 0x54]
mov r11d, r10d
mov edi, r13d
inc r12
add rsi, 4
cmp r12, qword [rbp - 0x70]
jge 0x140071d7f
mov r14d, dword [rsp + 0x5c]
jmp 0x140071bf0
mov r13d, dword [rbp + 0x108]
mov r8d, dword [rsp + 0x54]
mov r9, qword [rbp - 0x70]
mov r14d, dword [rsp + 0x5c]
mov r10d, dword [rsp + 0x64]
mov edi, dword [rbp - 0x58]
inc r13d
mov dword [rbp + 0x108], r13d
cmp r13d, edi
jl 0x140071b90
mov rcx, qword [0x140160738]
lea rdx, [0x140136e9c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d5e90
xor sil, sil
jmp 0x140071d96
mov edi, dword [rbp + 0x110]
xor sil, sil
jmp 0x140071da1
mov edi, dword [rbp + 0x108]
movzx esi, byte [rbp + 0x110]
mov r15, qword [rsp + 0x78]
jmp 0x140071da6
mov sil, 1
mov r15, qword [rsp + 0x78]
mov edi, dword [rbp + 0x108]
mov r14, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [rsp + 0x50], 0
jne 0x140071dc3
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.GDI32.dll_DeleteObject]
test r15, r15
je 0x140071de6
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x140071ddd
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x140071df8
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140071e09
mov rcx, rax
call fcn.1400f75c8
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140071e1a
mov rcx, rax
call fcn.1400f75c8
test r14, r14
je 0x140071507
mov rcx, r14
call fcn.1400f75c8
test sil, sil
jne 0x140071e37
mov eax, 1
jmp 0x140071eb1
mov rcx, qword [rbp - 0x18]
mov esi, dword [rsp + 0x54]
test rcx, rcx
je 0x140071e5c
mov eax, edi
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cdq
idiv esi
sub edx, ebx
add edx, dword [rbp + 0xf8]
movsxd rdx, edx
call fcn.140001570
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140071e7e
mov eax, edi
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cdq
idiv esi
sub eax, dword [rbp - 0x7c]
add eax, dword [rbp + 0x100]
movsxd rdx, eax
call fcn.140001570
mov rcx, qword [0x140160738]
lea rdx, [0x14012054c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x140071eb1
lea r9, [0x14012046c]
xor r8d, r8d
mov rcx, r13
call fcn.140062910
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret