joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008028c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140088138
nop
cmp dword [0x14010a230], 1
je 0x140080238
mov dword [0x14010a22c], 1
mov byte [0x14010a228], r12b
test ebx, ebx
jne 0x140080224
mov rcx, qword [0x14010c090]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140080211
mov rcx, qword [0x14010c088]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400801b0
call fcn.14007fba8
cmp qword [rdi], rax
jne 0x1400801b0
jmp 0x140080196
cmp rdi, rsi
jb 0x140080211
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14007fba8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14010c090]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14010c088]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400801ef
cmp r13, rax
je 0x14008020f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140080196
lea rdx, [0x1400c7928]
lea rcx, [0x1400c7910]
call fcn.14007ffe0
lea rdx, [0x1400c7938]
lea rcx, [0x1400c7930]
call fcn.14007ffe0
nop
test r12d, r12d
je 0x140080247
mov ecx, 8
call fcn.140088038
test r12d, r12d
jne 0x140080272
mov dword [0x14010a230], 1
lea ecx, [r12 + 8]
call fcn.140088038
mov ecx, r15d
call fcn.14007ff74
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140080100

Function at 0x140080298
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140080100
Function at 0x14008b314
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14007fba8
xor ebx, ebx
mov rdi, rax
cmp qword [0x14010aac0], rbx
jne 0x14008b41a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14008b4ef
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008b4ef
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400ca4e0]
mov rcx, rsi
mov qword [0x14010aac0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14010aac8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14010aad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14010aae0], rax
test rax, rax
je 0x14008b411
lea rdx, [0x1400ca490]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14010aad8], rax
jmp 0x14008b421
mov rax, qword [0x14010aad8]
jmp 0x14008b428
mov rax, qword [0x14010aad8]
mov r11, qword [0x14010aae0]
cmp rax, rdi
je 0x14008b490
cmp r11, rdi
je 0x14008b490
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14010aae0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14008b490
test rax, rax
je 0x14008b490
call rsi
test rax, rax
je 0x14008b48a
lea rcx, [rsp + 0x88]
mov r9d, ntohs
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14008b48a
test byte [rsp + 0x38], 1
jne 0x14008b490
bts ebp, 0x15
jmp 0x14008b4ce
mov rcx, qword [0x14010aac8]
cmp rcx, rdi
je 0x14008b4ce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14008b4ce
call rax
mov rbx, rax
test rax, rax
je 0x14008b4ce
mov rcx, qword [0x14010aad0]
cmp rcx, rdi
je 0x14008b4ce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14008b4ce
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14010aac0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14008b4ef
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14008b4f1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140091e10
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x24], 0xcc
mov rdi, rcx
je 0x140091e3e
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rdi + 0x98], ebp
mov dword [rdi + 0x24], 0xcc
mov rax, qword [rdi + 0x200]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
cmp byte [rax + 0x10], bpl
je 0x140091eee
nop dword [rax]
mov ecx, dword [rdi + 0x98]
cmp ecx, dword [rdi + 0x78]
jae 0x140091ebd
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140091e8f
mov dword [rax + 8], ecx
mov rcx, qword [rdi + 0x10]
mov eax, dword [rdi + 0x78]
mov dword [rcx + 0xc], eax
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [rax]
mov rax, qword [rdi + 0x208]
mov ebx, dword [rdi + 0x98]
lea r8, [rdi + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rdi + 0x98]
cmp ecx, ebx
je 0x140091f16
cmp ecx, dword [rdi + 0x78]
jb 0x140091e70
mov rax, qword [rdi + 0x200]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov r11, qword [rdi + 0x200]
mov rcx, rdi
call qword [r11]
mov dword [rdi + 0x98], ebp
mov rax, qword [rdi + 0x200]
cmp byte [rax + 0x10], bpl
jne 0x140091e60
cmp byte [rdi + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rdi + 0x24], ebp
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x140091f01
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x140092023
call fcn.140096480
cmp byte [rbx + 0x58], 0
je 0x14009201c
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x1400920b1
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x140092098
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14009204e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x140092090
cmp eax, 2
je 0x140092098
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140092040
cmp eax, 3
je 0x140092076
cmp eax, 1
jne 0x140092040
inc dword [rcx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0xc]
cmp dword [rcx + 8], eax
jl 0x140092040
mov eax, dword [rbx + 0x184]
add dword [rcx + 0xc], eax
jmp 0x140092040
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x140091e10
cmp eax, 0xcc
je 0x1400920d3
mov rax, qword [rbx]
mov dword [rax + 0x28], shutdown
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140091e10
Function at 0x140091ff0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x24], 0xcc
mov rdi, rcx
je 0x140091e3e
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rdi + 0x98], ebp
mov dword [rdi + 0x24], 0xcc
mov rax, qword [rdi + 0x200]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
cmp byte [rax + 0x10], bpl
je 0x140091eee
nop dword [rax]
mov ecx, dword [rdi + 0x98]
cmp ecx, dword [rdi + 0x78]
jae 0x140091ebd
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140091e8f
mov dword [rax + 8], ecx
mov rcx, qword [rdi + 0x10]
mov eax, dword [rdi + 0x78]
mov dword [rcx + 0xc], eax
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [rax]
mov rax, qword [rdi + 0x208]
mov ebx, dword [rdi + 0x98]
lea r8, [rdi + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rdi + 0x98]
cmp ecx, ebx
je 0x140091f16
cmp ecx, dword [rdi + 0x78]
jb 0x140091e70
mov rax, qword [rdi + 0x200]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov r11, qword [rdi + 0x200]
mov rcx, rdi
call qword [r11]
mov dword [rdi + 0x98], ebp
mov rax, qword [rdi + 0x200]
cmp byte [rax + 0x10], bpl
jne 0x140091e60
cmp byte [rdi + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rdi + 0x24], ebp
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x140091f01
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x140092023
call fcn.140096480
cmp byte [rbx + 0x58], 0
je 0x14009201c
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x1400920b1
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x140092098
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14009204e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x140092090
cmp eax, 2
je 0x140092098
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140092040
cmp eax, 3
je 0x140092076
cmp eax, 1
jne 0x140092040
inc dword [rcx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, dword [rcx + 0xc]
cmp dword [rcx + 8], eax
jl 0x140092040
mov eax, dword [rbx + 0x184]
add dword [rcx + 0xc], eax
jmp 0x140092040
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x140091e10
cmp eax, 0xcc
je 0x1400920d3
mov rax, qword [rbx]
mov dword [rax + 0x28], shutdown
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140091e10
Function at 0x140095800
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov qword [rcx + 8], rsi
call fcn.1400965e0
mov edx, 0xa0
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.1400965a0
mov rdi, rax
test rax, rax
jne 0x140095857
mov rcx, rbx
call fcn.1400a1d70
mov r11, qword [rbx]
mov dword [r11 + 0x28], 0x36
mov rcx, qword [rbx]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
mov dword [rdi + 0x5c], 0x3b9aca00
lea rax, [fcn.140094990]
lea rcx, str.JPEGMEM
mov qword [rdi], rax
lea rax, [fcn.140094b20]
mov qword [rdi + 8], rax
lea rax, [fcn.140094c20]
mov qword [rdi + 0x10], rax
lea rax, [fcn.140094d20]
mov qword [rdi + 0x18], rax
lea rax, [0x140094e30]
mov qword [rdi + 0x20], rax
lea rax, [0x140094ee0]
mov qword [rdi + 0x28], rax
lea rax, [0x140094f90]
mov qword [rdi + 0x30], rax
lea rax, [0x140095190]
mov qword [rdi + 0x38], rax
lea rax, [0x1400953f0]
mov qword [rdi + 0x40], rax
lea rax, [fcn.140095660]
mov qword [rdi + 0x48], rax
lea rax, [0x1400957b0]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x90], 0xa0
mov qword [rbx + 8], rdi
call fcn.14008ee58
test rax, rax
je 0x140095963
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.1400b3208
test eax, eax
jle 0x140095963
movzx eax, byte [rsp + 0x30]
cmp al, 0x6d
je 0x140095950
cmp al, 0x4d
je 0x140095950
mov eax, dword [rsp + 0x38]
jmp 0x14009595a
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
mov dword [rdi + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a23a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x30
cmp dword [rcx + 0x64], 1
mov r15, qword [rcx + 0x250]
mov rdi, rcx
jne 0x1400a23cd
mov ebx, 0x1fe
mov byte [r15 + 0x38], 1
jmp 0x1400a23d3
xor ebx, ebx
mov byte [r15 + 0x38], bl
mov rax, qword [rcx + 8]
mov r9d, dword [rcx + 0x7c]
lea r8d, [rbx + 0x100]
mov edx, 1
call qword [rax + reloc.WS2_32.dll_recv]
mov r12d, dword [r15 + 0x28]
xor r13d, r13d
movsxd rcx, ebx
mov qword [r15 + 0x30], rax
cmp dword [rdi + 0x7c], r13d
mov qword [rsp + 0x68], rcx
jle 0x1400a2524
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
lea r14, [r15 + 0x3c]
xor ebp, ebp
nop dword [rax]
mov edi, dword [r14]
mov eax, r12d
cdq
idiv edi
mov r12d, eax
test rcx, rcx
je 0x1400a243d
mov rax, qword [r15 + 0x30]
add qword [rax + rbp], 0xff
mov rax, qword [r15 + 0x30]
lea ecx, [rdi + rdi - 2]
xor r9d, r9d
mov r11, qword [rax + rbp]
lea eax, [rdi + 0xfe]
xor r8d, r8d
cdq
idiv ecx
xor esi, esi
mov r10d, eax
nop dword [rax]
cmp r8d, r10d
jle 0x1400a249b
mov ecx, r9d
lea ebx, [rdi + rdi - 2]
imul ecx, ecx, 0x1fe
nop word [rax + rax]
add ecx, 0x1fe
inc r9d
lea eax, [rcx + rdi + 0xfe]
cdq
idiv ebx
cmp r8d, eax
mov r10d, eax
jg 0x1400a2480
movzx eax, r9b
inc rsi
inc r8d
imul r12b
cmp rsi, 0xff
mov byte [rsi + r11 - 1], al
jle 0x1400a2460
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400a24fb
mov ecx, 1
lea rdx, [r11 - 1]
nop dword [rax]
movzx eax, byte [r11]
inc rcx
dec rdx
cmp rcx, 0xff
mov byte [rdx + 1], al
movzx eax, byte [r11 + 0xff]
mov byte [r11 + rcx + 0xfe], al
jle 0x1400a24d0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
inc r13d
add r14, 4
add rbp, 8
cmp r13d, dword [rax + 0x7c]
jl 0x1400a2420
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x14000213c
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003d3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003d3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003d3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003d3a
cmp dword [rcx + 0x84], 0xe
jbe 0x140003d3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003d3c
xor al, al
add rsp, 0x28
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
pop rsi
pop rcx
add rax, rdx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x10003bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x10003bfb
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x10003c3f
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x10003c3a
cmp rbx, r11
jae 0x10003c3f
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x10003c28
cmp rbx, r11
jb 0x10003c43
xor eax, eax
jmp 0x10003c4f
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x10004690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov eax, r8d
mov qword [rsp + 0x70], rsi
mov rsi, rdx
shr eax, 4
add ax, 1
mov ebx, r8d
mov rbp, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov r12, rax
je 0x10004805
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x10004805
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x10004805
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x10004736
nop
cmp rdi, r11
jae 0x10004805
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x10004720
cmp rdi, r11
jae 0x10004805
movzx eax, word [rdi]
test ax, ax
je 0x10004805
mov qword [rsp + 0x48], r13
movzx ebx, ax
call qword [0x1012f370]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x100047a6
mov edx, esi
mov rcx, rbp
call fcn.10004450
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x1012f370]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x48]
js 0x100047fa
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x100047fa
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x10004807
mov ecx, 0x80070057
call fcn.10001c20
int3
xor eax, eax
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x10005310
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov esi, 0x9c1cde18
mov rbp, rcx
je 0x100054cf
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
nop
nop
lea rcx, [0x100b5020]
call fcn.10068930
movzx edi, word [rbp]
lea rcx, [0x100b5018]
sub di, ax
call fcn.10068930
lea rcx, [0x100b5010]
sub di, ax
call fcn.10068930
lea rcx, str.1068
sub di, ax
call fcn.10068930
lea rcx, str.1107
sub di, ax
call fcn.10068930
lea rcx, [0x100b4fe8]
sub di, ax
call fcn.10068930
lea rcx, [0x100b4fe0]
sub di, ax
call fcn.10068930
lea rcx, str.1139
sub di, ax
call fcn.10068930
lea rcx, str.1143
sub di, ax
call fcn.10068930
lea rcx, str.4565
sub di, ax
call fcn.10068930
lea rcx, str.1049
add edi, eax
call fcn.10068930
lea rcx, [0x100b4f98]
add edi, eax
call fcn.10068930
lea rcx, [0x100b4f90]
add edi, eax
call fcn.10068930
lea rcx, [0x100b4f88]
add edi, eax
call fcn.10068930
lea rcx, [0x100b4f80]
add edi, eax
call fcn.10068930
lea rcx, str.4226
add edi, eax
add rbp, 1
call fcn.10068930
movzx ebx, di
lea rcx, str.3075
sub ebx, eax
mov eax, esi
ror eax, 8
add ebx, eax
call fcn.10068930
lea rcx, str.4621
sub ebx, eax
call fcn.10068930
lea rcx, str.1157
sub ebx, eax
call fcn.10068930
lea rcx, str.1168
sub ebx, eax
call fcn.10068930
lea rcx, str.3622
sub ebx, eax
call fcn.10068930
lea rcx, str.2784
add ebx, eax
call fcn.10068930
lea rcx, str.3674
add ebx, eax
call fcn.10068930
lea rcx, str.1488
add ebx, eax
call fcn.10068930
lea rcx, str.2679
add ebx, eax
call fcn.10068930
add eax, ebx
xor esi, eax
cmp byte [rbp], 0
jne 0x10005340
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x100130b4
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x28
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.100274d0
test rax, rax
mov rsi, rax
je 0x10013129
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
test rbx, rbx
movzx edi, ax
je 0x10013124
cmp dword [rbx], 0x38
jb 0x10013124
mov rax, qword [rbp + 0x40]
or dword [rbx + 4], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x30], 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x10013124
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x10013130
mov rax, 0xffffffffffffffff
add rsp, 0x28
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1001b698
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x1001b6f2
call fcn.10010ca8
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x1001b6f2
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x1001b714
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1001b118
test rdi, rdi
mov esi, eax
je 0x1001b712
test rbx, rbx
je 0x1001b712
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x100235ac
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x100235e2
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10023699
call fcn.100215dc
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x10023601
mov ecx, 0x80004005
call fcn.10001c20
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x118]
mov rdx, rsi
mov rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rcx, rdi
call fcn.10069370
test eax, eax
je 0x1002366c
cmp eax, 0xc
je 0x10023666
cmp eax, 0x16
je 0x10023660
cmp eax, 0x22
je 0x10023660
cmp eax, 0x50
je 0x1002366c
call fcn.100062e8
int3
call fcn.100062e8
int3
call fcn.100062a0
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x10023697
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret