joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038500
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x1432d349d]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14003855e
mov rdi, rax
lea rdx, [0x1432d34be]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14003855e
mov rsi, rax
lea rdx, [0x1432d34cc]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14003855e
mov rdi, rax
xor ebx, ebx
jmp 0x1400385e0
lea rcx, [0x1432d3458]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14003864e
mov rsi, rax
lea rdx, [0x1432d3462]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14003864e
mov rdi, rax
lea rdx, [0x1432d3475]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14003864e
mov rbx, rax
lea rdx, [0x1432d3489]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14003864e
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14003864e
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1432e12a8]
mov ecx, 0x18
call fcn.1400316c0
test rax, rax
je 0x140038653
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1432e1168], rcx
je 0x140038642
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14003862c
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1432e1230]
xor edx, edx
mov r8, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1400386d0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140036590
ud2
Function at 0x140001020
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push rbp
lea rbp, [rsp - 0x2ccb0]
mov eax, 0x2cdb0
call fcn.1400014c0
sub rsp, rax
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x2cca0], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000105c
mov eax, 0xffffffff
jmp 0x140001161
mov qword [rsp + 0x2cdc0], rbx
lea rdx, [0x140011330]
mov r8d, 0x2cd37
mov qword [rsp + 0x2cdc8], rdi
lea rcx, [rsp + 0x60]
call fcn.14000ff10
xor ecx, ecx
mov edx, 0x2cd36
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, qword [0x140048af0]
lea rdx, [rsp + 0x48]
mov rbx, qword [section..data]
mov rdi, rax
mov qword [0x140048ae8], rax
mov dword [rsp + 0x48], 0x7257744e
mov dword [rsp + 0x4c], 0x56657469
mov dword [rsp + 0x50], 0x75747269
mov dword [rsp + 0x54], 0x654d6c61
mov dword [rsp + 0x58], 0x79726f6d
mov byte [rsp + 0x5c], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x2cd36
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
call rax
mov rax, qword [0x140048ae8]
lea r8, [rsp + 0x40]
mov rcx, qword [section..data]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r9d, 0x20
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0x2cd36
call fcn.140001180
call qword [0x140048ae8]
mov rdi, qword [rsp + 0x2cdc8]
xor eax, eax
mov rbx, qword [rsp + 0x2cdc0]
mov rcx, qword [rbp + 0x2cca0]
xor rcx, rsp
call fcn.140001520
add rsp, 0x2cdb0
pop rbp
ret

Function at 0x140001180
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xce9c7458
call fcn.1400011c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x140001200
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp dword [0x140048b00], 0
jne 0x140001413
mov rax, qword gs:[0x60]
xor r12d, r12d
mov edx, r12d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14000141f
nop word [rax + rax]
mov r9, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r9 + 0x88]
test ecx, ecx
je 0x14000127d
lea rdx, [r9 + rcx]
mov ecx, dword [r9 + rcx + 0xc]
mov eax, dword [rcx + r9]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000127d
mov eax, dword [rcx + r9 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001289
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001240
test rdx, rdx
je 0x14000141f
mov qword [rsp + 0x30], rbx
mov ebx, r12d
mov qword [rsp + 0x38], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x40], rsi
mov esi, dword [rdx + 0x20]
mov qword [rsp + 0x18], rdi
add rsi, r9
mov edi, dword [rdx + 0x18]
mov qword [rsp + 0x10], r13
mov r13d, 0x775a
mov qword [rsp + 8], r14
mov r14d, dword [rdx + 0x1c]
add r14, r9
mov qword [rsp], r15
add rbp, r9
lea r15, [0x140048b00]
nop word [rax + rax]
lea eax, [rdi - 1]
mov edx, dword [rsi + rax*4]
add rdx, r9
cmp word [rdx], r13w
jne 0x140001355
mov r10d, r12d
mov r8d, 0xbc2f1324
mov r11, rdx
nop dword [rax + rax]
mov ecx, r8d
mov eax, r8d
shr ecx, 8
inc r10d
or ecx, r8d
shl eax, 0x18
shr ecx, 8
or ecx, eax
movzx eax, word [r11]
add ecx, eax
mov r11d, r10d
add r11, rdx
xor r8d, ecx
cmp byte [r11], r12b
jne 0x140001300
mov edx, ebx
lea eax, [rdi - 1]
add rdx, rdx
inc ebx
mov dword [r15 + rdx*8 + 8], r8d
movzx eax, word [rbp + rax*2]
mov eax, dword [r14 + rax*4]
mov dword [r15 + rdx*8 + 0xc], eax
mov qword [r15 + rdx*8 + 0x10], r12
cmp ebx, 0x226
je 0x14000135a
add edi, 0xffffffff
jne 0x1400012e0
mov r14, qword [rsp + 8]
lea eax, [rbx - 1]
mov r13, qword [rsp + 0x10]
mov r11d, r12d
mov rbp, qword [rsp + 0x38]
mov dword [0x140048b00], ebx
test eax, eax
je 0x140001400
nop dword [rax]
mov ecx, ebx
mov eax, r12d
sub ecx, r11d
cmp ecx, 1
je 0x1400013f5
nop dword [rax]
lea r10d, [rax + 1]
mov r9d, eax
add r9, r9
mov r8d, r10d
add r8, r8
mov esi, dword [r15 + r9*8 + 0xc]
mov edi, dword [r15 + r8*8 + 0xc]
cmp esi, edi
jbe 0x1400013e6
mov eax, dword [r15 + r8*8 + 8]
mov edx, dword [r15 + r9*8 + 8]
mov rcx, qword [r15 + r9*8 + 0x10]
mov dword [r15 + r9*8 + 8], eax
mov rax, qword [r15 + r8*8 + 0x10]
mov qword [r15 + r9*8 + 0x10], rax
mov dword [r15 + r9*8 + 0xc], edi
mov dword [r15 + r8*8 + 8], edx
mov dword [r15 + r8*8 + 0xc], esi
mov qword [r15 + r8*8 + 0x10], rcx
mov ebx, dword [0x140048b00]
mov ecx, ebx
mov eax, r10d
sub ecx, r11d
dec ecx
cmp r10d, ecx
jb 0x140001390
inc r11d
lea eax, [rbx - 1]
cmp r11d, eax
jb 0x140001380
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
mov eax, 1
add rsp, 0x20
pop r12
ret
xor eax, eax
add rsp, 0x20
pop r12
ret
Function at 0x140001f08
Capabilities:
Parse pe header

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

Function at 0x14000668c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006488
Function at 0x14000974c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000977c
xor eax, eax
jmp 0x14000983f
mov rbp, rbx
cmp word [rax], si
je 0x1400097a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009788
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009784
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.14000966c
movsxd r14, eax
test eax, eax
jne 0x1400097df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009775
mov rcx, r14
call fcn.14000a628
mov rdi, rax
test rax, rax
jne 0x1400097f8
xor ecx, ecx
call fcn.140007ccc
jmp 0x1400097d4
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.14000966c
test eax, eax
jne 0x140009829
mov rcx, rdi
call fcn.140007ccc
jmp 0x140009833
xor ecx, ecx
call fcn.140007ccc
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 0x14000cd30
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000873c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000cdba
cmp byte [rbp - 0x21], r15b
je 0x14000cdb5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000cdf0
call fcn.14000ae38
test eax, eax
jne 0x14000cddc
cmp byte [rbp - 0x21], r15b
je 0x14000cdd4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000cdf0
cmp byte [rbp - 0x21], r15b
je 0x14000cded
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140007d1c
test eax, eax
jne 0x14000ce90
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000873c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000ce2f
cmp byte [rbp - 0x21], r15b
je 0x14000ce64
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000ce64
call fcn.14000ae38
test eax, eax
jne 0x14000ce50
cmp byte [rbp - 0x21], r15b
je 0x14000ce49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000ce64
cmp byte [rbp - 0x21], r15b
je 0x14000ce61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140007d1c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000ce90
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000ce93
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000cea1
mov rcx, rdi
call fcn.140007ccc
cmp byte [rbp + 0x3f], r15b
je 0x14000ceb0
mov rcx, qword [rbp + 0x27]
call fcn.140007ccc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000fce0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000fd08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000fd08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140008a9b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1431f3550]
jne 0x140005cba
rol rcx, 0x10
test cx, 0xffff
jne 0x140005cb6
repz ret
ror rcx, 0x10
jmp 0x1400089f4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1431f6d90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1431f6e88]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140008a79
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1431f6d90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140008a9b
mov rax, qword [rsp + 0x88]
mov qword [0x1431f6e88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1431f6e28], rax
mov rax, qword [0x1431f6e88]
mov qword [0x1431f6d00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1431f6e10], rax
mov dword [0x1431f6cf0], 0xc0000409
mov dword [0x1431f6cf4], 1
mov rax, qword [0x1431f3550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1431f3558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1431f6d88], eax
mov ecx, 1
call fcn.14000d5dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140012710]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1431f6d88], 0
jne 0x140008b22
mov ecx, 1
call fcn.14000d5dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000b6f8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000c888
nop
cmp dword [0x1431f7310], 1
je 0x14000b6a4
mov dword [0x1431f730c], 1
mov byte [0x1431f7308], r12b
test ebx, ebx
jne 0x14000b690
mov rcx, qword [0x1431f7b00]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000b67d
mov rcx, qword [0x1431f7af8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000b61c
call fcn.14000afcc
cmp qword [rdi], rax
jne 0x14000b61c
jmp 0x14000b602
cmp rdi, rsi
jb 0x14000b67d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000afcc
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1431f7b00]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1431f7af8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000b65b
cmp r13, rax
je 0x14000b67b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000b602
lea rdx, [0x140012490]
lea rcx, [0x140012478]
call fcn.14000b44c
lea rdx, [0x1400124a0]
lea rcx, [0x140012498]
call fcn.14000b44c
nop
test r12d, r12d
je 0x14000b6b3
mov ecx, 8
call fcn.14000c788
test r12d, r12d
jne 0x14000b6de
mov dword [0x1431f7310], 1
lea ecx, [r12 + 8]
call fcn.14000c788
mov ecx, r15d
call fcn.14000b3e0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000b56c

Function at 0x14000b704
Capabilities:
Terminate process

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000afcc
xor ebx, ebx
mov rdi, rax
cmp qword [0x1431f79f0], rbx
jne 0x1400102ce
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400103a3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400103a3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1431f79f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1431f79f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1431f7a00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1431f7a10], rax
test rax, rax
je 0x1400102c5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1431f7a08], rax
jmp 0x1400102d5
mov rax, qword [0x1431f7a08]
jmp 0x1400102dc
mov rax, qword [0x1431f7a08]
mov r11, qword [0x1431f7a10]
cmp rax, rdi
je 0x140010344
cmp r11, rdi
je 0x140010344
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1431f7a10]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140010344
test rax, rax
je 0x140010344
call rsi
test rax, rax
je 0x14001033e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001033e
test byte [rsp + 0x38], 1
jne 0x140010344
bts ebp, 0x15
jmp 0x140010382
mov rcx, qword [0x1431f79f8]
cmp rcx, rdi
je 0x140010382
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140010382
call rax
mov rbx, rax
test rax, rax
je 0x140010382
mov rcx, qword [0x1431f7a00]
cmp rcx, rdi
je 0x140010382
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140010382
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1431f79f0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400103a3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400103a5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1f5bd80c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1f5bd824b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x1f5cddd38]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.1f5bf4da0
xorps xmm15, xmm15
mov r14, qword [0x1f5e9ac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x1f5bd8125
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1f5bd8134
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x1f5bd8153
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x1f5bd8163
cmp rbx, 0x1000
jae 0x1f5bd812b
jmp 0x1f5bd81cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x1f5bd8175
xor edx, edx
jmp 0x1f5bd81c4
mov rcx, qword [0x1f5cddd38]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.1f5bf4da0
xorps xmm15, xmm15
mov r14, qword [0x1f5e9ac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x1f5bd8159
jmp 0x1f5bd8148
call fcn.1f5c27940
xorps xmm15, xmm15
mov r14, qword [0x1f5e9ac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.1f5bf8ee0
lea rax, [0x1f5d290da]
mov ebx, 0x18
nop dword [rax]
call fcn.1f5bf9760
mov rax, qword [rsp + 0x38]
call fcn.1f5bf94a0
lea rax, [0x1f5d294ae]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.1f5bf9760
mov rax, qword [rsp + 0x30]
call fcn.1f5bf94a0
call fcn.1f5bf9120
call fcn.1f5bf8f40
lea rax, [0x1f5d2b7ac]
mov ebx, 0x21
call fcn.1f5bf73a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1f5c241c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1f5bd80c0
Function at 0x1f5bd8280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1f5bd84a6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x1f5cddd30]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.1f5bf4e20
xorps xmm15, xmm15
mov r14, qword [0x1f5e9ac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x1f5bd82f3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x1f5bd8302
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x1f5bd8325
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x1f5bd8335
cmp rbx, 0x1000
jae 0x1f5bd82f9
nop
jmp 0x1f5bd83b8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x1f5bd834d
xor esi, esi
jmp 0x1f5bd83aa
mov rax, qword [0x1f5cddd30]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.1f5bf4e20
xorps xmm15, xmm15
mov r14, qword [0x1f5e9ac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x1f5bd832b
jmp 0x1f5bd8316
call fcn.1f5c27940
xorps xmm15, xmm15
mov r14, qword [0x1f5e9ac70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x1f5bd8440
nop dword [rax + rax]
call fcn.1f5bf8ee0
lea rax, [0x1f5d294c7]
mov ebx, 0x19
call fcn.1f5bf9760
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.1f5bf94a0
lea rax, [0x1f5d294ae]
mov ebx, 0x19
call fcn.1f5bf9760
mov eax, dword [rsp + 0x34]
call fcn.1f5bf94a0
nop
call fcn.1f5bf9120
call fcn.1f5bf8f40
lea rax, [0x1f5d25c45]
mov ebx, 0xd
call fcn.1f5bf73a0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x1f5bd83e0
call fcn.1f5bf8ee0
lea rax, [0x1f5d294c7]
mov ebx, 0x19
call fcn.1f5bf9760
mov rax, qword [rsp + 0x38]
call fcn.1f5bf94a0
lea rax, [0x1f5d294ae]
mov ebx, 0x19
call fcn.1f5bf9760
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.1f5bf94a0
call fcn.1f5bf9120
call fcn.1f5bf8f40
lea rax, [0x1f5d2aef5]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.1f5bf73a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1f5c241c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.1f5bd8280