joyce8/EMBER2024-capa huggingface dataset:
Function at 0x500002110
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
xor ebx, ebx
mov dword [rbp - 0x60], 0xec8b4855
mov edi, ebx
mov dword [rbp - 0x5c], 0x41575653
mov dword [rbp - 0x58], 0x41554154
movabs r14, 0x200000000
mov dword [rbp - 0x54], 0x48574156
mov dword [rbp - 0x50], 0x88ec81
mov dword [rbp - 0x4c], 0x89480000
mov dword [rbp - 0x48], 0xffff488d
mov dword [rbp - 0x44], 0xf28b48ff
mov dword [rbp - 0x40], 0x8948c033
mov word [rbp - 0x3c], 0x8845
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
lea r8, [rbp - 0x38]
mov r9d, 0x30
mov rdx, rdi
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
lea rcx, [r9 - 0x31]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov r10, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x20]
test r10, r10
je 0x50000222e
cmp dword [rbp - 0x18], 0x1000
jne 0x50000222e
cmp dword [rbp - 0x14], 0x40
jne 0x50000222e
lea r11, [rsi - 0x26]
mov r8, rbx
test r11, r11
je 0x50000222e
lea rax, [rbp - 0x60]
mov r9, r10
sub r9, rax
nop dword [rax + rax]
mov rax, rbx
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp - 0x60]
add rcx, rax
lea rdx, [r9 + rcx]
movzx ecx, byte [rcx]
cmp byte [rdx + r8], cl
jne 0x500002223
cmp rax, 0x25
je 0x500002243
inc rax
cmp rax, 0x26
jb 0x500002200
inc r10
inc r8
cmp r8, r11
jb 0x5000021f0
add rdi, rsi
cmp rdi, r14
jb 0x500002190
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test r10, r10
je 0x50000223a
nop dword [rax + rax]
mov eax, ebx
cmp byte [rax + r10], 0x48
jne 0x500002269
cmp byte [rax + r10 + 1], 0x8b
jne 0x500002269
cmp byte [rax + r10 + 2], 0x80
je 0x500002290
inc ebx
cmp ebx, 0x100
jb 0x500002250
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov eax, dword [rax + r10 + 3]
mov qword [0x5000081e8], rax
jmp 0x500002273
Function at 0x5000022a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp - 0x50], 0xec8b4855
mov ebx, 0x100000
mov dword [rbp - 0x4c], 0x48574156
movabs rdi, 0x200000000
mov dword [rbp - 0x48], 0x4c10ec83
mov dword [rbp - 0x44], 0x8948f98b
mov dword [rbp - 0x40], 0x8b49e855
mov dword [rbp - 0x3c], 0xc28b48f0
mov word [rbp - 0x38], 0x8949
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
lea r8, [rbp - 0x30]
mov r9d, 0x30
mov rdx, rbx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [r9 - 0x31]
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov r8, qword [rbp - 0x30]
mov r11, qword [rbp - 0x18]
test r8, r8
je 0x50000237f
cmp dword [rbp - 0x10], 0x1000
jne 0x50000237f
cmp dword [rbp - 0xc], 0x40
jne 0x50000237f
lea r10, [r11 - 0x1a]
xor edx, edx
test r10, r10
je 0x50000237f
lea r9, [r8 + 0x20]
xor eax, eax
movzx ecx, byte [rbp + rax - 0x50]
cmp byte [rax + r8], cl
jne 0x500002374
cmp rax, 0x19
jne 0x50000236b
cmp byte [r9 + rdx], 0xb8
je 0x5000023b9
inc rax
cmp rax, 0x1a
jb 0x500002353
inc r8
inc rdx
cmp rdx, r10
jb 0x500002351
add rbx, r11
cmp rbx, rdi
jb 0x500002300
mov rax, qword [0x500008258]
test rax, rax
jne 0x5000023c6
xor r9d, r9d
lea r8, [0x5000063d8]
lea rdx, str.error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [r8 + 0x21]
mov qword [0x500008258], rax
jmp 0x500002392
mov r9, qword [rax]
movabs r11, 0x3e726579616c703c
movabs r10, 0x696b6361425f5f6b
mov rax, qword [r9]
mov rcx, qword [rax]
mov r8, qword [rcx + 0xa8]
xor cl, cl
nop dword [rax]
movzx eax, cl
shl rax, 5
mov rdx, qword [rax + r8 + 8]
cmp qword [rdx], r11
jne 0x500002410
cmp qword [rdx + 8], r10
jne 0x500002410
mov edx, dword [rax + r8 + 0x18]
test edx, edx
jne 0x500002439
inc cl
cmp cl, 0x14
jb 0x5000023f0
xor r9d, r9d
lea r8, str.error
lea rdx, str.playerbackfileoffest
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rdx + r9]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rax, qword [rcx + 0x48]
mov qword [0x5000081a8], rax
mov rsp, r11
pop rbp
ret
Function at 0x500002460
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
mov dword [rbp - 0x60], 0x48d3ff41
mov edi, 0x1000000
mov dword [rbp - 0x5c], 0xf320c483
xor ebx, ebx
mov dword [rbp - 0x58], 0xf445100f
movabs r14, 0x200000000
mov dword [rbp - 0x54], 0xc05a0ff3
mov dword [rbp - 0x50], 0xc82a0ff2
mov dword [rbp - 0x4c], 0xc15e0ff2
nop word [rax + rax]
xorps xmm0, xmm0
lea r8, [rbp - 0x30]
mov r9d, 0x30
mov rdx, rdi
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [r9 - 0x31]
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov r10, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x18]
test r10, r10
je 0x50000255e
cmp dword [rbp - 0x10], 0x1000
jne 0x50000255e
cmp dword [rbp - 0xc], 0x40
jne 0x50000255e
lea r11, [rsi - 0x18]
mov r8, rbx
test r11, r11
je 0x50000255e
lea rax, [rbp - 0x60]
mov r9, r10
sub r9, rax
nop dword [rax + rax]
mov rax, rbx
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp - 0x60]
add rcx, rax
lea rdx, [r9 + rcx]
movzx ecx, byte [rcx]
cmp byte [rdx + r8], cl
jne 0x500002553
cmp rax, 0x17
je 0x50000258c
inc rax
cmp rax, 0x18
jb 0x500002530
inc r10
inc r8
cmp r8, r11
jb 0x500002520
add rdi, rsi
cmp rdi, r14
jb 0x5000024c0
xor r9d, r9d
lea r8, str.error
lea rdx, str.GetHpaddress
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test r10, r10
je 0x50000256a
mov ecx, ebx
mov rax, r10
sub rax, rcx
cmp byte [rax], 0xf3
jne 0x5000025aa
cmp byte [rax + 1], 0xf
jne 0x5000025aa
cmp byte [rax + 2], 0x10
je 0x5000025d1
inc ebx
cmp ebx, 0x256
jb 0x500002591
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
sub r10, rcx
mov eax, 5
mov edx, 0x1000
mov ebx, 8
mov r8d, edx
cmp byte [r10 + 3], 0x80
lea r9d, [rax + 0x3b]
cmovne ebx, eax
xor ecx, ecx
add rbx, r10
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rax
mov qword [0x5000082c8], rax
add rax, 0x200
mov word [rbp - 0x60], 0x4851
mov qword [rbp - 0x5d], rax
lea rax, [rbx + 0x10]
mov qword [rbp - 0x3b], rax
mov eax, dword [rbp - 0x38]
mov byte [rbp - 0x5e], 0xb9
mov dword [rbp - 0x55], 0x59018948
mov dword [rbp - 0x51], 0xc05a0ff3
movups xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x5a], rcx
mov dword [rbp - 0x41], 0x25ff
movups xmmword [rcx], xmm0
mov dword [rbp - 0x4d], 0xe85a0ff2
mov dword [rbp - 0x49], 0x6d110ff3
mov dword [rbp - 0x45], 0xce8b48f4
movups xmm1, xmmword [rbp - 0x50]
mov word [rbp - 0x3d], 0
movsd xmm0, qword [rbp - 0x40]
movups xmmword [rcx + 0x10], xmm1
mov dword [rbp - 0x60], 0x25ff
movsd qword [rcx + 0x20], xmm0
mov dword [rcx + 0x28], eax
movzx eax, byte [rbp - 0x34]
mov byte [rcx + 0x2c], al
mov eax, dword [rbp - 0x58]
mov word [rbp - 0x5c], 0
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
movzx eax, word [rbp - 0x54]
mov word [rbx + 0xc], ax
jmp 0x5000025b4
Function at 0x500004130
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp - 0x50], 0x4105f883
xor ebx, ebx
mov dword [rbp - 0x4c], 0x4dc5940f
movabs rsi, 0x200000000
mov dword [rbp - 0x48], 0xebedb60f
mov dword [rbp - 0x44], 0x1bd4106
mov dword [rbp - 0x40], 0xeb000000
mov dword [rbp - 0x3c], 0xed334503
nop dword [rax]
xorps xmm0, xmm0
lea r8, [rbp - 0x38]
mov r9d, 0x30
mov rdx, rbx
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
lea rcx, [r9 - 0x31]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov r10, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x20]
test r10, r10
je 0x500004210
cmp dword [rbp - 0x18], 0x1000
jne 0x500004210
cmp dword [rbp - 0x14], 0x40
jne 0x500004210
lea r11, [rdi - 0x18]
xor r8d, r8d
test r11, r11
je 0x500004210
lea rax, [rbp - 0x50]
mov r9, r10
sub r9, rax
nop dword [rax + rax]
xor eax, eax
lea rcx, [rbp - 0x50]
add rcx, rax
lea rdx, [r9 + rcx]
movzx ecx, byte [rcx]
cmp byte [rdx + r8], cl
jne 0x500004205
cmp rax, 0x17
je 0x500004225
inc rax
cmp rax, 0x18
jb 0x5000041e2
inc r10
inc r8
cmp r8, r11
jb 0x5000041e0
add rbx, rdi
cmp rbx, rsi
jb 0x500004180
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test r10, r10
je 0x50000421c
lea r11, [rsp + 0x70]
mov word [rbp + 0x10], 0x9090
movzx eax, word [rbp + 0x10]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov word [r10 + 0x1f], ax
mov rsp, r11
pop rbp
ret
Function at 0x140001c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x140248378], 0
mov rbx, qword [0x14024c528]
jne 0x140001d03
mov edx, SafeArrayGetLBound
mov rcx, rbx
mov qword [rsp + 0x38], rdi
lea r8d, [rdx - 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x140001cfe
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001cf9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x40], 0
mov rbx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.140053b30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140001cf0
lea rcx, [0x140248370]
call fcn.140001520
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400032d0
Capabilities:
Write file on windows

Disassembly:
push rdi
mov eax, 0x12d00
call fcn.14006a110
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x12d10], rbx
mov qword [rsp + 0x12d18], rbp
mov qword [rsp + 0x12d20], rsi
mov rax, qword [0x1400960c0]
xor rax, rsp
mov qword [rsp + 0x12cf0], rax
mov ebx, ecx
lea rbp, [0x140071618]
mov qword [rsp + 0x60], rbp
xor esi, esi
mov qword [rsp + 0x128a0], rsi
mov qword [rsp + 0x128a8], rsi
mov qword [rsp + 0x128b0], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0xd4d4], esi
mov dword [rsp + 0xd4d8], 0x20000
mov dword [rsp + 0xd4dc], esi
mov dword [rsp + 0xd4e0], esi
mov byte [rsp + 0x12894], sil
mov qword [rsp + 0x128c0], rsi
mov dword [rsp + 0x128c8], esi
mov dword [rsp + 0x128cc], esi
mov dword [rsp + 0x128b8], esi
mov dword [rsp + 0x128d0], esi
mov dword [rsp + 0x128d4], 0x80
mov dword [rsp + 0x128d8], esi
mov dword [rsp + 0x128dc], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x128e0], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x19df
lea rdx, [0x1402467f0]
lea rcx, [rsp + 0x60]
call fcn.140018ce0
mov rdi, qword [rsp + 0x48]
cmp ebx, 4
jne 0x140003412
lea rcx, [rdi + 0xddc]
lea r8, str.v4.0.30319
lea edx, [rsi + 0xc]
call fcn.140051520
lea rdx, [0x14024c780]
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.DNRuntime.dll
lea rcx, [rsp + 0x128f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x128f0]
call fcn.140067fb0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400034ba
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, 0x2a00
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [0x14024c544]
lea r8, [0x14024c53c]
lea rdx, [0x14024c534]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd r8, dword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.140054f00
nop
mov qword [rsp + 0x60], rbp
lea rcx, [rsp + 0x60]
call fcn.1400190e0
mov rcx, qword [rsp + 0x128a0]
test rcx, rcx
je 0x1400034f2
call fcn.140050ab0
mov eax, 0x2a00
jmp 0x1400034f7
mov eax, 0x2a00
mov rcx, qword [rsp + 0x12cf0]
xor rcx, rsp
call fcn.140050fb0
lea r11, [rsp + 0x12d00]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400036a0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
sub rsp, 0x20
xor esi, esi
test r8d, r8d
mov r12, rdx
mov rbp, rcx
je 0x14000370c
mov edx, dword [rcx + 0x28]
mov rcx, qword [rcx + 0x38]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x50], esi
call fcn.14001a640
movsxd rbx, dword [rsp + 0x50]
mov edx, dword [rbp + 0x2c]
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov rcx, r12
call fcn.1400511e0
mov rcx, qword [rsp + 0x40]
mov r8, rbx
xor edx, edx
call fcn.140054f00
mov rcx, qword [rsp + 0x40]
call fcn.1400512b0
jmp 0x14000372d
mov edx, dword [rcx + 0x28]
mov r8, qword [rcx + 0x38]
mov rcx, r12
mov r9, rdx
call fcn.1400511e0
mov r8d, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
xor edx, edx
call fcn.140054f00
cmp dword [rbp + 0x30], esi
mov qword [rbp + 0x38], rsi
je 0x1400038a9
movsxd r8, dword [r12 + 0x3c]
mov ebx, esi
mov r9d, esi
add r8, r12
cmp word [r8 + 0x18], 0x20b
movzx eax, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [rax + r8 + 0x18]
mov rcx, rdx
jne 0x1400037f0
test r10d, r10d
mov r11d, dword [r8 + 0xf8]
mov ebx, 1
je 0x1400037a2
mov eax, dword [rcx + 8]
test eax, eax
jne 0x140003781
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x140003796
add eax, r8d
cmp r11d, eax
jb 0x14000382d
add r9d, ebx
add rcx, 0x28
cmp r9d, r10d
jb 0x140003777
mov rax, rsi
mov r8d, dword [rax + 8]
mov ecx, esi
sub r8d, 0x10
test ebx, ebx
je 0x140003844
test r10d, r10d
je 0x14000388b
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1400037ca
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x1400037df
add eax, r9d
cmp r8d, eax
jb 0x140003879
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x1400037c0
jmp 0x14000388b
test r10d, r10d
mov r11d, dword [r8 + 0xe8]
je 0x1400037a2
nop
mov eax, dword [rcx + 8]
test eax, eax
jne 0x14000380a
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0xc]
cmp r11d, r8d
jb 0x14000381b
add eax, r8d
cmp r11d, eax
jb 0x14000382d
add r9d, 1
add rcx, 0x28
cmp r9d, r10d
jb 0x140003800
jmp 0x1400037a2
mov eax, r8d
sub eax, dword [rcx + 0x14]
movsxd rcx, eax
mov rax, r11
sub rax, rcx
add rax, r12
jmp 0x1400037a5
test r10d, r10d
je 0x14000388b
nop
nop
mov eax, dword [rdx + 8]
test eax, eax
jne 0x14000385a
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
cmp r8d, r9d
jb 0x14000386b
add eax, r9d
cmp r8d, eax
jb 0x140003879
add ecx, 1
add rdx, 0x28
cmp ecx, r10d
jb 0x140003850
jmp 0x14000388b
mov eax, r9d
mov esi, r8d
sub eax, dword [rdx + 0x14]
movsxd rcx, eax
sub rsi, rcx
add rsi, r12
mov eax, dword [rsi]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsi + 0xc]
mov dword [rbp + 0x58], eax
mov eax, dword [rsi + 4]
mov dword [rbp + 0x50], eax
mov eax, dword [rsi + 8]
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x54], eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
pop rsi
pop rbp
ret
Function at 0x140008630
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov esi, r9d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rdi, rcx
mov byte [rsp + 0x20], 0
call fcn.140007e80
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1400086c0
nop
nop
nop
mov dword [rsp + 0x80], SafeArrayUnaccessData
mov rcx, qword [rbx]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140008670
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1400086b8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400086b0
mov edx, 1
call fcn.140009620
mov rcx, rbx
call fcn.140050ab0
mov qword [rdi + 0x18], 0
mov edx, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
xor r9d, r9d
add ecx, edx
xor r8d, r8d
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x44], 0
add ecx, edx
mov edx, esi
mov dword [rsp + 0x4c], ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov rax, qword [rdi + 0xa8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
mov rcx, rdi
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], 1
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x68], eax
mov rax, qword [rdi]
call qword [rax]
mov rcx, qword [rdi + 0xa8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rdi + 0xa8], 0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rdi
ret
Function at 0x140009370
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, 0x150
mov rax, qword [0x1400960c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x20]
mov rbp, rcx
lea rcx, [rsp + 0x30]
mov eax, dword [rbp + 0x28]
mov rdi, qword [rbp + 0x18]
mov dword [rcx], eax
mov eax, dword [rbp + 0x2c]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 0x30]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0x34]
mov dword [rcx + 0xc], eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov r9, rdi
mov r8, rbx
mov rcx, rax
mov edx, 0x135
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400093f3
lea rdx, [rsp + 0x30]
mov r8, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_FillRect]
mov esi, dword [rbp + 0x10]
mov r9d, SafeArrayGetLBound
lea rdx, [rsp + 0x30]
test sil, 1
mov rcx, rbx
lea r8d, [r9 - 5]
jne 0x140009412
lea r8d, [r9 - 0xa]
call qword [sym.imp.USER32.dll_DrawEdge]
mov rcx, qword [rbp + 0x18]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
call qword [sym.imp.USER32.dll_GetWindowTextA]
test sil, 4
je 0x140009492
mov edx, 0xf0f0f0
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
repne scasb al, byte [rdi]
mov dword [rsp + 0x20], 0x25
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
add dword [rsp + 0x34], 1
add dword [rsp + 0x30], 1
add dword [rsp + 0x38], 1
add dword [rsp + 0x3c], 1
mov edx, 0x787878
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
not rcx
mov dword [rsp + 0x20], 0x25
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextA]
test sil, 0x10
je 0x1400094e9
add dword [rsp + 0x34], 3
add dword [rsp + 0x30], 3
sub dword [rsp + 0x38], 3
sub dword [rsp + 0x3c], 3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140050fb0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000e9c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
sub rsp, 0x28
test dl, dl
mov rbx, rcx
je 0x14000ea06
test rcx, rcx
je 0x14000e9d9
lea rsi, [rcx + 0x20]
jmp 0x14000e9db
xor esi, esi
cmp qword [rsi], 0
je 0x14000ead9
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
add rsp, 0x28
pop rsi
pop rbx
ret
xor esi, esi
test rcx, rcx
je 0x14000ea13
lea rax, [rcx + 0x20]
jmp 0x14000ea16
mov rax, rsi
cmp qword [rax], rsi
je 0x14000ead9
test rcx, rcx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], r13
je 0x14000ea34
add rcx, 0x20
jmp 0x14000ea37
mov rcx, rsi
mov rcx, qword [rcx]
mov qword [rsp + 0x50], r12
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov rdx, qword [rbx + 8]
test rdx, rdx
lea r13d, [rax + 1]
movsxd rbp, r13d
je 0x14000ea9b
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x48], rdi
xor eax, eax
mov rdi, rdx
lea r12, [rbp + 1]
repne scasb al, byte [rdi]
mov rdi, qword [rsp + 0x48]
not rcx
sub rcx, 1
cmp rcx, r12
je 0x14000eaa8
mov rcx, rdx
call fcn.1400516e0
test r13d, r13d
je 0x14000ea95
mov rcx, r12
call fcn.140050000
mov qword [rbx + 8], rax
jmp 0x14000eaa8
mov qword [rbx + 8], rsi
jmp 0x14000eaa8
lea rcx, [rbp + 1]
call fcn.140050000
mov qword [rbx + 8], rax
test rbx, rbx
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
je 0x14000eabb
lea rsi, [rbx + 0x20]
mov rdx, qword [rbx + 8]
mov rcx, qword [rsi]
mov r8d, r13d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r13, qword [rsp + 0x20]
mov al, 1
add rsp, 0x28
pop rsi
pop rbx
ret
xor al, al
add rsp, 0x28
pop rsi
pop rbx
ret