joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400098a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x88
mov byte [rsp + 0x28], 0x5c
mov byte [rsp + 0x29], 0x41
mov byte [rsp + 0x2a], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x2b], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x2c], WSASetLastError
mov byte [rsp + 0x2d], 0x69
mov byte [rsp + 0x2e], 0x63
mov byte [rsp + 0x2f], 0x61
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x31], 0x69
mov byte [rsp + 0x32], VarBstrFromDisp
mov byte [rsp + 0x33], VarBstrFromDisp
mov byte [rsp + 0x34], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x35], 0x5c
mov byte [rsp + 0x36], 0x56
mov byte [rsp + 0x37], 0x4d
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], 0x61
mov byte [rsp + 0x3a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x3b], 0x65
mov byte [rsp + 0x3c], 0x48
mov byte [rsp + 0x3d], VarBstrFromDisp
mov byte [rsp + 0x3e], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x3f], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x40], 0x4f
mov byte [rsp + 0x41], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x42], 0x65
mov byte [rsp + 0x43], VarBstrFromDisp
mov byte [rsp + 0x44], 0x2e
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], 0x78
mov byte [rsp + 0x47], 0x65
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x50], 0x53
mov byte [rsp + 0x51], 0x4f
mov byte [rsp + 0x52], 0x46
mov byte [rsp + 0x53], 0x54
mov byte [rsp + 0x54], 0x57
mov byte [rsp + 0x55], 0x41
mov byte [rsp + 0x56], 0x52
mov byte [rsp + 0x57], 0x45
mov byte [rsp + 0x58], 0x5c
mov byte [rsp + 0x59], 0x4f
mov byte [rsp + 0x5a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x5b], 0x61
mov byte [rsp + 0x5c], 0x63
mov byte [rsp + 0x5d], WSASetLastError
mov byte [rsp + 0x5e], 0x65
mov byte [rsp + 0x5f], 0x5c
mov byte [rsp + 0x60], 0x56
mov byte [rsp + 0x61], 0x69
mov byte [rsp + 0x62], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x63], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x64], 0x75
mov byte [rsp + 0x65], 0x61
mov byte [rsp + 0x66], WSASetLastError
mov byte [rsp + 0x67], 0x42
mov byte [rsp + 0x68], VarBstrFromDisp
mov byte [rsp + 0x69], 0x78
mov byte [rsp + 0x6a], 0x20
mov byte [rsp + 0x6b], 0x47
mov byte [rsp + 0x6c], 0x75
mov byte [rsp + 0x6d], 0x65
mov byte [rsp + 0x6e], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x6f], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x70], 0x20
mov byte [rsp + 0x71], 0x41
mov byte [rsp + 0x72], 0x64
mov byte [rsp + 0x73], 0x64
mov byte [rsp + 0x74], 0x69
mov byte [rsp + 0x75], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x76], 0x69
mov byte [rsp + 0x77], VarBstrFromDisp
mov byte [rsp + 0x78], VarBstrFromDisp
mov byte [rsp + 0x79], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x7a], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140009a48
xor eax, eax
jmp 0x140009a6e
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140009a69
xor eax, eax
jmp 0x140009a6e
mov eax, 1
add rsp, 0x88
ret
Function at 0x140009a78
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov byte [rsp + 0x28], 0x53
mov byte [rsp + 0x29], VarBstrFromDisp
mov byte [rsp + 0x2a], 0x66
mov byte [rsp + 0x2b], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x2c], 0x77
mov byte [rsp + 0x2d], 0x61
mov byte [rsp + 0x2e], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x2f], 0x65
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x31], 0x54
mov byte [rsp + 0x32], 0x65
mov byte [rsp + 0x33], VarBstrFromDisp
mov byte [rsp + 0x34], 0x63
mov byte [rsp + 0x35], 0x65
mov byte [rsp + 0x36], VarBstrFromDisp
mov byte [rsp + 0x37], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x38], 0x5c
mov byte [rsp + 0x39], 0x62
mov byte [rsp + 0x3a], 0x75
mov byte [rsp + 0x3b], 0x67
mov byte [rsp + 0x3c], 0x52
mov byte [rsp + 0x3d], 0x65
mov byte [rsp + 0x3e], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x3f], VarBstrFromDisp
mov byte [rsp + 0x40], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x41], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x42], 0x5c
mov byte [rsp + 0x43], 0x57
mov byte [rsp + 0x44], 0x65
mov byte [rsp + 0x45], 0x63
mov byte [rsp + 0x46], 0x68
mov byte [rsp + 0x47], 0x61
mov byte [rsp + 0x48], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x49], 0x57
mov byte [rsp + 0x4a], 0x69
mov byte [rsp + 0x4b], VarBstrFromDisp
mov byte [rsp + 0x4c], 0x64
mov byte [rsp + 0x4d], VarBstrFromDisp
mov byte [rsp + 0x4e], 0x77
mov byte [rsp + 0x4f], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140009b6d
mov eax, 1
jmp 0x140009b6f
xor eax, eax
add rsp, 0x68
ret

Function at 0x140009ba0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
cmp dword [rsp + 0x50], 0
je 0x140009bdd
call fcn.14000978c
test eax, eax
je 0x140009bd3
call fcn.1400098a4
test eax, eax
je 0x140009bd3
call fcn.14000970c
test eax, eax
jne 0x140009bdd
mov ecx, 1
call fcn.1401bb4c4
cmp dword [rsp + 0x60], 0
je 0x140009bf7
call fcn.140009a78
test eax, eax
jne 0x140009bf7
mov ecx, 1
call fcn.1401bb4c4
cmp dword [rsp + 0x58], 0
je 0x140009c33
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140009b74]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
ret
Function at 0x14000a57c
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [rsp + 0x28], 0
jne 0x14000a59c
mov rax, 0xffffffffffffffff
jmp 0x14000a644
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
dec eax
mov dword [rsp], eax
jmp 0x14000a5cc
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jl 0x14000a63d
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 8]
mov edx, dword [rsp + 0x28]
cmp dword [rcx + rax + 0xc], edx
ja 0x14000a63b
movsxd rax, dword [rsp]
imul rax, rax, 0x28
movsxd rcx, dword [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax + 0xc]
mov rdx, qword [rsp + 8]
add eax, dword [rdx + rcx + 0x10]
cmp dword [rsp + 0x28], eax
ja 0x14000a63b
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 8]
mov eax, dword [rcx + rax + 0x14]
add eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 8]
sub eax, dword [rdx + rcx + 0xc]
mov eax, eax
jmp 0x14000a644
jmp 0x14000a5c4
mov rax, 0xffffffffffffffff
add rsp, 0x18
ret
Function at 0x14000a64c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x80], 0
je 0x14000a670
cmp qword [rsp + 0x88], 0
jne 0x14000a677
xor eax, eax
jmp 0x14000a862
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 0x88
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14000a6d3
xor eax, eax
jmp 0x14000a862
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.14000a57c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14000a6f3
xor eax, eax
jmp 0x14000a862
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14000a724
xor eax, eax
jmp 0x14000a862
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.14000a57c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14000a748
xor eax, eax
jmp 0x14000a862
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
call fcn.14000a57c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14000a783
xor eax, eax
jmp 0x14000a862
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.14000a57c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14000a7be
xor eax, eax
jmp 0x14000a862
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x50]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
call fcn.14000a57c
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call fcn.1401bb050
test eax, eax
jne 0x14000a84b
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
call fcn.14000a57c
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x14000a862
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14000a7d5
xor eax, eax
add rsp, 0x78
ret
Function at 0x140015930
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 0x14001598e
call fcn.14003a780
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 0x14001598e
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140015999
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140021ab4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140015b38
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, [0x1401e98b8]
mov esi, edx
call fcn.1401b920c
mov r8d, eax
lea rdx, [0x1401e98b8]
mov rcx, rbx
call fcn.140005768
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x140015c1a
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x140015c32
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140015c4d
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 0x140015bcc
mov edx, edi
mov rcx, rbx
call fcn.1400052b8
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140015c4d
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 0x140015bf7
mov eax, ebp
jmp 0x140015c04
movsxd rdx, dword [rcx - 0xc]
call fcn.1401b9338
test eax, eax
js 0x140015c4d
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140015c4d
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140015c32
mov rcx, rdi
call fcn.14001c194
test rax, rax
je 0x140015c32
mov rdx, rbx
mov rcx, rax
call fcn.1400160fc
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.1400056c4
int3
Function at 0x1400160fc
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 0x1400161ab
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1400161d0
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 0x14001615c
mov edx, edi
mov rcx, rbx
call fcn.1400052b8
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1400161d0
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 0x140016188
mov eax, ebp
jmp 0x140016195
movsxd rdx, dword [rcx - 0xc]
call fcn.1401b9338
test eax, eax
js 0x1400161d0
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400161d0
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1400161bb
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14016a801.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.1400056c4
int3

Function at 0x140016770
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 0x140016829
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140016829
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140016829
test rdi, rdi
je 0x140016829
xor r14d, r14d
xor esi, esi
call fcn.14003a780
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 0x140016809
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 0x140016829
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14003fdbc
mov edi, eax
test eax, eax
je 0x140016825
mov rcx, rbx
call fcn.140016438
mov eax, edi
jmp 0x14001682b
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 0x1400177a8
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.140041944
mov rdi, rax
test rax, rax
je 0x140017824
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14001781f
cmp dword [rbx], 0x40
jb 0x14001781f
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 0x14001781f
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140017828
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 0x14001c6a0
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 0x14001c6da
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14001c77e
call fcn.1400127b0
mov rcx, rax
test rax, rax
je 0x14001c799
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14016a801.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.0x14016a801.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401bb768
test eax, eax
je 0x14001c742
cmp eax, 0xc
je 0x14001c793
cmp eax, 0x50
jne 0x14001c7a4
test rbx, rbx
jne 0x14001c74b
mov ebx, ebp
jmp 0x14001c756
mov rcx, rbx
call fcn.1401b920c
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 0x14001c77c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14016a801.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.140011d5c
nop
mov ecx, 0x80004005
call fcn.1400056c4
nop
call fcn.140011d38
int3

Function at 0x14001d560
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14001d5c8
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14001d5b2
cmp qword [rcx + 0x18], 0
jne 0x14001d5ad
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14001d5ce
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 0x14001d5c8
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1400415e4
call fcn.140011d38
int3
call fcn.140011d38
int3
Function at 0x14001d990
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 rbx, qword [rcx + 0x100]
xor r14d, r14d
mov rdi, rcx
mov rsi, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x14001d9f7
call fcn.14003a780
mov rdx, qword [rdi + 0xf0]
lea r8d, [r14 + 5]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001d9f7
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x14001da08
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x14001da4d
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x14001da2c
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x14001da37
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x14001da4a
test r8w, r8w
jne 0x14001da4a
test dx, dx
je 0x14001da4d
mov eax, r14d
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 0x14001da68
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 qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x14001daa7
cmp dword [rcx + 0xe8], 0
jne 0x14001daa7
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14003a780
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001daeb
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001daeb
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.14001de20
jmp 0x14001daed
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001db04
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 rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.14003a780
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001db6e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001db6e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.14001db88
jmp 0x14001db70
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140021618
Capabilities:
Get graphical window text

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, r8
mov rbx, rcx
call fcn.140021758
xor r14d, r14d
mov esi, 1
mov rbp, rax
mov dword [rbx + 0x14], esi
mov rcx, rax
cmp dword [rbx], r14d
je 0x1400216cd
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbx, eax
test eax, eax
js 0x1400216f0
mov rcx, qword [rdi]
mov edx, dword [rcx - 0xc]
sub esi, dword [rcx - 8]
sub edx, ebx
or esi, edx
jge 0x14002167c
mov edx, ebx
mov rcx, rdi
call fcn.1400052b8
mov rdx, qword [rdi]
cmp ebx, dword [rdx - 0xc]
jg 0x1400216f0
mov dword [rdx - 0x10], ebx
lea r8d, [rbx + 1]
mov rax, qword [rdi]
mov rcx, rbp
mov word [rax + rbx*2], r14w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400216a9
mov eax, r14d
jmp 0x1400216b6
movsxd rdx, dword [rcx - 0xc]
call fcn.1401b9338
test eax, eax
js 0x1400216f0
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x1400216f0
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r14w
jmp 0x1400216d5
mov rdx, qword [rdi]
call fcn.1400415e4
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
mov ecx, 0x80070057
call fcn.1400056c4
int3

Function at 0x1400217ac
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0xd0
mov rax, qword [0x140278940]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, r8
lea r15, [r11 + 0x28]
mov rdi, rcx
call fcn.140021758
cmp dword [rdi], 0
mov rsi, rax
mov dword [rdi + 0x14], 1
je 0x140021841
mov rbx, qword [r15]
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r9, rbx
lea rcx, [rsp + 0x40]
mov r8, rbp
mov edx, 0x40
call fcn.140021904
cmp eax, 1
je 0x1400218ba
mov ecx, dword [rsp + 0x118]
or r8d, 0xffffffff
xor edx, edx
call fcn.14001e938
mov rcx, rdi
call fcn.1400216fc
jmp 0x1400218ba
call fcn.1401b6424
mov ebx, dword [rax]
call fcn.1401b6424
and dword [rax], 0
call fcn.140005944
mov r9d, 0x3f
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1401b8cc0
call fcn.1401b6424
cmp dword [rax], 0
je 0x1400218a6
call fcn.1401b6424
cmp dword [rax], 0
je 0x1400218ad
cmp dword [rax], 0xc
je 0x1400218ee
cmp dword [rax], 0x16
je 0x1400218e3
cmp dword [rax], 0x22
je 0x1400218e3
cmp dword [rax], 0x50
jne 0x1400218d8
jmp 0x1400218ad
call fcn.1401b6424
mov dword [rax], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400415e4
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401ac9a0
add rsp, 0xd0
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.1400056c4
int3
mov ecx, 0x80070057
call fcn.1400056c4
int3
mov ecx, 0x8007000e
call fcn.1400056c4
int3