joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180091660
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x18009183b
cmp dword [rcx + 0x1c], 0
je 0x18009183b
cmp qword [rcx + 0x80], 0
je 0x180091690
call fcn.180091b80
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.18009149c
test eax, eax
je 0x1800916b5
mov eax, 0xffffff99
jmp 0x180091840
mov ecx, 0xb0
call fcn.1802299bc
mov rbx, rax
test rax, rax
jne 0x1800916d1
mov eax, 0xffffff98
jmp 0x180091840
mov ecx, 0x4000
call fcn.1802299bc
mov ecx, dword [rsp + 0x40]
and dword [rbx + 0x70], 0
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
test rax, rax
jne 0x1800916ff
mov rcx, rbx
call fcn.180220cb8
jmp 0x1800916c7
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
and dword [rbx + 0x64], 0
and dword [rbx + 0x74], 0
and dword [rbx + 0x24], 0
mov dword [rbx + 0x78], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x90], ecx
test ecx, ecx
je 0x180091754
and qword [rbx + 0x38], 0
lea rcx, [rbx + 8]
and qword [rbx + 0x40], 0
and qword [rbx + 0x48], 0
call fcn.180090670
test eax, eax
jne 0x180091754
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov cl, byte [rdi + 0x34]
mov dword [rbx + 0x7c], eax
and cl, 1
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x34]
shr eax, 3
mov byte [rbx + 0x98], cl
test al, 1
je 0x18009177e
mov al, byte [rdi + 0x3d]
jmp 0x180091781
mov al, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
neg cl
mov dword [rbx + 0x9c], 0x12345678
sbb eax, eax
mov dword [rbx + 0xa0], 0x23456789
and eax, 0xc
mov dword [rbx + 0xa4], 0x34567890
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x18009181d
lea r8, [0x1802b0ab0]
cmp byte [rsi], 0
je 0x18009181d
mov edx, dword [rbx + 0x9c]
movsx rax, byte [rsi]
xor rax, rdx
shr edx, 8
movzx ecx, al
xor edx, dword [r8 + rcx*4]
movzx eax, dl
add eax, dword [rbx + 0xa0]
imul ecx, eax, 0x8088405
mov dword [rbx + 0x9c], edx
mov edx, dword [rbx + 0xa4]
inc ecx
mov dword [rbx + 0xa0], ecx
movzx eax, byte [rbx + 0xa3]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r8 + rcx*4]
mov dword [rbx + 0xa4], edx
add rsi, 1
jne 0x1800917be
mov eax, dword [rsp + 0x58]
mov ecx, dword [rdi + 0x7c]
add eax, 0x1e
and dword [rbx + 0x10], 0
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
jmp 0x180091840
mov eax, 0xffffff9a
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x180092170
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov rbx, r9
mov rdi, rcx
mov ebp, 0x458
mov ecx, ebp
call fcn.1800982e0
mov rsi, rax
mov qword [rsp + 0x40], rax
xor r12d, r12d
test rax, rax
je 0x1800921fd
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.18021ad90
mov qword [rsi], r12
or dword [rsi + 8], 0xffffffff
or dword [rsi + 0x23c], 0xffffffff
mov qword [rsi + 0x240], r12
mov qword [rsi + 0x248], r12
test rbx, rbx
je 0x180092200
mov rcx, rbx
call fcn.180220870
lea rcx, [rax + 1]
call fcn.180098330
mov qword [rsi + 0x240], rax
mov rdx, rbx
mov rcx, rax
call fcn.180229c20
jmp 0x180092200
mov rsi, r12
cmp qword [rsi], r12
jne 0x18009231b
cmp dword [rsi + 8], 0xffffffff
jne 0x18009231b
lea rbx, [rsi + 0x250]
mov rdx, rbx
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rbx
call fcn.18021f078
movzx ecx, word [rsi + rax*2 + 0x24e]
cmp cx, 0x5c
je 0x18009224f
mov edx, 0x2f
cmp cx, dx
je 0x18009224f
mov dword [rsi + rax*2 + 0x250], edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18009230f
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
cmp eax, 0xffffffff
setne bl
mov ecx, 0x30
call fcn.1800982e0
mov r14, rax
mov byte [rax], 1
mov byte [rax + 0x18], 1
mov byte [rax + 1], bl
mov qword [rax + 8], rbp
mov byte [rax + 0x10], r12b
mov dword [rax + 0x14], r12d
cmp edi, 0xffffffff
je 0x1800922e2
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [r14 + 0x14], eax
mov rcx, r14
call fcn.180090fa0
mov qword [rsi], rax
test rax, rax
je 0x18009230f
mov dword [0x1802f55f0], r12d
mov ecx, 0x10
call fcn.1800982e0
mov dword [rax], 1
mov qword [rax + 8], rsi
jmp 0x180092363
mov eax, 0x200
mov ebp, 0x458
jmp 0x180092320
mov eax, 0x1000000
mov dword [0x1802f55f0], eax
mov rcx, qword [rsi + 0x240]
test rcx, rcx
je 0x180092337
call fcn.180098328
mov qword [rsi + 0x240], r12
mov rcx, qword [rsi + 0x248]
test rcx, rcx
je 0x18009234f
call fcn.180098328
mov qword [rsi + 0x248], r12
mov rdx, rbp
mov rcx, rsi
call fcn.180098b38
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x18009288c
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x1802e7850]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, qword [rbp + 0x7f]
mov r15, rdx
lea rdx, [rbp - 0x31]
mov r13, r9
mov r14, r8
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1800928db
mov eax, 0x200
jmp 0x180092ad0
mov r8d, dword [rbp - 0x31]
mov eax, r8d
mov r9d, r8d
and r9d, 1
mov ecx, r9d
or ecx, 2
and al, 2
mov eax, r8d
cmove ecx, r9d
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, r8d
mov eax, edx
or eax, 0x10
and ecx, 0x10
cmove eax, edx
mov edx, eax
or edx, 0x20
and r8b, 0x20
cmove edx, eax
mov eax, ecx
neg eax
mov eax, 0xc0000000
sbb ebx, ebx
and ebx, eax
add ebx, 0x81000000
or ebx, edx
test r9d, r9d
jne 0x180092944
neg ecx
sbb ebx, ebx
and ebx, eax
add ebx, 0x81800000
or ebx, edx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0x28
jbe 0x180092a1b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x41]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x24]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x3d]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x54ad
cmp word [rbp - 0x41], ax
jne 0x180092a1b
mov edx, dword [rbp - 0x3d]
lea eax, [rdx + 0x34]
cmp esi, eax
jbe 0x180092a1b
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x35]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rbp - 0x35]
cmp eax, 0x5a4d
je 0x180092a17
add eax, 0xffffbab4
cmp eax, 4
ja 0x180092a1b
mov ecx, 0x15
bt ecx, eax
jae 0x180092a1b
bts ebx, 0x16
test r15, r15
je 0x180092a23
mov dword [r15], ebx
test r14, r14
je 0x180092a2b
mov dword [r14], esi
mov rcx, qword [rbp - 0x1d]
test r13, r13
je 0x180092aab
mov r8, qword [rbp - 0x25]
movabs r10, 0xfe624e212ac18000
add r8, r10
movabs r9, 0xd6bf94d5e57a42bd
mov rax, r9
imul r8
add rdx, r8
lea r8, [rcx + r10]
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r9
mov dword [r13], edx
imul r8
mov rax, r9
add rdx, r8
sar rdx, 0x17
mov r8, rdx
shr r8, 0x3f
add rdx, r8
mov r8, qword [rbp - 0x2d]
mov dword [r13 + 4], edx
add r8, r10
imul r8
add rdx, r8
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [r13 + 8], edx
test r12, r12
je 0x180092ace
lea r8, [rbp - 0x3d]
lea rdx, [rbp - 0x41]
call fcn.180092758
movzx ecx, word [rbp - 0x41]
movzx eax, word [rbp - 0x3d]
shl ecx, 0x10
or ecx, eax
mov dword [r12], ecx
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180218160
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800955cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x1800955e0
xor eax, eax
jmp 0x180095651
lea rbx, [0x1802b2280]
not r9d
cmp r8, 8
jb 0x180095628
mov rdx, r8
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r8, rax
mov r11d, 8
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [rbx + rax*4]
sub r11, 1
jne 0x180095604
sub rdx, 1
jne 0x1800955fe
test r8, r8
je 0x18009564b
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [rbx + rax*4]
sub r8, 1
jne 0x18009562d
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
ret

Function at 0x1800956dc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1802e7850]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [rcx + 0x41], 0
mov rsi, rdx
mov edi, r8d
mov rbx, rcx
je 0x1800957da
mov rcx, qword [rcx + 0x50]
mov rax, rcx
test rcx, rcx
je 0x180095727
cmp dword [rbx + 0x58], edi
jae 0x180095727
call fcn.180098328
and qword [rbx + 0x50], 0
jmp 0x18009572c
test rax, rax
jne 0x18009573b
lea ecx, [rdi + rdi]
call fcn.180098330
mov qword [rbx + 0x50], rax
mov dword [rbx + 0x58], edi
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbp, rdi
call fcn.18021a5e0
test edi, edi
je 0x1800957d6
xor r11d, r11d
lea rsi, [0x1802b2280]
mov rax, qword [rbx + 0x50]
mov r8d, dword [rbx + 0x4c]
mov edx, dword [rbx + 0x44]
mov r9d, r8d
mov ecx, edx
and r9d, 0xfffd
movsx r10, byte [r11 + rax]
or r9d, 2
xor rcx, r10
shr edx, 8
movzx eax, cl
xor edx, dword [rsi + rax*4]
movzx eax, dl
add eax, dword [rbx + 0x48]
imul ecx, eax, 0x8088405
mov dword [rbx + 0x44], edx
inc ecx
mov dword [rbx + 0x48], ecx
movzx eax, byte [rbx + 0x4b]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [rsi + rcx*4]
mov ecx, r9d
xor ecx, 1
mov dword [rbx + 0x4c], r8d
mov rax, qword [rbx + 0x50]
imul ecx, r9d
shr ecx, 8
xor cl, r10b
mov byte [r11 + rax], cl
inc r11
sub rbp, 1
jne 0x18009575e
mov rsi, qword [rbx + 0x50]
cmp qword [rbx + 0x30], 0
je 0x18009580b
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + rdi]
cmp eax, dword [rbx + 0x3c]
jb 0x1800957f5
mov dword [rbx + 0x24], 0x30000
jmp 0x180095838
add rcx, qword [rbx + 0x30]
mov r8, rdi
mov rdx, rsi
call fcn.18021a5e0
add dword [rbx + 0x38], edi
mov eax, edi
jmp 0x18009583a
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180095831
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x30]
jmp 0x18009583a
mov dword [rbx + 0x24], 0x1000000
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180218160
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800959cc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1802e7850]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
je 0x180095a4c
mov eax, dword [rdi + 0xb4]
mov esi, dword [rdi + 0xb0]
cmp eax, esi
jae 0x180095a99
sub esi, eax
lea rdx, [rcx + rax]
cmp esi, r8d
mov rcx, rbp
cmova esi, r8d
mov r8d, esi
call fcn.18021a5e0
mov ecx, dword [rdi + 0x90]
mov rdx, rbp
add dword [rdi + 0xb4], esi
add dword [rdi + 0x8c], esi
mov r8d, esi
call fcn.1800955cc
mov dword [rdi + 0x90], eax
mov eax, esi
jmp 0x180095a9b
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x180095a92
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180095a99
mov ebx, dword [rsp + 0x30]
mov rdx, rbp
add dword [rdi + 0x8c], ebx
mov r8d, ebx
mov ecx, dword [rdi + 0x90]
call fcn.1800955cc
mov dword [rdi + 0x90], eax
mov eax, ebx
jmp 0x180095a9b
mov dword [rdi + 0x24], 0x1000000
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180218160
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18009d094
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18009d0fb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18009d10f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18009d10f
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x1800bff5e.0]
jmp 0x18009d114
cmp dword [rcx + 8], 0
je 0x18009d10f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x18009d114
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x18009ec70
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x18009ecaa
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x18009ed4e
call fcn.1800987a0
mov rcx, rax
test rax, rax
je 0x18009ed69
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1800bff5e.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x118]
call qword [case.0x1800bff5e.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.18022dddc
test eax, eax
je 0x18009ed12
cmp eax, 0xc
je 0x18009ed63
cmp eax, 0x50
jne 0x18009ed74
test rbx, rbx
jne 0x18009ed1b
mov ebx, ebp
jmp 0x18009ed26
mov rcx, rbx
call fcn.18021f078
mov rbx, rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x18009ed4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1800bff5e.0]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.180098b9c
nop
mov ecx, 0x80004005
call fcn.1800039cc
nop
call fcn.180098b78
int3
Function at 0x18009fdd8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18009fdfe
mov r8, rdx
mov rdx, qword [rbx]
call fcn.18009d094
jmp 0x18009fe6a
cmp byte [0x1802ee5f8], 0
jne 0x18009fe42
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18009fe32
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802ee5f0], rax
jmp 0x18009fe39
mov rax, qword [0x1802ee5f0]
mov byte [0x1802ee5f8], 1
jmp 0x18009fe49
mov rax, qword [0x1802ee5f0]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x18009fe63
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x1800bff5e.0]
jmp 0x18009fe6a
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800a6a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1800a6a9e
call fcn.18009be50
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1800a6a9e
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800a6aa9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.1800b06f4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800a77f0
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
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1800a78a9
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1800a78a9
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800a78a9
test rdi, rdi
je 0x1800a78a9
xor r14d, r14d
xor esi, esi
call fcn.18009be50
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1800a7889
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800a78a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.1800b1348
mov edi, eax
test eax, eax
je 0x1800a78a5
mov rcx, rbx
call fcn.1800a74b8
mov eax, edi
jmp 0x1800a78ab
xor eax, eax
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 0x1800a881c
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.18009f594
mov rdi, rax
test rax, rax
je 0x1800a8898
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1800a8893
cmp dword [rbx], 0x40
jb 0x1800a8893
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_SendMessageW]
bt rax, 0xd
jb 0x1800a8893
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1800a889c
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 0x1800ad2f8
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1800ad360
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1800ad34a
cmp qword [rcx + 0x18], 0
jne 0x1800ad345
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1800ad366
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1800ad360
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.18009f234
call fcn.180098b78
int3
call fcn.180098b78
int3

Function at 0x1800ad930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x1800b2607
cmp dword [rcx + 0xe8], 0
jne 0x1800b2607
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.18009be50
mov r8d, 5
mov rdx, rsi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x1800b2968
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x1800b29bd
call fcn.18009f99c
mov rdx, rax
test rax, rax
je 0x1800b29bb
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1800bff5e.0]
mov rbx, rax
jmp 0x1800b29bd
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1800b26dc
Function at 0x1800b25c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x1800b2607
cmp dword [rcx + 0xe8], 0
jne 0x1800b2607
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.18009be50
mov r8d, 5
mov rdx, rsi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x1800b2968
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x1800b29bd
call fcn.18009f99c
mov rdx, rax
test rax, rax
je 0x1800b29bb
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1800bff5e.0]
mov rbx, rax
jmp 0x1800b29bd
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1800b26dc

Function at 0x1800b2654
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
mov rbp, r8
mov rbx, rdx
mov r14, rcx
xor edi, edi
call fcn.18009be50
lea r8d, [rdi + 5]
mov rdx, rbx
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800b26ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rsi
mov r8, rbp
mov rdx, rdi
mov rcx, r14
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
jmp fcn.1800b26dc