joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401288c4
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x1401ede10]
xor esi, esi
xor edi, edi
mov dword [rsp + 0x30], r9d
mov r13d, 0x400
mov r15d, r9d
mov r14, r8
mov rbp, rdx
mov rbx, rcx
movdqu xmmword [rsp + 0x34], xmm0
cmp rcx, r13
jb 0x140128933
lea eax, [rsi + 1]
cmp eax, 5
jae 0x140128933
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r13
jae 0x140128919
mov rcx, rbx
call fcn.14012880c
cmp rbx, 0x64
jae 0x1401289d2
test edi, edi
je 0x1401289d2
imul eax, edi, 0x3e8
shr eax, 0xa
cmp rbx, 0xa
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test eax, eax
je 0x1401289d2
cmp rbx, 0xa
jae 0x14012897e
lea rbx, [0x1401de3ac]
cmp eax, 0xa
jb 0x140128985
lea rbx, [0x1401d9fd0]
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x60]
mov ecx, r13d
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r9d, word [rsp + 0x60]
lea r8, str._c_s_u
mov edx, 0xa
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call fcn.1400132a4
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1400fdf4c
test r15d, r15d
jne 0x1401289db
test esi, esi
je 0x140128a04
mov r8, r14
lea rdx, [0x1401da0e8]
mov rcx, rbp
call fcn.1400fdf4c
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.1400f5fe0
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.1400fdf4c
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140128a28
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x108
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x20]
mov ecx, 0x400
lea edx, [r9 - 0x55]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x108
ret
Function at 0x140128e88
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ebp, ebp
movsxd rdi, eax
test eax, eax
je 0x140129067
lea rcx, [rdi*2 + 2]
call fcn.1401bb250
mov rbx, rax
test rax, rax
je 0x140129067
lea r8d, [rdi + 1]
mov word [rax], bp
mov rdx, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x140128efc
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov r12, rax
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x20]
mov r8d, edi
mov rdx, rbx
mov rcx, r12
mov r13, rax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [rsp + 0x30]
cmp dword [rsp + 0x20], ecx
jl 0x140129047
mov rcx, rbx
call fcn.1400e290c
cmp rax, rbx
je 0x140128f9c
mov r8, rsi
inc r8
cmp word [rax + r8*2], bp
jne 0x140128f73
lea r8, [r8*2 + 2]
mov rdx, rax
mov rcx, rbx
call fcn.1401aff80
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x140128f93
mov rsi, rdi
lea r9, [rsp + 0x20]
mov r8d, edi
shr rsi, 1
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea r15, [rsi + 2]
cmp r15, rdi
jae 0x14012903b
lea rdi, [rbx + r15*2]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bp
jne 0x140128fc7
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jl 0x14012903b
cmp rsi, 1
jb 0x14012903b
cmp r8, 1
jb 0x14012903b
mov eax, 0x2026
lea r8, [r8*2 + 2]
lea rcx, [rdi - 4]
mov word [rdi - 6], ax
mov rdx, rdi
call fcn.1401aff80
or rbp, 0xffffffffffffffff
xor eax, eax
inc rbp
cmp word [rbx + rbp*2], ax
jne 0x14012900a
lea r9, [rsp + 0x20]
mov r8d, ebp
mov rdx, rbx
mov rcx, r12
dec rsi
sub rdi, 2
dec r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp r15, rbp
mov ebp, 0
jb 0x140128fc3
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call fcn.1401bb23c
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401294e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor r15d, r15d
test eax, eax
jle 0x140129582
lea esi, [rax + 1]
movsxd rcx, esi
lea eax, [r15 + 2]
mul rcx
lea rbx, [r15 - 1]
cmovo rax, rbx
mov rcx, rax
call fcn.1401ae17c
mov rdi, rax
test rax, rax
je 0x140129582
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x20], rdi
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x14012954d
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, r14
call fcn.140129760
mov rcx, rdi
call fcn.1401addcc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14013aa84
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140254338], 0
je 0x14013aa9f
or eax, 0xffffffff
jmp 0x14013aba7
mov rax, qword [0x1402441e8]
test rax, rax
jg 0x14013aabf
dec rax
mov qword [0x1402441e8], rax
and qword [0x140254248], 0
jmp 0x14013aa97
mov rbx, qword [0x140254248]
test rbx, rbx
jg 0x14013ab13
mov rcx, qword [0x140254238]
mov ebx, 0x2000
mov edx, ebx
call fcn.14013ad24
movsxd rcx, eax
mov qword [0x140254248], rcx
test eax, eax
je 0x14013aab5
cmp rcx, 0xffffffffffffffff
je 0x14013ab49
mov rax, qword [0x140254238]
add qword [0x140254288], rbx
mov qword [0x140254240], rax
call fcn.14013a318
mov rbx, qword [0x140254248]
mov rax, qword [0x140244220]
test byte [rax + 0x90], 1
je 0x14013ab8c
cmp byte [0x14025447c], 0
je 0x14013ab61
test rbx, rbx
je 0x14013ab8c
mov rdx, qword [0x140254240]
lea rcx, [0x140254488]
mov r8, rbx
call fcn.14013e5a8
jmp 0x14013ab85
lea rdx, [0x140232ee0]
lea rcx, [0x14023bd90]
call fcn.1400bf928
jmp 0x14013aab5
mov rdi, qword [0x140254240]
test rbx, rbx
je 0x14013ab8c
call fcn.14013e2f8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14013e46c
inc rdi
sub rbx, 1
jne 0x14013ab6d
mov rbx, qword [0x140254248]
mov rax, qword [0x140254240]
dec rbx
mov qword [0x140254248], rbx
movzx eax, byte [rax]
inc qword [0x140254240]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14013e364
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.14013e318
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x1402543c0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.14013e46c
inc rbx
cmp rbx, 0xc
jl 0x14013e39e
mov rax, qword [0x140244220]
movzx ecx, byte [0x1402542b7]
test byte [rax + 0x90], 2
movzx eax, byte [0x1402542af]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14013e3fc
or eax, 0xffffffff
jmp 0x14013e451
test dil, dil
je 0x14013e44f
mov rbx, qword [0x140254248]
mov rax, qword [0x1402441e8]
mov rdi, qword [0x140254240]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x14013e44f
mov ecx, dword [0x1402543c0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14013e46c
inc rdi
sub ebx, 1
jne 0x14013e423
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14013e46c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x1402543b8]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x1402543c0]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140243dc0]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x1402543bc]
imul eax, eax, 0x8088405
mov dword [0x1402543b8], r8d
inc eax
mov dword [0x1402543bc], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x1402543c0], ecx
ret

Function at 0x14013e75c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.14013ec60
xor edi, edi
test rsi, rsi
je 0x14013e7d4
cmp byte [r14], dil
je 0x14013e7d4
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14013e808
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x14013e7dd
mov rcx, rbx
call fcn.1400fc09c
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1400fc0c4
test rsi, rsi
je 0x14013e83f
cmp byte [r14], dil
jne 0x14013e83f
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400fc0c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14013ec60
test r15, r15
je 0x14013e878
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x14013e867
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14013e894
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x14013e8e0
call fcn.1400fc09c
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400fc0c4
mov rdx, rbp
mov rcx, rbx
call fcn.14013ec60
mov edi, 0x14
jmp 0x14013e8e8
mov rcx, rbp
call fcn.1401aff80
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x14013e90f
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x14013e8fb
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.1401b0b80
mov rcx, rbx
call fcn.1400fc09c
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400fc0c4
Function at 0x140142934
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [case.0x1400f0cf3.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f0cf3.0]
cmp eax, 0x40
jne 0x140142a2a
cmp byte [rsp + 0x20], 0x4d
jne 0x140142a2a
cmp byte [rsp + 0x21], 0x5a
jne 0x140142a2a
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x1400f0cf3.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f0cf3.0]
cmp eax, 0x108
jne 0x140142a2a
cmp byte [rsp + 0x20], 0x50
jne 0x140142a2a
cmp byte [rsp + 0x21], 0x45
jne 0x140142a2a
cmp byte [rsp + 0x22], 0
jne 0x140142a2a
cmp byte [rsp + 0x23], 0
jne 0x140142a2a
cmp byte [rsp + 0x38], 0xb
jne 0x140142a2a
cmp byte [rsp + 0x39], 1
jne 0x140142a11
cmp dword [rbp - 0x6c], 4
jbe 0x140142a11
mov eax, dword [rbp - 0x48]
jmp 0x140142a2c
cmp byte [rsp + 0x38], 0xb
jne 0x140142a2a
cmp byte [rsp + 0x39], 2
jne 0x140142a2a
cmp dword [rbp - 0x5c], 4
jbe 0x140142a2a
mov eax, dword [rbp - 0x38]
jmp 0x140142a2c
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x140144a28
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
mov rax, qword [rax + 0x90]
call qword [case.0x1400f0cf3.0]
mov ebx, eax
test eax, eax
js 0x140144ae3
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140144af1
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x1401f36c0]
mov rax, qword [rax]
call qword [case.0x1400f0cf3.0]
mov ebx, eax
test eax, eax
js 0x140144ad1
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400f0cf3.0]
mov ebx, eax
test eax, eax
js 0x140144abf
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f0cf3.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f0cf3.0]
test ebx, ebx
js 0x140144af1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x140144b62
cmp qword [rdi + 0x10], 0
je 0x140144b62
cmp qword [rdi + 0x58], 0
jne 0x140144b62
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x140144b62
mov rcx, rdi
call fcn.1401457d0
mov rsi, rax
test rax, rax
je 0x140144b62
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.1401bb23c
mov rsi, qword [rsp + 0x60]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1401450d4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov esi, 1
lea r15, [0x1401d9fd0]
lea r14, str.open
cmp dword [rcx + 0x84], 2
jne 0x14014525f
call fcn.140143bd4
mov edx, eax
xor edi, edi
test eax, eax
je 0x14014522e
sub edx, esi
je 0x1401451e9
sub edx, esi
je 0x1401451a7
cmp edx, 2
je 0x140145159
cmp eax, 5
je 0x14014525f
cmp eax, 3
je 0x14014525f
jmp 0x140145259
mov r8, rbx
lea rdx, str.__new_window
lea rcx, [rbp - 0x30]
call fcn.1400040f0
nop
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.opera.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
lea rcx, [rbp - 0x30]
call fcn.140006b84
jmp 0x140145259
mov r8, rbx
lea rdx, str.__new_window
lea rcx, [rbp - 0x30]
call fcn.1400040f0
nop
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.chrome.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
jmp 0x140145199
mov r8, rbx
lea rdx, str._new_window
lea rcx, [rbp - 0x30]
call fcn.1400040f0
nop
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.firefox.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
jmp 0x140145199
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14014523b
mov r9, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.iexplore.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
cmp rdi, 0x20
ja 0x140145283
cmp qword [rbx + 0x18], 8
jb 0x140145269
mov rbx, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14015fdac
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov dword [rbp - 0x20], edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rdi
mov edx, 0x105
lea rcx, [rbp - 0x18]
call fcn.14000a438
nop
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14015fe18
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
sub rcx, rdx
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x14015fe18
cmp word [rdx], di
jne 0x14015fe1f
lea rdx, str._rartemp_
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14015fe2e
mov rcx, rbx
call fcn.1400041a8
mov dword [rbp - 0x20], 1
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14015fe8f
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015fe7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015fea2
call fcn.1401addcc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rdi
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
call fcn.1401b4fa4
int3
Function at 0x1401605e8
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov rcx, r15
mov edx, dword [rsp + 0x64]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov rbx, rax
mov r9d, dword [rsp + 0x64]
mov ecx, r9d
mov dword [rsp + 0x50], 0xcc0020
neg ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], ecx
mov rcx, rbp
and dword [rsp + 0x38], 0
lea r8d, [r9 - 1]
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r14
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x1401609b0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14015ffb4
test al, al
jne 0x140160a1d
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x14015f340]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x140160a1d
cmp ebx, 5
jne 0x140160a0b
mov rcx, qword [0x140231ad8]
test rcx, rcx
je 0x140160a1d
cmp qword [0x140231af8], 0
jne 0x140160a1d
xor r9d, r9d
lea edx, [rbx + 0xb]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140160a1d
mov ecx, ebx
call fcn.1401741e4
test al, al
je 0x140160a1d
mov ecx, ebx
call fcn.1400ff434
add rsp, 0x20
pop rbx
ret