joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004870
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov rax, qword [0x140163020]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [0x14015e071], 0
movups xmm0, xmmword [str.wNjIXLF_t___6_3__e____R]
movzx eax, word [0x14015e070]
mov qword [r11 - 8], rbx
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x30], 0
movsd xmm0, qword [0x14015e068]
movsd qword [rsp + 0x48], xmm0
mov word [rsp + 0x50], ax
je 0x140004a8d
xor ecx, ecx
cmp dword [0x140163030], 2
jl 0x140004a4b
movdqa xmm0, xmmword [0x14015e160]
lea rdx, [rsp + 0x3c]
movdqa xmm5, xmmword [0x14015e0f0]
mov eax, 4
movdqa xmm4, xmmword [0x14015e170]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x14015e120]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14015e140]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140004930
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp ecx, 0x1a
jge 0x140004a8d
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x140004a60
lea rdx, [0x14015e028]
call fcn.140001340
lea r8, [rsp + 0x38]
mov rdx, rax
call fcn.1400014a0
mov rbx, rax
call fcn.140001a30
mov r9d, 0x30
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rax
call rbx
test rbx, rbx
mov rbx, qword [rsp + 0xe0]
je 0x140004aea
test eax, eax
jne 0x140004aea
mov rax, qword [rsp + 0x78]
cmp byte [rax + 2], 0
je 0x140004aea
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400081a0
add rsp, 0xe8
ret
Function at 0x140008e60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008eaa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008eaa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008eaa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008eaa
cmp dword [rcx + 0x84], 0xe
jbe 0x140008eaa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008eac
xor al, al
add rsp, 0x28
ret

Function at 0x14000eb20
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000e98b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e98b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e98b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e98b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e98b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e98b
cmp dword [rcx + 0xf8], 0
je 0x14000e98b
mov ecx, ebx
call fcn.14000ea3c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000e818
nop
cmp dword [rbp + 0x20], 0
je 0x14000e9d9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000e9e4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000e91c

Function at 0x1400165ac
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400165cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140011d1c
or eax, 0xffffffff
jmp 0x1400165ce
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001a10
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rsp + 0x40]
imul eax, eax, 0x2710
movzx ecx, word [rsp + 0x42]
imul ecx, ecx, 0x64
add ecx, eax
movzx ebx, word [rsp + 0x46]
add ebx, ecx
cmp ebx, dword [rsi + 0x24]
jne 0x140001a79
mov eax, dword [rsi + 0x20]
cmp eax, 0xffffffff
je 0x140001a79
mov ebp, 3
cmp dword [rsi + 0x28], eax
jge 0x140001b0f
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, r15
mov r8, r14
xor r9d, r9d
call fcn.140001d00
test al, al
je 0x140001aba
cmp dword [rsi + 0x24], ebx
jne 0x140001ace
mov eax, dword [rsi + 0x28]
add eax, 1
jmp 0x140001add
mov eax, 0xfffffe70
add eax, dword [rsp + 0x3c]
xor ebp, ebp
cmp eax, 0x64
setb bpl
jmp 0x140001b0f
mov dword [rsi + 0x24], ebx
mov dword [rsi + 0x28], 0
mov eax, 1
mov dword [rsi + 0x28], eax
cmp qword [rsi + 0x10], 0
je 0x140001b0a
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x140001af4
mov rdx, qword [rsi]
lea r8, [0x14002a952]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
je 0x140001b2b
mov ebp, 2
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140027320
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov r9, qword [rsp + 0x40]
lea rcx, str.GBP1_n
mov edx, 5
mov r8d, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r8d, dword [rsi + 0x24]
mov rcx, qword [rsp + 0x40]
call fcn.140001be0
mov r8d, dword [rsi + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140001be0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140001b0a
Function at 0x140004890
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14000493c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14000493c
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000493a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x140004953
cmp eax, 1
je 0x140004907
test eax, eax
jne 0x14000493a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140004930
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000493a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14000493c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140027320
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x14000493c

Function at 0x140006570
Capabilities:
Delete file
Query environment variable

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, str.MOZ_CRASHREPORTER_NO_DELETE_DUMP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000659b
cmp byte [rax], 0
jne 0x1400065bd
cmp qword [0x14002f340], 0
jne 0x1400065d1
cmp qword [0x14002f360], 0
jne 0x14000660d
cmp qword [0x14002f380], 0
jne 0x14000664d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140027320
nop
add rsp, 0x50
pop rsi
ret
lea rdx, [0x14002f330]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.1400123c0
cmp qword [rsp + 0x40], 7
mov rcx, rsi
jbe 0x1400065f5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call section..text
cmp qword [0x14002f360], 0
je 0x1400065af
lea rdx, [0x14002f350]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.1400123c0
cmp qword [rsp + 0x40], 7
mov rcx, rsi
jbe 0x140006631
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call section..text
cmp qword [0x14002f380], 0
je 0x1400065bd
lea rdx, [0x14002f370]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.1400123c0
cmp qword [rsp + 0x40], 7
mov rcx, rsi
jbe 0x140006671
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call section..text
jmp 0x1400065bd
Function at 0x140012960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov r12, rdx
movzx edx, cx
cmp byte [0x14002f470], 1
jne 0x140012a1b
mov r8d, 5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov ecx, 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov rcx, rax
mov rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
or byte [rdi + 0xa], 0x40
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov rdx, rdi
mov r8, r12
mov r9, r14
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, rdi
jmp 0x140012a32
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov r8, r12
mov r9, r14
call qword [sym.imp.USER32.dll_DialogBoxParamW]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140014370
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r8, qword [rdx + 0x10]
cmp qword [rcx + 0x10], r8
jne 0x1400143d6
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
jbe 0x1400143a5
mov rcx, qword [rsi]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x1400143b2
mov rdx, qword [rdi]
call sub.VCRUNTIME140.dll_memcmp
mov bl, 1
test eax, eax
jne 0x1400143d6
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140027320
mov eax, ebx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
call fcn.1400123c0
cmp qword [rsp + 0x58], 7
mov rbx, r14
jbe 0x1400143f6
mov rbx, qword [rsp + 0x40]
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.1400123c0
cmp qword [rsp + 0x38], 7
mov rcx, rdi
jbe 0x140014416
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, 1
sete bl
mov rcx, rdi
call section..text
mov rcx, r14
call section..text
jmp 0x1400143bd
Function at 0x140016340
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x850
mov r14d, r9d
mov rsi, r8
mov r15, rdx
mov r12, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x848], rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, r12
mov edx, 0x31
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14001639d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0x40]
mov rcx, r12
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x1400163c2
mov rdx, qword [rsi]
lea r9, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
xor ebp, ebp
test eax, eax
je 0x140016466
lea rdi, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea r9, [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x140016466
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
sub eax, ecx
js 0x140016466
mov ebp, dword [rsp + 0x8b0]
test ebp, ebp
jne 0x140016420
mov ebp, dword [r15 + 8]
sub ebp, ecx
sub ebp, dword [r15]
add ebp, eax
test r14b, r14b
je 0x140016435
mov edx, dword [r15]
mov r9d, dword [r15 + 8]
sub edx, ebp
mov dword [r15], edx
jmp 0x140016443
mov r9d, dword [r15 + 8]
add r9d, ebp
mov dword [r15 + 8], r9d
mov edx, dword [r15]
mov r8d, dword [r15 + 4]
mov eax, dword [r15 + 0xc]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov rcx, r12
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rsi
call section..text
mov rcx, qword [rsp + 0x848]
xor rcx, rsp
call fcn.140027320
mov eax, ebp
add rsp, 0x850
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400164a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [r8], 0
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400164f9
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400164f9
xor edi, edi
jmp 0x14001654e
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor edi, edi
lea r9, [rsp + 0x44]
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140016543
cmp dword [rsp + 0x44], 4
jne 0x140016543
cmp dword [rsp + 0x34], 1
sete byte [rsi]
mov dil, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140027320
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140016a00
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x868
mov r14, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov edx, 0x3f6
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, rdi
mov edx, 0x31
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140016a63
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rbp, [rsp + 0x38]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
mov rdx, r14
mov r8, rbp
mov r9d, 2
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea rbp, [rsp + 0x60]
mov rcx, rdi
mov rdx, rbp
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea r9, [rsp + 0x48]
mov rcx, rbx
mov rdx, rbp
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x140016afe
mov eax, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x40]
sub ebx, ebp
cmp eax, ebx
jl 0x140016afe
cvtsi2ss xmm0, eax
cvtsi2ss xmm1, ebx
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
imul eax, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x3c]
mov esi, r8d
sub esi, dword [rsp + 0x44]
add esi, eax
test esi, esi
jg 0x140016b1f
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140027320
nop
add rsp, 0x868
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov r15, qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rdi
mov edx, ebp
mov r9d, ebx
call r15
mov rdi, qword [0x14002f460]
mov rcx, qword [rdi + 8]
call fcn.140015da0
mov rax, qword [0x14002f460]
mov qword [rax + 8], rdi
mov qword [rax], rdi
mov rax, qword [0x14002f460]
mov qword [rax + 0x10], rdi
mov qword [0x14002f468], 0
mov dword [rsp + 0x34], 0x3ed
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x34]
call fcn.140017780
mov dword [rsp + 0x34], 0x3f4
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x34]
call fcn.140017780
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
add esi, dword [rsp + 0x5c]
mov dword [rsp + 0x5c], esi
mov edx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
sub esi, r8d
mov r9d, dword [rsp + 0x58]
sub r9d, edx
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x28], 1
mov rcx, r14
call r15
lea rdx, [0x1400287d0]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287d4]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287d8]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287dc]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287e0]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287e4]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287e8]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287ec]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287f0]
mov rcx, rsi
call fcn.140017780
lea rdx, [0x1400287f4]
mov rcx, rsi
call fcn.140017780
jmp 0x140016afe
Function at 0x140017220
Capabilities:
Create thread
Hide graphical window
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x1400173c2
mov rbx, qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
mov edx, 0x3ef
call rbx
mov rdi, qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3ee
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f3
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f2
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f0
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f1
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3ed
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f4
call rbx
mov rcx, rax
xor edx, edx
call rdi
lea rdx, str.ReportDuringSubmit2
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.140012300
cmp qword [rsp + 0x50], 7
mov r8, rdi
jbe 0x140017306
mov r8, qword [rsp + 0x38]
mov rcx, rsi
mov edx, 0x3f6
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, rdi
call section..text
mov rcx, rsi
call fcn.140016a00
mov rcx, rsi
mov edx, 0x3f7
call rbx
mov rcx, rax
mov edx, 0x465
mov r8, 0xffffffffffffffff
mov r9, 0xffffffffffff0000
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
mov edx, 0x3f7
call rbx
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [0x14002f478], 0
mov qword [0x14002f390], rsi
lea rsi, [0x14002f390]
call fcn.140019780
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400124f0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14002f478], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140027320
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140027320
mov rcx, rsi
xor edx, edx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
jmp fcn.1400173e0
Function at 0x1400173e0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x868
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x860], rax
lea rdi, [rsp + 0x60]
mov edx, 0x3f1
mov r8, rdi
mov r9d, 0x400
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
movaps xmm0, xmmword [0x1400281b0]
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], 0
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.140001070
cmp qword [0x14002f438], 7
jbe 0x140017451
mov rdx, qword [0x14002f420]
jmp 0x140017458
lea rdx, [0x14002f420]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400174b4
mov eax, dword [rsp + 0x50]
lea eax, [rax + rax]
add eax, 2
cmp qword [rsp + 0x58], 7
jbe 0x140017485
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea rdx, str.Email
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call section..text
mov rdi, qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rcx, rsi
mov edx, 0x3f2
call rdi
test eax, eax
setne r8b
lea rbx, [0x14002f420]
cmp qword [0x14002f438], 7
mov rcx, rbx
jbe 0x1400174f0
mov rcx, qword [0x14002f420]
lea rdx, str.IncludeURL
call fcn.140017ba0
mov rcx, rsi
mov edx, 0x3f0
call rdi
test eax, eax
setne r8b
cmp qword [0x14002f438], 7
mov rcx, rbx
jbe 0x140017520
mov rcx, qword [0x14002f420]
lea rdx, str.EmailMe
call fcn.140017ba0
mov rcx, rsi
mov edx, 0x3ef
call rdi
test eax, eax
setne r8b
cmp qword [0x14002f438], 7
jbe 0x14001754d
mov rbx, qword [0x14002f420]
lea rdx, str.SubmitCrashReport
mov rcx, rbx
call fcn.140017ba0
movsxd rdx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140027320
nop
add rsp, 0x868
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140017590
Capabilities:
Get graphical window text

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x9cc8
call fcn.140027360
sub rsp, rax
movaps xmmword [rsp + 0x9cb0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x9ca8], rax
lea rdx, [rsp + 0x4e80]
mov r8d, 0x2711
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x4c]
lea r9, [rsp + 0x48]
mov rcx, rdi
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rsp + 0x48]
mov eax, dword [rsp + 0x4c]
mov edi, 0xfffffffe
cmp r9d, eax
je 0x140017664
sub r9d, eax
lea r8, [rsp + rax*2]
add r8, 0x4e80
lea rdi, [rsp + 0x50]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov eax, dword [rsp + 0x48]
sub eax, dword [rsp + 0x4c]
mov word [rsp + rax*2 + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
not edi
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rsi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x4e80]
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call rsi
mov ebx, eax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call rsi
add ebx, edi
add ebx, eax
mov rcx, qword [rsp + 0x9ca8]
xor rcx, rsp
call fcn.140027320
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x9cb0]
add rsp, 0x9cc8
pop rbx
pop rdi
pop rsi
pop r14
ret