joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000253d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002534
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000253f
add rax, 0x28
cmp rax, r9
jne 0x140002520
xor eax, eax
ret

Function at 0x140002540
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400025d0
mov rdx, qword [0x1400043f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400025be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400025be
cmp word [rax + 0x18], 0x20b
jne 0x1400025be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400025d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400025a9
add rbx, 0x28
cmp rbx, rdi
je 0x1400025d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400025a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400025e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002600
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002608
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002600
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000265d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002654
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002600
add rax, 0x28
cmp rax, r9
jne 0x140002640
xor eax, eax
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000267f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002688
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000267f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400026a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400026c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400026c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400026c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002710
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002707
test rcx, rcx
je 0x1400026c0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400026f8
xor eax, eax
ret
Function at 0x140002720
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000273f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002748
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002760
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002780
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002788
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002780
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002780
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400027d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400027e0
add rdx, 0x28
cmp r9, rdx
jne 0x1400027c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400027f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002812
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002820
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002812
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002812
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002812
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002875
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002888
add rdx, 0x28
cmp rdx, r10
jne 0x140002860
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002897
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400028a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000287e
test ecx, ecx
jg 0x140002890
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18003c1c6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1800aa928
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1800d4a88]
xor r11d, r11d
lea rdi, [0x1800bd084]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1800aa998
mov rax, 0xfffffffffffffffe
jmp 0x1800aaae5
cmp word [r10 + 6], r11w
jne 0x1800aaa07
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1800aa9c2
test r14, r14
je 0x1800aa9b3
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1800aaae5
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1800aa9d0
mov r8b, 2
jmp 0x1800aa9ee
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1800aa9de
mov r8b, 3
jmp 0x1800aa9ee
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1800aaada
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1800aaa30
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1800aaada
cmp bl, bpl
jb 0x1800aaada
cmp bl, r8b
jae 0x1800aaada
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1800aaa5d
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1800aaada
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1800aaa3f
cmp r9, rbp
jae 0x1800aaa89
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1800aa98c
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1800aaada
cmp edx, 0x110000
jae 0x1800aaada
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1800aaada
test r14, r14
je 0x1800aaac8
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.18003da9e
jmp 0x1800aaae5
mov rdx, rsi
mov rcx, r10
call fcn.18003e106
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003c653
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18003c216
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x180043450
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800434dd
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1800434dd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800434dd
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1800434c4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800434be
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1800434c6
add rdx, 0x28
jmp 0x1800434a3
xor edx, edx
test rdx, rdx
jne 0x1800434cf
xor al, al
jmp 0x1800434e3
cmp dword [rdx + 0x24], 0
jge 0x1800434d9
xor al, al
jmp 0x1800434e3
mov al, 1
jmp 0x1800434e3
xor al, al
jmp 0x1800434e3
add rsp, 0x18
ret
Function at 0x18003c6bc
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
jmp 0x1800415f0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x1800df001]
call fcn.18003ddf5
nop
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x1800416cc
cmp dword [rbp + 0xc0], 1
je 0x180041649
cmp dword [rbp + 0xc0], 2
je 0x1800416ae
jmp 0x1800416e4
xor r9d, r9d
lea r8, str.Emerald_X
lea rdx, str.I_am_inside_the_program_MAGIC___
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
xor r9d, r9d
mov r8, qword [rbp + 0xf0]
lea rdx, [sym.Example_DLL.dll_NextHook]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x1800d31d0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18003d9bd]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
jmp 0x1800416e4
xor r9d, r9d
lea r8, str.EMERALD_X
lea rdx, str.I_AM_IN_ROBLOX_DAMN_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x1800416e4
cmp qword [0x1800d31d0], 0
je 0x1800416e4
mov rcx, qword [0x1800d31d0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x18003c7ac
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180051648
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1800be048]
mov ecx, 2
lea r8, [0x1800be040]
lea rdx, str.FlsGetValue
call fcn.180051118
mov ecx, ebx
test rax, rax
je 0x180051682
add rsp, 0x20
pop rbx
jmp qword [0x1800e0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x18003c8e7
Capabilities:
Query environment variable

Disassembly:
jmp 0x1800963a8
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800963d8
xor eax, eax
jmp 0x18009649b
mov rbp, rbx
cmp word [rax], si
je 0x1800963fd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800963e4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800963e0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18003d274
movsxd r14, eax
test eax, eax
jne 0x18009643b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800963d1
mov rcx, r14
call fcn.18003b037
mov rdi, rax
test rax, rax
jne 0x180096454
xor ecx, ecx
call fcn.18003b16d
jmp 0x180096430
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18003d274
test eax, eax
jne 0x180096485
mov rcx, rdi
call fcn.18003b16d
jmp 0x18009648f
xor ecx, ecx
call fcn.18003b16d
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18003c8f6
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180051598
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1800be008]
xor ecx, ecx
lea r8, [0x1800be000]
lea rdx, str.FlsAlloc
call fcn.180051118
test rax, rax
je 0x1800515d1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800e0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x18003c96e
Capabilities:
Get geographical location

Disassembly:
jmp 0x180098830
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1800bfea8]
mov rbp, rcx
lea r8, [0x1800bfea0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.180097d50
test rax, rax
je 0x180098890
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800e0030]
jmp 0x1800988aa
xor edx, edx
mov rcx, rbp
call fcn.18003c266
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18003c982
Capabilities:
Terminate process

Disassembly:
jmp 0x180042a7c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x18003cab3
Capabilities:
Parse pe header

Disassembly:
jmp 0x180083c50
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1800839ac
Function at 0x18003d3e6
Capabilities:
Terminate process

Disassembly:
jmp 0x180089b70
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180089b8a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.18003daa8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x18003db93
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800516a0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800be068]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1800be060]
call fcn.180051118
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1800516e0
call qword [0x1800e0020]
jmp 0x1800516e6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18003dd19
Capabilities:
Parse pe header

Disassembly:
jmp 0x180083c40
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180083a1b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180083a1b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180083a1b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180083a1b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180083a1b
cmp dword [rcx + 0x84], 0xe
jbe 0x180083a1b
cmp dword [rcx + 0xf8], 0
je 0x180083a1b
mov ecx, ebx
call fcn.180083b84
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800836f8
nop
cmp dword [rbp + 0x20], 0
je 0x180083a69
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180083aa4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800839ac
Function at 0x140001c08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x1400233bc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r13, rdx
mov r12, rcx
call fcn.14002cc14
mov rbx, qword [rax + 0x18]
mov r8d, 0xf1
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor r14d, r14d
cmp rax, r14
jne 0x140023402
xor eax, eax
jmp 0x1400234db
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp rax, r14
je 0x1400233fb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp rax, r14
je 0x1400233fb
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000f980
mov r9d, r14d
mov rbp, rax
cmp r14w, word [rbx + 6]
jae 0x140023474
mov rdx, rax
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
add r8, 2
mov dword [rdx], ecx
movzx eax, word [rbx + 6]
add rdx, 4
cmp r9d, eax
jl 0x14002345a
movzx r8d, word [rbx + 6]
mov rdx, rbp
mov rcx, r12
call fcn.140021bd8
mov rcx, rbp
mov esi, eax
call fcn.14000f9cc
cmp esi, r14d
je 0x1400234d0
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call fcn.140022400
mov rdx, r13
mov rcx, r12
call fcn.1400224d4
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140005164
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400a3158]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
xor ecx, ecx
call fcn.140031b70
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rbx
call fcn.14003235c
mov edx, 4
mov rcx, rbx
call fcn.14002fa88
mov ecx, 0xc8
call fcn.14000f9c4
mov qword [rsp + 0x30], rax
xor edi, edi
cmp rax, rdi
je 0x1400051f3
lea rcx, [0x14008b0f8]
mov qword [rsp + 0x20], rcx
lea r9, [0x140089ee0]
lea r8, [0x14008ada0]
mov edx, 0x80
mov rcx, rax
call fcn.1400329a4
jmp 0x1400051f6
mov rax, rdi
mov rdx, rax
mov rcx, rbx
call fcn.140032fe8
mov rcx, rbx
call fcn.1400332e4
mov edx, 1
mov rcx, rbx
call fcn.140032da8
lea rcx, [rsp + 0x40]
call fcn.140030a78
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14002fb34
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140032df4
cmp eax, edi
jne 0x140005244
jmp 0x140005353
mov edx, 5
mov rcx, qword [rbx + 0x40]
call fcn.14001b328
mov rcx, qword [rbx + 0x40]
call fcn.14000545c
mov edx, 1
mov rcx, qword [rbx + 0x40]
call fcn.14000544c
call fcn.140005428
mov rbx, qword [rax + 0x40]
mov byte [rsp + 0x80], 0x55
mov byte [rsp + 0x81], 0x73
mov byte [rsp + 0x82], 0x65
mov byte [rsp + 0x83], 0x72
mov byte [rsp + 0x84], 0x33
mov byte [rsp + 0x85], 0x32
mov byte [rsp + 0x86], 0x2e
mov byte [rsp + 0x87], 0x64
mov byte [rsp + 0x88], 0x6c
mov byte [rsp + 0x89], 0x6c
mov byte [rsp + 0x8a], dil
mov byte [rsp + 0x90], 0x53
mov byte [rsp + 0x91], 0x68
mov byte [rsp + 0x92], 0x6f
mov byte [rsp + 0x93], 0x77
mov byte [rsp + 0x94], 0x57
mov byte [rsp + 0x95], 0x69
mov byte [rsp + 0x96], 0x6e
mov byte [rsp + 0x97], 0x64
mov byte [rsp + 0x98], 0x6f
mov byte [rsp + 0x99], 0x77
mov byte [rsp + 0x9a], dil
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbx
call rax
call fcn.14000511c
nop
mov edi, 1
lea rcx, [rsp + 0x40]
call fcn.140030b44
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14005cb40
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
Function at 0x140010760
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 r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.14002cc14
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x1400107bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.1400101f4
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x140010850
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
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14001088f
cmp dword [rcx + 0xa8], 0
jne 0x14001088f
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14002cc14
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400107f4
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400130d0
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 rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14003b59c
mov rsi, rax
test rax, rax
je 0x14001314c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140013147
cmp dword [rbx], 0x40
jb 0x140013147
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x140013147
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140013150
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 0x14001a644
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 r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14001a6ac
call fcn.14002cc14
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 0x14001a6ac
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001a6ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001a05c
mov esi, eax
test rdi, rdi
je 0x14001a6cc
test rbx, rbx
je 0x14001a6cc
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 r12
ret

Function at 0x14001b8e4
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x14001b922
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14001b9d6
call fcn.1400108f4
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001b941
mov ecx, 0x80004005
call fcn.140001508
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14005e704
test eax, eax
je 0x14001b9a9
cmp eax, 0xc
je 0x14001b9a3
cmp eax, 0x16
je 0x14001b99d
cmp eax, 0x22
je 0x14001b99d
cmp eax, 0x50
je 0x14001b9a9
call fcn.140011ae8
int3
call fcn.140011ae8
int3
call fcn.140011aa0
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14001b9d4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret