joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e92c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x8a0
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rcx
lea r8, [0x14005bbb0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
xor edi, edi
call fcn.14001b7f8
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.14001b778
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000e997
lea rcx, [rsp + 0x20]
call fcn.14001f1b8
mov edi, 1
mov eax, edi
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140013c60
mov rbx, qword [rsp + 0x8b8]
add rsp, 0x8a0
pop rdi
ret

Function at 0x14000e9bc
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
lea rcx, [0x14003d770]
call fcn.14000e92c
lea rcx, [0x14003d3d0]
call fcn.14000e92c
lea rcx, [0x14003d710]
call fcn.14000e92c
lea rcx, [0x14003d7d0]
call fcn.14000e92c
lea rcx, [0x14003d830]
call fcn.14000e92c
lea rcx, [0x14003b700]
call fcn.14000e92c
lea rcx, [0x14003d620]
add rsp, 0x28
jmp fcn.14000e92c

Function at 0x14000eae0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.140015ea0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x14005cbb0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000eb7c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140013c60
add rsp, 0xf8
ret

Function at 0x14000eb98
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rax
mov rdx, rcx
mov rbx, r8
mov rcx, 0xffffffff80000002
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ec26
cmp qword [rsp + 0x30], 0
je 0x14000ec26
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013c60
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140013168
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rbx + 1]
call fcn.140004f48
mov rdi, rax
test rax, rax
je 0x1400131d2
lea r9d, [rbx + 4]
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013c60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140013330
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r8d
lea rdx, str.Received_Post_Shell_Event__ld_n
lea rcx, [0x140059010]
call fcn.140006634
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], eax
and qword [rsp + 0x40], rax
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rax + 1]
call fcn.140004f48
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400133d7
mov dword [rsp + 0x48], 2
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InstallStage
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x38], ebx
call fcn.14000da30
xor edx, edx
mov ecx, edi
call fcn.14000dc6c
mov byte [0x14005e540], 1
test rbx, rbx
je 0x1400133fa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013c60
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14001e890
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 0x14001e6f1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
je 0x14001e6f1
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e6f1
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e6f1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e6f1
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e6f1
cmp dword [rcx + 0xf8], 0
je 0x14001e6f1
mov ecx, ebx
call fcn.14001e7ac
nop
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.14001e578
nop
cmp dword [rbp + 0x20], 0
je 0x14001e73f
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e748
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001e680

Function at 0x14001f1b8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f1d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001b624
or eax, 0xffffffff
jmp 0x14001f1da
xor eax, eax
add rsp, 0x28
ret
Function at 0x140029470
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140029192
call fcn.14001b6b0
mov dword [rax], 0x16
call fcn.14001b544
jmp 0x1400292e2
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400292e2
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400292e2
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400291c1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400292e2
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400291d5
call fcn.140029870
mov ebp, dword [rsi + 0x10]
cmp ebp, 1
jne 0x1400291e5
mov rax, qword [rsi]
mov r14b, byte [rax]
jmp 0x1400291e8
xor r14b, r14b
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140028e4c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140034048
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400292d0
mov eax, dword [rsi + 0x14]
test al, 6
jne 0x14002927b
mov rcx, rsi
call fcn.140028e4c
cmp eax, 0xffffffff
je 0x140029266
mov rcx, rsi
call fcn.140028e4c
cmp eax, 0xfffffffe
je 0x140029266
mov rcx, rsi
call fcn.140028e4c
movsxd rbx, eax
lea rdi, [0x14005f7a0]
mov rcx, rsi
sar rbx, 6
call fcn.140028e4c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rdi + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002926d
lea rdx, [0x1400574d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002927b
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002929f
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002929f
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002929f
mov dword [rsi + 0x20], 0x1000
mov rdx, qword [rsi]
cmp ebp, 1
jne 0x1400292bd
movzx ecx, byte [rdx]
dec dword [rsi + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x1400292c8
movzx ecx, word [rdx]
add dword [rsi + 0x10], 0xfffffffe
add rdx, 2
mov qword [rsi], rdx
movzx eax, cx
jmp 0x1400292e7
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14002915c
Function at 0x14002ae80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140014100
sub rsp, rax
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140028e4c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002aecf
mov rax, rbp
jmp 0x14002afd7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5f7a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002b370
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x5f7a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002afd3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002afd3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002b370
test rax, rax
js 0x14002afd3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002afd3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002afc5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002afc5
cmp byte [rcx], 0xd
jne 0x14002afab
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002afba
cmp byte [rcx + 1], 0xa
jne 0x14002afba
inc rcx
jmp 0x14002afba
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x57c10]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002af8d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002afd7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140013c60
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d1e4
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 0x14002d26b
mov rsi, rbx
cmp word [rax], bp
je 0x14002d22a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002d214
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002d210
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400278c4
mov rdi, rax
test rax, rax
je 0x14002d258
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140016d10
mov rbp, rdi
xor ecx, ecx
call fcn.14002719c
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 0x140036f98
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.14002b378
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002b378
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400370e8
cmp rax, 0xffffffffffffffff
je 0x1400370e8
xor edi, edi
test rbp, rbp
jle 0x140037093
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002b41c
mov rbx, rax
test rax, rax
jne 0x140037020
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140037089
mov edx, 0x8000
mov ecx, r14d
call fcn.140020ffc
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.14002a860
cmp eax, 0xffffffff
je 0x140037069
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140037030
mov edx, r15d
mov ecx, r14d
call fcn.140020ffc
jmp 0x140037089
cmp byte [rsi + 0x38], dil
je 0x140037080
cmp dword [rsi + 0x34], 5
jne 0x140037080
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140037089
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002719c
jmp 0x1400370fc
jns 0x1400370fc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002b378
cmp rax, 0xffffffffffffffff
jne 0x1400370b4
cmp byte [rsi + 0x30], dil
je 0x1400370fc
mov edi, dword [rsi + 0x2c]
jmp 0x1400370fc
mov ecx, r14d
call fcn.14002d72c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400370fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400370fc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400370f5
mov eax, dword [rsi + 0x2c]
jmp 0x1400370fa
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002b378
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 0x140007250
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x140007448
cmp byte [rcx + 0x81], 0
je 0x140007448
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x14000729e
xor al, al
jmp 0x14000744a
mov edx, SafeArrayGetDim
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r14d, r14d
mov r9, qword [rbp - 0x10]
nop
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, qword [rbp - 0x28]
lea r8, [rbp - 0x28]
cmovae r8, qword [rbp - 0x28]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x18]
add r9, rdx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x140007316
dec eax
jne 0x14000740b
jmp 0x14000731d
mov byte [rdi + 0x81], r14b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x140007367
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.14019b7d0
mov r9, qword [rbp - 0x10]
cmp rbx, rax
jne 0x140007414
cmp byte [rdi + 0x81], r14b
je 0x140007432
test rbx, rbx
jne 0x1400072d0
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x140007425
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140007418
cmp r9, rbx
jae 0x1400073b3
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000b6e0
mov r9, qword [rbp - 0x10]
jmp 0x1400073d1
test rbx, rbx
jne 0x1400073da
mov qword [rbp - 0x18], r14
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax], r14b
jmp 0x1400072cb
test rbx, rbx
je 0x1400072d0
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rax + rcx], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rbx + rax], dl
jmp 0x1400072cb
mov r9, qword [rbp - 0x10]
sub eax, 2
je 0x140007432
xor bl, bl
jmp 0x140007434
lea rcx, str.string_too_long
call fcn.1401bb8a0
int3
lea rcx, str.string_too_long
call fcn.1401bb8a0
int3
mov bl, 1
cmp r9, 0x10
jb 0x140007443
mov rcx, qword [rbp - 0x28]
call fcn.140012b44
movzx eax, bl
jmp 0x14000744a
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000da60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14000da93
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000dad9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000dad4
nop
cmp rbx, rcx
jae 0x14000dad9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x14000dac0
cmp rbx, rcx
jb 0x14000dadd
xor eax, eax
jmp 0x14000dae9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400116e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp qword [0x14048ec00], 0
je 0x140011757
mov qword [rsp + 0x20], rbx
call fcn.140011290
test rax, rax
je 0x1400116ff
call rax
mov rbx, qword [0x14048ec00]
test rbx, rbx
je 0x140011752
cmp dword [rbx + 0x1c], 0
je 0x140011727
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov r9d, dword [rax + 0x28]
xor edx, edx
add r9, rcx
call r9
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001173e
xor edx, edx
mov r8d, 0x8000
call qword [0x14048ebd0]
call qword [0x14048ebe8]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x14048ebe0]
mov rbx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140014508
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_712
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x140014547
cmp dword [rcx + 0xd8], 0
jne 0x140014547
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.1400225c4
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400148a4
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400145a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.1400225c4
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140014600
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140014638
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140015240
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x140483428]
test eax, eax
je 0x140015292
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140483428]
test eax, eax
jne 0x14001529b
call fcn.140015390
test eax, eax
je 0x1400152b7
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140278390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400152bf
xor eax, eax
jmp 0x140015317
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x1400152f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400152fb
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140015314
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x1400184f4
Capabilities:
Extract resource via kernel32 functions

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 r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x14001855c
call fcn.1400225c4
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001855c
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001857e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14001fa58
mov esi, eax
test rdi, rdi
je 0x14001857c
test rbx, rbx
je 0x14001857c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret