joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400031d4
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140018968]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140003214
mov eax, 0xff
jmp 0x1400033b7
mov r9d, dword [rsp + 0x3c]
and r9d, 0x7fff
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov r8d, dword [rsp + 0x40]
mov dword [0x1400196a8], r8d
mov dword [0x1400196b0], ecx
mov dword [0x1400196b4], edx
mov dword [0x1400196b8], eax
mov eax, r9d
bts eax, 0xf
cmp r8d, 2
cmove eax, r9d
mov dword [0x1400196ac], eax
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400032aa
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400032aa
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400032aa
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x1400032ac
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x1400032ac
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.140004da8
test eax, eax
jne 0x1400032e2
cmp dword [0x140019108], 2
je 0x1400032ce
call fcn.140004b90
mov ecx, 0x1c
call fcn.140004bdc
mov ecx, 0xff
call fcn.1400047c0
call fcn.1400046a0
test eax, eax
jne 0x14000330e
cmp dword [0x140019108], 2
je 0x1400032f9
call fcn.140004b90
mov ecx, 0x10
call fcn.140004bdc
mov ecx, 0xff
call fcn.1400047c0
nop
call fcn.140004e1c
test eax, eax
jns 0x140003321
mov ecx, 0x1b
call fcn.1400047dc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001b258], rax
call fcn.14000561c
mov qword [0x140019100], rax
call fcn.1400050ac
test eax, eax
jns 0x14000334c
mov ecx, 8
call fcn.1400047dc
call fcn.1400053e0
test eax, eax
jns 0x14000335f
mov ecx, 9
call fcn.1400047dc
mov ecx, edi
call fcn.140004840
test eax, eax
je 0x140003371
mov ecx, eax
call fcn.1400047dc
mov r8, qword [0x140019698]
mov qword [0x1400196d0], r8
mov rdx, qword [0x140019688]
mov ecx, dword [0x140019680]
call fcn.14000192c
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
je 0x1400033d8
call fcn.14000482c
jmp 0x1400033b5
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003420
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov ecx, eax
call fcn.140004b80
nop
mov ecx, eax
call fcn.140004750
nop
int3
sub rsp, 0x28
call fcn.14018b000
add rsp, 0x28
jmp 0x1400031d4
Function at 0x140004bdc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
lea r14, [0x140011010]
mov edi, ecx
mov rax, r14
xor ebx, ebx
cmp edi, dword [rax]
je 0x140004c0e
inc ebx
add rax, 0x10
cmp ebx, 0x17
jb 0x140004bff
cmp ebx, 0x17
jae 0x140004d8a
mov ebp, 3
mov ecx, ebp
call fcn.140009ee4
cmp eax, 1
je 0x140004d48
mov ecx, ebp
call fcn.140009ee4
test eax, eax
jne 0x140004c44
cmp dword [0x140018910], 1
je 0x140004d48
cmp edi, 0xfc
je 0x140004d8a
mov ebp, 0x314
lea rdi, [0x1400196e0]
mov edx, ebp
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rdi
call fcn.140009dd8
test eax, eax
je 0x140004c86
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140006694
mov r8d, 0x104
mov byte [0x1400197fd], 0
lea rdx, [0x1400196f9]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140004cd7
lea r8, str._program_name_unknown_
mov edx, 0x2fb
lea rcx, [0x1400196f9]
call fcn.140009dd8
test eax, eax
je 0x140004cd7
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140006694
lea r8, [0x1400129c0]
mov rdx, rbp
mov rcx, rdi
call fcn.140009e50
test eax, eax
je 0x140004d02
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140006694
movsxd r8, ebx
mov rdx, rbp
add r8, r8
mov rcx, rdi
mov r8, qword [r14 + r8*8 + 8]
call fcn.140009e50
test eax, eax
je 0x140004d31
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140006694
mov r8d, 0x12010
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov rcx, rdi
call fcn.140009f3c
jmp 0x140004d8a
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140004d8a
movsxd rcx, ebx
add rcx, rcx
or r8, 0xffffffffffffffff
mov rdx, qword [r14 + rcx*8 + 8]
inc r8
cmp byte [rdx + r8], 0
jne 0x140004d6c
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140006694
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x540
mov rax, qword [0x140018968]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140006711
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x140006731
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140003420
add rsp, 0x540
pop rbx
ret

Function at 0x140007f58
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140018968]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x105
lea rdi, [rsp + 0x20]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp eax, 0x104
jle 0x14000800b
lea ebx, [rax + 1]
movsxd rcx, ebx
lea edx, [rsi + 1]
call fcn.14000a160
mov rdi, rax
test rax, rax
jne 0x140007ffb
call fcn.140006610
mov dword [rax], 0xc
call fcn.140006610
xor ebx, ebx
mov dword [rax], 0xc
test esi, esi
je 0x140007fd4
mov rcx, rdi
call fcn.140006da8
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140003420
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rdx, rax
mov ecx, ebx
mov esi, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
test eax, eax
je 0x140007fbb
cmp byte [rdi + 1], 0x3a
jne 0x140007fc8
movzx ecx, byte [rdi]
call fcn.14000c8c8
lea ebx, [rax - 0x40]
jmp 0x140007fc8
Function at 0x140009f3c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140018968]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r12, rdx
mov r15, rcx
call fcn.1400043ac
xor esi, esi
mov rbx, rax
cmp qword [0x140019ec8], rsi
jne 0x14000a04f
xor r8d, r8d
lea rcx, str.USER32.DLL
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14000a13a
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000a13a
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov qword [0x140019ec8], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov qword [0x140019ed0], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov qword [0x140019ed8], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140019ee8], rax
mov rcx, rax
test rax, rax
je 0x14000a046
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140019ee0], rax
jmp 0x14000a056
mov rax, qword [0x140019ee0]
jmp 0x14000a05d
mov rax, qword [0x140019ee0]
mov rcx, qword [0x140019ee8]
cmp rax, rbx
je 0x14000a0cf
cmp rcx, rbx
je 0x14000a0cf
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140019ee8]
mov rdi, rax
call sub.KERNEL32.dll_DecodePointer
mov r14, rax
test rdi, rdi
je 0x14000a0cf
test rax, rax
je 0x14000a0cf
mov rax, rdi
call qword [0x1400121f0]
test rax, rax
je 0x14000a0c9
mov r9d, 0xc
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rax
mov rax, r14
lea edx, [r9 - 0xb]
call qword [0x1400121f0]
test eax, eax
je 0x14000a0c9
test byte [rsp + 0x40], 1
jne 0x14000a0cf
bts ebp, 0x15
jmp 0x14000a115
mov rcx, qword [0x140019ed0]
cmp rcx, rbx
je 0x14000a115
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000a115
call qword [0x1400121f0]
mov rsi, rax
test rax, rax
je 0x14000a115
mov rcx, qword [0x140019ed8]
cmp rcx, rbx
je 0x14000a115
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000a115
mov rcx, rsi
call qword [0x1400121f0]
mov rsi, rax
mov rcx, qword [0x140019ec8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000a13a
mov r9d, ebp
mov r8, r12
mov rdx, r15
mov rcx, rsi
call qword [0x1400121f0]
jmp 0x14000a13c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003420
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000c64c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140018968]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebp, ebp
mov ebx, r8d
mov rdi, rdx
mov esi, ecx
test ecx, ecx
je 0x14000c6f1
call fcn.14000eb30
test eax, eax
jne 0x14000c6bf
call fcn.140006594
mov dword [rax], 0xf
call fcn.140006610
mov dword [rax], 0xd
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140003420
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
add si, 0x40
mov dword [rsp + 0x2a], 0x2e003a
lea r9, [rsp + 0x20]
mov word [rsp + 0x28], si
lea r8, [rsp + 0x30]
mov word [rsp + 0x2e], bp
mov edx, 0x104
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x14000c701
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14000c69a
inc eax
cmp eax, 0x104
ja 0x14000c69a
test rdi, rdi
jne 0x14000c746
cmp eax, ebx
mov ecx, 0xffffffff
cmovg ebx, eax
mov eax, ebx
add rax, rax
cmp rax, rcx
ja 0x14000c736
mov ecx, eax
call fcn.140006ca0
mov rdi, rax
test rax, rax
jne 0x14000c75a
call fcn.140006610
mov dword [rax], 0xc
jmp 0x14000c69a
cmp eax, ebx
jle 0x14000c75a
call fcn.140006610
mov dword [rax], 0x22
jmp 0x14000c69a
movsxd rdx, ebx
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.14000a1a8
mov rax, rdi
jmp 0x14000c69c
Function at 0x14000de94
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 r13
push r14
push r15
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
mov esi, ecx
lea r8d, [rdi + 1]
call fcn.14000a3b8
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000df1c
xor edx, edx
lea r8d, [rdi + 2]
mov ecx, esi
call fcn.14000a3b8
cmp rax, 0xffffffffffffffff
je 0x14000df1c
mov rbx, rbp
sub rbx, rax
test rbx, rbx
jle 0x14000dfaf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r13d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8d, r13d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x14000df42
call fcn.140006610
mov dword [rax], 0xc
call fcn.140006610
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov edx, 0x8000
mov ecx, esi
call fcn.140003798
mov r14d, eax
mov r8d, ebx
cmp rbx, r13
mov rdx, rbp
mov ecx, esi
cmovge r8d, r13d
call fcn.1400082b4
cmp eax, 0xffffffff
je 0x14000df76
cdqe
sub rbx, rax
test rbx, rbx
jle 0x14000df8f
jmp 0x14000df51
call fcn.140006594
cmp dword [rax], 5
jne 0x14000df8b
call fcn.140006610
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r14d
mov ecx, esi
call fcn.140003798
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000e004
jns 0x14000e00e
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.14000a3b8
cmp rax, 0xffffffffffffffff
je 0x14000df1c
mov ecx, esi
call fcn.140007154
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, eax
neg ecx
sbb rdi, rdi
neg rdi
dec rdi
test eax, eax
jne 0x14000e004
call fcn.140006610
mov dword [rax], 0xd
call fcn.140006594
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x14000df1c
xor r8d, r8d
mov rdx, r15
mov ecx, esi
call fcn.14000a3b8
cmp rax, 0xffffffffffffffff
je 0x14000df1c
xor eax, eax
jmp 0x14000df23
Function at 0x14000eb30
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test ecx, ecx
jne 0x14000eb41
lea eax, [rbx + 1]
jmp 0x14000eb66
add cl, 0x40
mov word [rsp + 0x31], 0x5c3a
mov byte [rsp + 0x30], cl
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x33], bl
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
setae bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000eef8
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x140018968]
xor rax, rbp
mov qword [rbp + 0x68], rax
and dword [rbp], 0
mov eax, dword [rsp]
sub rsp, 0x10
lea r14, [rsp + 0x20]
mov eax, dword [r14]
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000effd
mov r15, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x14000ef86
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea ecx, [rdi - 1]
add ecx, ebx
lea edx, [rdi - 1]
cmp ecx, ebx
jb 0x14000effd
mov eax, edx
not eax
and ecx, eax
je 0x14000efa3
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x14000effd
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovae eax, ecx
and rbx, r14
mov esi, eax
lea rax, [r15 + rdi]
sub rbx, rsi
cmp rbx, rax
jb 0x14000effd
mov r9d, 4
mov r8d, 0x1000
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14000effd
lea r9, [rbp + 4]
mov r8d, 0x104
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000effd
mov eax, 1
jmp 0x14000efff
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.140003420
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r15
pop r14
pop rbp
ret
Function at 0x141da0108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141da028f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141da0139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141da011f
add dl, dl
jne 0x141da0146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141da01a6
xor eax, eax
add dl, dl
jne 0x141da0155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141da025d
add dl, dl
jne 0x141da0166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141da0173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141da0180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141da018d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141da019a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141da012e
mov eax, 1
add dl, dl
jne 0x141da01b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141da01c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141da01ab
sub eax, ebx
mov ebx, 1
jne 0x141da01fc
mov ecx, 1
add dl, dl
jne 0x141da01de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141da01eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141da01d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141da012e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141da0218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141da0225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141da020d
cmp eax, 0x7d00
jae 0x141da024b
cmp eax, 0x500
jb 0x141da0246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141da012e
cmp eax, 0x7f
ja 0x141da024e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141da012e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141da0282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141da012e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140071aa4
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 0x140071b02
call fcn.14007c6b8
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 0x140071b02
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140071b0d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14007e128
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140072134
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 rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0xd0]
mov rbx, rdx
test rcx, rcx
jne 0x1400721e3
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140072208
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140072194
mov edx, edi
mov rcx, rbx
call fcn.14005ba80
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140072208
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov word [rax + rdi*2], bp
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400721c0
mov eax, ebp
jmp 0x1400721cd
movsxd rdx, dword [rcx - 0xc]
call fcn.140211c84
test eax, eax
js 0x140072208
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140072208
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1400721f3
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x1400b99ea.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.1400455b0
int3

Function at 0x1400722f8
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.1400863d0
mov rdi, rax
test rax, rax
je 0x140072374
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14007236f
cmp dword [rbx], 0x40
jb 0x14007236f
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 0x14007236f
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140072378
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 0x140072390
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 rdi, rcx
mov rbx, r8
lea rcx, [0x14028cf7c]
mov esi, edx
call fcn.140211b58
mov r8d, eax
lea rdx, [0x14028cf7c]
mov rcx, rbx
call fcn.1400596c0
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x140072472
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x14007248a
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1400724a5
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140072424
mov edx, edi
mov rcx, rbx
call fcn.14005ba80
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1400724a5
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14007244f
mov eax, ebp
jmp 0x14007245c
movsxd rdx, dword [rcx - 0xc]
call fcn.140211c84
test eax, eax
js 0x1400724a5
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400724a5
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14007248a
mov rcx, rdi
call fcn.140081e7c
test rax, rax
je 0x14007248a
mov rdx, rbx
mov rcx, rax
call fcn.140072134
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.1400455b0
int3

Function at 0x140076974
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 0x140076a2d
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140076a2d
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140076a2d
test rdi, rdi
je 0x140076a2d
xor r14d, r14d
xor esi, esi
call fcn.14007c6b8
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 0x140076a0d
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 0x140076a2d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14008d66c
mov edi, eax
test eax, eax
je 0x140076a29
mov rcx, rbx
call fcn.1400767e4
mov eax, edi
jmp 0x140076a2f
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