joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140131e48
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140131ecf
mov rsi, rbx
cmp word [rax], bp
je 0x140131e8e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140131e78
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140131e74
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140129d74
mov rdi, rax
test rax, rax
je 0x140131ebc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401093a0
mov rbp, rdi
xor ecx, ecx
call fcn.1401298f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140134e44
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401281e0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140134ee5
cmp ebx, dword [rsp + 0x30]
je 0x140134ede
test esi, esi
je 0x140134ede
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140134eb9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140134ec6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140134ea3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140134eca
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140134ee7
mov eax, 1
jmp 0x140134ee7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14013923c
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401287d8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401287d8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14013938c
cmp rax, 0xffffffffffffffff
je 0x14013938c
xor edi, edi
test rbp, rbp
jle 0x140139337
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14012bd5c
mov rbx, rax
test rax, rax
jne 0x1401392c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14013932d
mov edx, 0x8000
mov ecx, r14d
call fcn.140126350
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14012db90
cmp eax, 0xffffffff
je 0x14013930d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401392d4
mov edx, r15d
mov ecx, r14d
call fcn.140126350
jmp 0x14013932d
cmp byte [rsi + 0x38], dil
je 0x140139324
cmp dword [rsi + 0x34], 5
jne 0x140139324
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14013932d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401298f0
jmp 0x1401393a0
jns 0x1401393a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401287d8
cmp rax, 0xffffffffffffffff
jne 0x140139358
cmp byte [rsi + 0x30], dil
je 0x1401393a0
mov edi, dword [rsi + 0x2c]
jmp 0x1401393a0
mov ecx, r14d
call fcn.1401328f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401393a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1401393a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140139399
mov eax, dword [rsi + 0x2c]
jmp 0x14013939e
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401287d8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140139ec0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140139ee8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140139ee8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400019a0
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 [0x140032010]
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 0x140001a09
mov eax, dword [rsi + 0x20]
cmp eax, 0xffffffff
je 0x140001a09
mov ebp, 3
cmp dword [rsi + 0x28], eax
jge 0x140001a9f
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.140001c90
test al, al
je 0x140001a4a
cmp dword [rsi + 0x24], ebx
jne 0x140001a5e
mov eax, dword [rsi + 0x28]
add eax, 1
jmp 0x140001a6d
mov eax, 0xfffffe70
add eax, dword [rsp + 0x3c]
xor ebp, ebp
cmp eax, 0x64
setb bpl
jmp 0x140001a9f
mov dword [rsi + 0x24], ebx
mov dword [rsi + 0x28], 0
mov eax, 1
mov dword [rsi + 0x28], eax
cmp qword [rsi + 0x10], 0
je 0x140001a9a
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x140001a84
mov rdx, qword [rsi]
lea r8, [0x14002db58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
je 0x140001abb
mov ebp, 2
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002a1c0
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.140001b70
mov r8d, dword [rsi + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140001b70
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140001a9a
Function at 0x140004340
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x1400043ec
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x1400043ec
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400043ea
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 0x140004403
cmp eax, 1
je 0x1400043b7
test eax, eax
jne 0x1400043ea
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x1400043e0
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 0x1400043ea
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x1400043ec
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002a1c0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x1400043ec

Function at 0x140005de0
Capabilities:
Delete file
Query environment variable

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x140032010]
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 0x140005e0b
cmp byte [rax], 0
jne 0x140005e2d
cmp qword [0x140032368], 0
jne 0x140005e41
cmp qword [0x140032388], 0
jne 0x140005e7d
cmp qword [0x1400323a8], 0
jne 0x140005ebd
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002a1c0
nop
add rsp, 0x50
pop rsi
ret
lea rdx, [0x140032358]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.140010c40
cmp qword [rsp + 0x40], 7
mov rcx, rsi
jbe 0x140005e65
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call section..text
cmp qword [0x140032388], 0
je 0x140005e1f
lea rdx, [0x140032378]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.140010c40
cmp qword [rsp + 0x40], 7
mov rcx, rsi
jbe 0x140005ea1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call section..text
cmp qword [0x1400323a8], 0
je 0x140005e2d
lea rdx, [0x140032398]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.140010c40
cmp qword [rsp + 0x40], 7
mov rcx, rsi
jbe 0x140005ee1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call section..text
jmp 0x140005e2d
Function at 0x1400113d0
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 [0x1400324f0], 1
jne 0x14001148b
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 0x1400114a2
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 0x140012e30
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r8, qword [rdx + 0x10]
cmp qword [rcx + 0x10], r8
jne 0x140012e96
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
jbe 0x140012e65
mov rcx, qword [rsi]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x140012e72
mov rdx, qword [rdi]
call sub.VCRUNTIME140.dll_memcmp
mov bl, 1
test eax, eax
jne 0x140012e96
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002a1c0
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.140010c40
cmp qword [rsp + 0x58], 7
mov rbx, r14
jbe 0x140012eb6
mov rbx, qword [rsp + 0x40]
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.140010c40
cmp qword [rsp + 0x38], 7
mov rcx, rdi
jbe 0x140012ed6
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 0x140012e7d
Function at 0x1400155e0
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 [0x140032010]
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 0x14001563d
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 0x140015662
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 0x140015705
lea rdi, [rsp + 0x40]
mov rcx, rdi
call sub.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 0x140015705
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
sub eax, ecx
js 0x140015705
mov ebp, dword [rsp + 0x8b0]
test ebp, ebp
jne 0x1400156bf
mov ebp, dword [r15 + 8]
sub ebp, ecx
sub ebp, dword [r15]
add ebp, eax
test r14b, r14b
je 0x1400156d4
mov edx, dword [r15]
mov r9d, dword [r15 + 8]
sub edx, ebp
mov dword [r15], edx
jmp 0x1400156e2
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.14002a1c0
mov eax, ebp
add rsp, 0x850
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140015740
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 [0x140032010]
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 0x140015799
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140015799
xor edi, edi
jmp 0x1400157ee
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 0x1400157e3
cmp dword [rsp + 0x44], 4
jne 0x1400157e3
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.14002a1c0
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140015cc0
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 [0x140032010]
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 0x140015d23
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 sub.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 0x140015dbd
mov eax, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x40]
sub ebx, ebp
cmp eax, ebx
jl 0x140015dbd
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 0x140015dde
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14002a1c0
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 [0x1400324e0]
mov rcx, qword [rdi + 8]
call fcn.140015040
mov rax, qword [0x1400324e0]
mov qword [rax + 8], rdi
mov qword [rax], rdi
mov rax, qword [0x1400324e0]
mov qword [rax + 0x10], rdi
mov qword [0x1400324e8], 0
mov dword [rsp + 0x34], 0x3ed
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x34]
call fcn.140016c80
mov dword [rsp + 0x34], 0x3f4
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x34]
call fcn.140016c80
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, [0x14002b7e0]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7e4]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7e8]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7ec]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7f0]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7f4]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7f8]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b7fc]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b800]
mov rcx, rsi
call fcn.140016c80
lea rdx, [0x14002b804]
mov rcx, rsi
call fcn.140016c80
jmp 0x140015dbd
Function at 0x140016710
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 [0x140032010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x1400168c0
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.140010b80
cmp qword [rsp + 0x50], 7
mov r8, rdi
jbe 0x1400167f6
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.140015cc0
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 [0x1400324f8], 0
mov qword [0x1400323e0], rsi
lea rsi, [0x1400323e0]
lea rcx, [0x1400323e8]
lea rdx, [0x140032478]
call fcn.140021bd0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140010df0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400324f8], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002a1c0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002a1c0
mov rcx, rsi
xor edx, edx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
jmp fcn.1400168e0
Function at 0x1400168e0
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 [0x140032010]
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 [0x14002b1b0]
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 [0x1400324b8], 7
jbe 0x140016951
mov rdx, qword [0x1400324a0]
jmp 0x140016958
lea rdx, [0x1400324a0]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400169b4
mov eax, dword [rsp + 0x50]
lea eax, [rax + rax]
add eax, 2
cmp qword [rsp + 0x58], 7
jbe 0x140016985
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, [0x1400324a0]
cmp qword [0x1400324b8], 7
mov rcx, rbx
jbe 0x1400169f0
mov rcx, qword [0x1400324a0]
lea rdx, str.IncludeURL
call fcn.140016f80
mov rcx, rsi
mov edx, 0x3f0
call rdi
test eax, eax
setne r8b
cmp qword [0x1400324b8], 7
mov rcx, rbx
jbe 0x140016a20
mov rcx, qword [0x1400324a0]
lea rdx, str.EmailMe
call fcn.140016f80
mov rcx, rsi
mov edx, 0x3ef
call rdi
test eax, eax
setne r8b
cmp qword [0x1400324b8], 7
jbe 0x140016a4d
mov rbx, qword [0x1400324a0]
lea rdx, str.SubmitCrashReport
mov rcx, rbx
call fcn.140016f80
movsxd rdx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14002a1c0
nop
add rsp, 0x868
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140016a90
Capabilities:
Get graphical window text

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x9cc8
call fcn.14002a200
sub rsp, rax
movaps xmmword [rsp + 0x9cb0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140032010]
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 0x140016b64
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.14002a1c0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x9cb0]
add rsp, 0x9cc8
pop rbx
pop rdi
pop rsi
pop r14
ret