Function at 0x140042ef0
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 - 0x58]
sub rsp, 0x158
mov rax, qword [0x140105130]
xor r14d, r14d
cmp byte [rcx + 1], 1
mov ebx, r14d
mov r12d, r9d
mov qword [rbp - 0x20], rax
cmova rbx, qword [0x140105138]
mov edi, r8d
mov qword [rbp - 0x18], rbx
mov esi, edx
test rax, rax
je 0x140042f51
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rax
call fcn.14008ac50
test rbx, rbx
je 0x140042f6c
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.14008ac50
xor r8d, r8d
mov qword [rbp - 0x78], r14
lea rdx, [rbp - 0x74]
lea rcx, [rbp - 0x78]
call fcn.140088de0
add edi, dword [rbp - 0x74]
mov edx, 0x2e
add esi, dword [rbp - 0x78]
mov r15d, r14d
mov r13d, dword [rbp + 0xc0]
add r12d, dword [rbp - 0x78]
add r13d, dword [rbp - 0x74]
mov dword [rbp + 0xb0], edi
mov rdi, qword [rbp + 0xc8]
mov rcx, rdi
mov dword [rbp + 0xa8], esi
mov dword [rsp + 0x54], r14d
mov esi, r14d
mov dword [rsp + 0x50], 0xffffffff
call fcn.1400a5db4
mov rbx, rax
test rax, rax
je 0x140043028
add rbx, 2
lea rdx, [0x1400e70d0]
mov rcx, rbx
call fcn.1400a7970
test eax, eax
je 0x14004300d
lea rdx, [0x1400e70d8]
mov rcx, rbx
call fcn.1400a7970
test eax, eax
je 0x14004300d
lea rdx, [0x1400e70e0]
mov rcx, rbx
call fcn.1400a7970
test eax, eax
jne 0x140043028
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, gethostbyname
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r14d, eax
mov rbx, rdi
nop dword [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14004303f
cmp ax, 9
jne 0x140043045
add rbx, 2
jmp 0x140043030
cmp word [rbx], 0x2a
jne 0x1400432cf
nop
movzx ecx, word [rbx + 2]
add rbx, 2
call fcn.1400afcd8
movzx eax, ax
cmp eax, 0x48
je 0x140043207
cmp eax, 0x57
je 0x1400431de
mov r8d, 4
lea rdx, str.Icon
mov rcx, rbx
call fcn.1400a9f58
test eax, eax
jne 0x1400430be
add rbx, 8
mov rcx, rbx
call fcn.14000ed20
mov rcx, rbx
test al, al
je 0x1400430b1
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400ab9b0
mov r15d, eax
jmp 0x14004322d
call fcn.1400ab54c
mov r15d, eax
jmp 0x14004322d
mov r8d, 5
lea rdx, str.Trans
mov rcx, rbx
call fcn.1400a9f58
test eax, eax
jne 0x140043198
add rbx, 0xa
lea r8d, [rax + 0x1f]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1400b0a34
movzx edx, word [rbp + 0x10]
lea r8, [rbp + 0x10]
xor r9d, r9d
mov word [rbp + 0x4e], r9w
test dx, dx
je 0x140043146
nop dword [rax]
nop dword [rax + rax]
lea rcx, [0x1400df950]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x140043142
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140043120
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140043110
jmp 0x140043146
mov word [r8], r9w
lea rcx, [rbp + 0x10]
call fcn.140088b40
mov edx, eax
cmp eax, 0xffffffff
jne 0x14004316e
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x10]
call fcn.1400ab9b0
mov dword [rsp + 0x50], eax
jmp 0x14004322d
shr ax, 8
movzx r8d, al
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, dl
or r8d, ecx
shl eax, 0x10
or r8d, eax
mov dword [rsp + 0x50], r8d
jmp 0x14004322d
mov rcx, rbx
call fcn.14000ed20
mov rcx, rbx
test al, al
je 0x1400431b4
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400ab9b0
jmp 0x1400431b9
call fcn.1400ab54c
mov dword [rsp + 0x54], eax
mov ecx, eax
test eax, eax
jns 0x1400431cb
xor eax, eax
mov dword [rsp + 0x54], eax
jmp 0x14004322d
cmp ecx, 0xff
jle 0x14004322d
mov ecx, 0xff
mov dword [rsp + 0x54], ecx
jmp 0x14004322d
lea rcx, [rbx + 2]
call fcn.14000ed20
lea rcx, [rbx + 2]
test al, al
je 0x1400431fe
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400ab9b0
mov esi, eax
jmp 0x14004322d
call fcn.1400ab54c
mov esi, eax
jmp 0x14004322d
lea rcx, [rbx + 2]
call fcn.14000ed20
lea rcx, [rbx + 2]
test al, al
je 0x140043225
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400ab9b0
jmp 0x14004322a
call fcn.1400ab54c
mov r14d, eax
test rbx, rbx
je 0x14004326f
movzx edx, word [rbx]
test dx, dx
je 0x14004326f
nop word [rax + rax]
lea rcx, [0x1400df950]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x1400432a7
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140043250
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x140043240
mov rax, qword [0x1400fcaa8]
lea rdx, [0x1400df9b4]
cmp byte [rax + 0x150], 0
jne 0x140043b14
mov rcx, qword [0x140100ee0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008ac50
jmp 0x140043b2a
lea rdi, [rbx + 2]
mov rbx, rdi
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400432bf
cmp ax, 9
jne 0x1400432c5
add rbx, 2
jmp 0x1400432b0
cmp word [rbx], 0x2a
je 0x140043050
lea rax, [rbp + 0xc8]
mov r8d, r14d
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0xb8]
mov byte [rsp + 0x28], 0
mov edx, esi
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140088ff0
mov qword [rbp - 0x70], rax
mov rdi, rax
test rax, rax
je 0x14004326f
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp - 0x50], rax
mov r15, rax
test rax, rax
jne 0x14004334b
cmp byte [rbp + 0xc8], al
jne 0x14004326f
cmp dword [rbp + 0xb8], 1
mov rcx, rdi
jne 0x140043340
call qword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x14004326f
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14004326f
xor eax, eax
xor sil, sil
cmp dword [rbp + 0xb8], 1
mov r14d, eax
mov qword [rbp - 0x40], rax
mov ebx, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x30], rax
mov byte [rbp + 0xc0], sil
jne 0x1400433e4
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x1400433cc
mov rcx, qword [rbp]
lea rax, [rbp + 0xb8]
mov dword [rsp + 0x28], 1
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.1400422b0
mov rcx, qword [rbp + 8]
mov rbx, rax
mov qword [rbp - 0x68], rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call fcn.1400899b0
mov qword [rbp - 0x70], rax
mov rdi, rax
test rax, rax
je 0x14004326f
lea rax, [rbp + 0xb8]
mov dword [rsp + 0x28], 8
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x5c]
mov rdx, r15
mov rcx, rdi
call fcn.1400422b0
mov qword [rbp - 0x48], rax
mov r15, rax
test rax, rax
je 0x1400439e5
sub r13d, dword [rbp + 0xb0]
mov rcx, qword [rbp - 0x50]
inc r13d
sub r12d, dword [rbp + 0xa8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x68], rax
mov r14, rax
test rax, rax
je 0x1400439da
mov rcx, qword [rbp - 0x50]
lea edx, [r12 + 1]
mov r8d, r13d
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400439e5
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400439e5
mov eax, dword [rbp + 0xb0]
lea r9d, [r12 + 1]
mov dword [rsp + 0x40], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x38], eax
xor edx, edx
mov eax, dword [rbp + 0xa8]
mov rcx, r14
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x1400439e5
mov rcx, qword [rbp - 0x40]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, r14
call fcn.1400422b0
mov qword [rsp + 0x78], rax
mov r12, rax
test rax, rax
je 0x1400439e5
mov edi, dword [rsp + 0x5c]
mov r8d, edi
mov esi, dword [rsp + 0x70]
mov r13d, dword [rsp + 0x60]
mov r9d, r13d
imul r9d, dword [rbp - 0x80]
imul r8d, esi
cmp byte [rbp + 0xb8], 0
mov dword [rbp - 0x5c], r9d
movsxd r11, r8d
mov qword [rbp - 0x58], r11
movsxd r14, r9d
jne 0x14004353c
cmp byte [rsp + 0x58], 0
je 0x140043650
mov eax, dword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x14004354e
and eax, 0xf8f8f8
mov dword [rsp + 0x50], eax
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x1400435b7
cmp r9d, 8
jb 0x1400435b7
mov eax, r9d
and eax, 0x80000007
jge 0x14004356e
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x1400ea430]
sub r9d, eax
nop dword [rax]
movsxd rax, edx
movdqu xmm0, xmmword [r12 + rax*4]
pand xmm0, xmm1
movdqu xmmword [r12 + rax*4], xmm0
lea eax, [rdx + 4]
add edx, 8
movsxd rcx, eax
movdqu xmm0, xmmword [r12 + rcx*4]
pand xmm0, xmm1
movdqu xmmword [r12 + rcx*4], xmm0
cmp edx, r9d
jl 0x140043580
mov r9d, dword [rbp - 0x5c]
xor ecx, ecx
movsxd rax, edx
cmp rax, r14
jge 0x1400435d0
nop
and dword [r12 + rax*4], 0xf8f8f8
inc rax
cmp rax, r14
jl 0x1400435c0
mov edx, ecx
test r8d, r8d
jle 0x140043631
cmp r8d, 8
jb 0x140043631
mov eax, r8d
and eax, 0x80000007
jge 0x1400435ee
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [0x1400ea430]
sub r8d, eax
nop dword [rax]
movsxd rax, edx
movdqu xmm0, xmmword [r15 + rax*4]
pand xmm0, xmm1
movdqu xmmword [r15 + rax*4], xmm0
lea eax, [rdx + 4]
add edx, 8
movsxd rcx, eax
movdqu xmm0, xmmword [r15 + rcx*4]
pand xmm0, xmm1
movdqu xmmword [r15 + rcx*4], xmm0
cmp edx, r8d
jl 0x140043600
movsxd rax, edx
cmp rax, r11
jge 0x140043650
nop dword [rax]
and dword [r15 + rax*4], 0xf8f8f8
inc rax
cmp rax, r11
jl 0x140043640
test r11, r11
jle 0x14004366d
lea rax, [r15 + 3]
mov rcx, r11
nop dword [rax]
mov byte [rax], 0
lea rax, [rax + 4]
sub rcx, 1
jne 0x140043660
mov r10d, dword [rsp + 0x54]
cmp r10d, 1
jge 0x1400437c3
test r14, r14
jle 0x14004369d
lea rax, [r12 + 3]
mov rcx, r14
nop dword [rax]
mov byte [rax], 0
lea rax, [rax + 4]
sub rcx, 1
jne 0x140043690
xor r10d, r10d
mov dword [rbp + 0xb8], r10d
mov r15d, r10d
test r9d, r9d
jle 0x1400439b2
mov r9, qword [rbp - 0x48]
mov edi, r10d
mov r8d, dword [rsp + 0x50]
mov esi, dword [r9]
cmp dword [r12 + rdi*4], esi
mov r12, qword [rbp - 0x68]
je 0x1400436e1
test r12, r12
je 0x1400436d8
cmp dword [r12], 0
jne 0x1400436e1
cmp esi, r8d
jne 0x1400437a3
mov ecx, dword [rbp - 0x80]
mov eax, r15d
cdq
idiv r13d
sub ecx, eax
cmp dword [rsp + 0x70], ecx
jg 0x1400437a3
mov eax, r13d
sub eax, edx
cmp dword [rsp + 0x5c], eax
jg 0x1400437a3
cmp qword [rbp - 0x58], 0
mov al, 1
mov r8d, r10d
mov r11, r10
mov ecx, r15d
jle 0x140043a05
mov rbx, r9
mov byte [rbp + 0xc0], al
sub rbx, r12
mov r10d, r15d
mov rdx, r12
nop
mov r15, qword [rsp + 0x78]
mov r9d, dword [rbx + rdx]
movsxd rax, ecx
cmp dword [r15 + rax*4], r9d
mov r15d, dword [rbp + 0xb8]
je 0x14004375a
test r12, r12
je 0x140043753
cmp dword [rdx], 0
jne 0x14004375a
cmp r9d, dword [rsp + 0x50]
jne 0x14004378f
inc r8d
cmp r8d, dword [rsp + 0x5c]
jge 0x140043768
inc ecx
jmp 0x140043773
xor eax, eax
add r10d, r13d
mov r8d, eax
mov ecx, r10d
inc r11
add rdx, 4
cmp r11, qword [rbp - 0x58]
jl 0x140043730
movzx esi, byte [rbp + 0xc0]
mov ebx, r15d
jmp 0x140043a0e
mov r9, qword [rbp - 0x48]
xor al, al
mov r8d, dword [rsp + 0x50]
xor r10d, r10d
mov byte [rbp + 0xc0], al
inc r15d
inc rdi
mov dword [rbp + 0xb8], r15d
cmp rdi, r14
jge 0x1400439b2
mov r12, qword [rsp + 0x78]
jmp 0x1400436c2
xor r8d, r8d
mov dword [rbp + 0xb8], r8d
mov r15d, r8d
test r9d, r9d
jle 0x1400439b2
jmp 0x1400437e4
mov rbx, qword [rbp - 0x68]
mov ecx, dword [rbp - 0x80]
mov eax, r15d
cdq
idiv r13d
sub ecx, eax
cmp esi, ecx
jg 0x14004399f
mov eax, r13d
sub eax, edx
cmp edi, eax
jg 0x14004399f
mov qword [rbp - 0x38], r8
mov sil, 1
mov dword [rbp - 0x7c], r15d
mov r13d, r8d
test r11, r11
jle 0x140043a08
mov r12, qword [rbp - 0x48]
mov rax, rbx
sub rax, r12
mov byte [rbp + 0xc0], sil
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x60], r15d
nop word [rax + rax]
mov ecx, dword [r12]
movzx r8d, byte [r12 + 1]
movzx r15d, byte [r12]
shr ecx, 0x10
movzx edx, cl
cmp r10d, edx
jle 0x14004385f
xor r14b, r14b
jmp 0x140043866
movzx r14d, cl
sub r14b, r10b
movzx r9d, r8b
cmp r10d, r9d
jle 0x140043874
xor sil, sil
jmp 0x14004387b
movzx esi, r8b
sub sil, r10b
movzx ebx, r15b
cmp r10d, ebx
jle 0x140043889
xor dil, dil
jmp 0x140043890
movzx edi, r15b
sub dil, r10b
mov eax, 0xff
sub eax, edx
cmp r10d, eax
jle 0x1400438a1
mov r11b, 0xff
jmp 0x1400438a5
lea r11d, [rcx + r10]
mov eax, 0xff
sub eax, r9d
cmp r10d, eax
jle 0x1400438b7
mov r10b, 0xff
jmp 0x1400438ba
add r10b, r8b
mov ecx, dword [rsp + 0x54]
mov eax, 0xff
sub eax, ebx
cmp ecx, eax
jle 0x1400438cd
mov cl, 0xff
jmp 0x1400438d0
add cl, r15b
movsxd rbx, dword [rbp - 0x7c]
mov r15, qword [rsp + 0x78]
movzx r8d, byte [r15 + rbx*4 + 2]
movzx edx, byte [r15 + rbx*4 + 1]
movzx r9d, byte [r15 + rbx*4]
cmp r8b, r14b
jb 0x140043908
cmp r8b, r11b
ja 0x140043908
cmp dl, sil
jb 0x140043908
cmp dl, r10b
ja 0x140043908
cmp r9b, dil
jb 0x140043908
cmp r9b, cl
jbe 0x140043924
cmp qword [rbp - 0x68], 0
je 0x14004391a
mov rax, qword [rbp - 0x28]
cmp dword [rax + r12], 0
jne 0x140043924
mov eax, dword [rsp + 0x50]
cmp dword [r12], eax
jne 0x140043973
mov edi, dword [rsp + 0x5c]
inc r13d
cmp r13d, edi
jge 0x140043937
inc ebx
mov dword [rbp - 0x7c], ebx
jmp 0x14004394d
mov r9d, dword [rbp - 0x60]
xor eax, eax
add r9d, dword [rsp + 0x60]
mov r13d, eax
mov dword [rbp - 0x60], r9d
mov dword [rbp - 0x7c], r9d
mov r9, qword [rbp - 0x38]
add r12, 4
mov r11, qword [rbp - 0x58]
inc r9
mov qword [rbp - 0x38], r9
cmp r9, r11
jge 0x1400439ed
mov r10d, dword [rsp + 0x54]
jmp 0x140043840
mov r10d, dword [rsp + 0x54]
xor al, al
mov r15d, dword [rbp + 0xb8]
xor r8d, r8d
mov r13d, dword [rsp + 0x60]
mov r9d, dword [rbp - 0x5c]
mov r11, qword [rbp - 0x58]
mov edi, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x70]
mov byte [rbp + 0xc0], al
inc r15d
mov dword [rbp + 0xb8], r15d
cmp r15d, r9d
jl 0x1400437e0
mov rcx, qword [0x140100ee0]
lea rdx, [0x1400df6c0]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008ac50
movzx esi, byte [rbp + 0xc0]
jmp 0x140043a08
mov ebx, dword [rbp + 0xa8]
mov r14, rax
jmp 0x140043a17
mov ebx, dword [rbp + 0xa8]
jmp 0x140043a17
mov ebx, dword [rbp + 0xb8]
movzx esi, byte [rbp + 0xc0]
mov rdi, qword [rbp - 0x70]
mov r14, qword [rsp + 0x68]
jmp 0x140043a1c
movzx esi, al
mov ebx, dword [rbp + 0xb8]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x70]
mov r15, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [rbp + 0xc8], 0
jne 0x140043a3a
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
test r14, r14
je 0x140043a5d
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x140043a54
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140043a6f
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140043a7d
call fcn.1400aba10
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140043a8e
mov rcx, rax
call fcn.1400aba10
test r15, r15
je 0x14004326f
mov rcx, r15
call fcn.1400aba10
test sil, sil
jne 0x140043aab
mov eax, 1
jmp 0x140043b2a
mov rcx, qword [rbp - 0x20]
mov edi, dword [rsp + 0x60]
test rcx, rcx
je 0x140043ad1
mov eax, ebx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cdq
idiv edi
sub edx, dword [rbp - 0x78]
add edx, dword [rbp + 0xa8]
movsxd rdx, edx
call fcn.140001460
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140043af3
mov eax, ebx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
cdq
idiv edi
sub eax, dword [rbp - 0x74]
add eax, dword [rbp + 0xb0]
movsxd rdx, eax
call fcn.140001460
mov rcx, qword [0x140100ee0]
lea rdx, [0x1400cc0a4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008ac50
jmp 0x140043b2a
mov rcx, qword [rbp + 0xa0]
lea r9, [0x1400e8120]
xor r8d, r8d
call fcn.140035600
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret