joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098a50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140098ab7
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140098a72
mov ecx, dword [r10]
jmp 0x140098bd8
cmp ecx, 0x270
jb 0x140098bd8
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140098af0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140098b50
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x140098d30
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x1400f1e70]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x140098d4c
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x140098d5a
bts eax, 6
shr ecx, 1
test cl, 1
je 0x140098d65
bts eax, 5
shr ecx, 1
test cl, 1
je 0x140098d70
bts eax, 4
shr ecx, 1
test cl, 1
je 0x140098d7b
bts eax, 3
shr ecx, 1
test cl, 1
je 0x140098d86
bts eax, 2
shr ecx, 1
test cl, 1
je 0x140098d91
bts eax, 1
test cl, 2
je 0x140098d9a
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x140098e31
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x140098e3d
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x140098e25
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x140098d40
mov dword [0x1400f2270], 1
ret
Function at 0x140099eb0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x40], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x140099edf
xor eax, eax
jmp 0x14009a097
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x14009a077
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xd0]
jne 0x14009a077
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xc8]
jne 0x14009a077
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xcc]
jne 0x14009a077
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x14009a077
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.140099090
cmp rsi, qword [rbx + 0x50]
jae 0x140099f65
mov qword [rbx + 0x50], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x140099f9f
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xfc]
jae 0x140099fad
mov dword [rbx + 0xfc], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140099fc6
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0x100]
jae 0x140099fd4
mov dword [rbx + 0x100], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x58], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x5c], eax
mov dword [rbp + 0x80], 1
mov ecx, dword [rbx + 0x40]
test r14, r14
je 0x14009a05c
lea eax, [rcx - 5]
cmp eax, 1
jbe 0x14009a022
cmp dword [rbx + 0x58], 0
je 0x14009a017
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2b60]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2b58]
xor eax, eax
mov dword [rbx + 0x40], 5
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x70], rax
mov qword [rbx + 0xa0], rax
mov dword [rbx + 0xac], eax
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1fc]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x14009a092
xor eax, eax
mov rdx, rbx
cmp ecx, 1
mov rcx, rbp
sete al
lea r8d, [rax + 3]
call fcn.14008ed00
xor eax, eax
jmp 0x14009a092
xor eax, eax
mov rdx, rbx
mov rcx, rbp
mov dword [rbx + 0x1fc], eax
lea r8d, [rax + 9]
call fcn.14008ed00
lea eax, [r8 - 0xa]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14009ddb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
cmp dword [0x1400f2380], ebx
jne 0x14009de66
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x48]
mov edi, 1
mov dword [0x1400f2380], edi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x1400f2384], eax
test eax, eax
je 0x14009de19
lea rcx, [0x1400f24e0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x48]
divsd xmm0, qword [0x1400d2f00]
jmp 0x14009de59
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x107b2
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x26], rdi
mov word [rsp + 0x2e], bx
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x30]
movsd xmm0, qword [0x1400d2ec8]
shl rcx, 0x20
or rcx, rax
mov qword [0x1400f24e0], rcx
mov rdi, qword [rsp + 0x70]
movsd qword [0x1400f24e8], xmm0
cmp dword [0x1400f2384], ebx
je 0x14009de80
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
jmp 0x14009de9f
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
shl rax, 0x20
or rax, rcx
mov qword [rsp + 0x40], rax
sub rax, qword [0x1400f24e0]
xorps xmm0, xmm0
movabs r9, 0x431bde82d7b634db
cvtsi2sd xmm0, rax
mov rax, r9
divsd xmm0, qword [0x1400f24e8]
cvttsd2si rcx, xmm0
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0xf4240
sub ecx, eax
imul eax, ecx, 0x3e8
movsxd r8, eax
movsxd rax, edx
imul rcx, rax, 0x3b9aca00
add r8, rcx
lock xadd qword [0x1400f2388], rbx
test rbx, rbx
jne 0x14009df1e
lea rcx, [r8 - 0xf4240]
xor eax, eax
lock cmpxchg qword [0x1400f2388], rcx
mov rbx, rax
cmove rbx, rcx
sub r8, rbx
mov rax, r9
mul r8
shr rdx, 0x12
mov eax, edx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a1400
add rsp, 0x60
pop rbx
ret
Function at 0x14009df40
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
lea r9, [rsp + 0x20]
mov rax, rdx
lea r8, [rsp + 0x28]
mov rbx, rcx
xor edi, edi
mov rcx, rax
mov qword [rsp + 0x20], rdi
xor edx, edx
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14009df9d
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14009dfea
jmp 0x14009dfe4
mov r9, qword [rsp + 0x20]
mov rax, r9
test r9, r9
je 0x14009dfea
nop word [rax + rax]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14009dfd8
mov ecx, dword [rax + 4]
cmp ecx, 2
je 0x14009e02c
test ecx, ecx
jne 0x14009dfd3
cmp qword [rax + 0x10], 0x10
je 0x14009e02c
cmp qword [rax + 0x10], 0x1c
jmp 0x14009dfd6
cmp ecx, 0x17
je 0x14009e00a
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14009dfb0
mov rcx, r9
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a1400
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
movups xmm0, xmmword [rdx + 8]
mov rcx, r9
movups xmmword [rbx], xmm0
mov rdx, qword [rax + 0x20]
movzx r8d, word [rdx + 0x18]
mov word [rbx + 0x12], r8w
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x14009dfef
mov eax, dword [rdx + 4]
test eax, eax
jne 0x14009e04e
movups xmm0, xmmword [0x1400cd758]
mov rcx, r9
movups xmmword [rbx], xmm0
mov word [rbx + 0x12], di
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x14009dfef
cmp eax, 0xffffffff
jne 0x14009e06e
movups xmm0, xmmword [0x1400cd778]
mov rcx, r9
movups xmmword [rbx], xmm0
mov word [rbx + 0x12], di
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x14009dfef
movups xmm0, xmmword [0x1400cd768]
mov ecx, eax
shr ecx, 8
movups xmmword [rbx], xmm0
mov byte [rbx + 0xd], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rbx + 0xc], al
mov byte [rbx + 0xe], cl
mov rcx, r9
shr eax, 0x18
mov word [rbx + 0xa], 0xffff
mov byte [rbx + 0xf], al
mov word [rbx + 0x12], di
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x14009dfef
Function at 0x14009fe30
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [0x1400f18d0]
lea rdx, reloc.WS2_32.dll_accept
xor ebx, ebx
lea rcx, str.test
xor r8d, r8d
or dword [rax + 0x48d0], 3
mov dword [rax + 0x48e4], 0x43480000
mov qword [rax + 0x48e8], 0x43480000
mov dword [rax + 0x48f0], ebx
mov dword [rax + 0x48d4], 2
mov byte [rax + 0x490c], 1
movsd xmm0, qword [0x1400e8140]
movsd qword [rax + 0x48f4], xmm0
mov dword [rax + 0x48d8], 2
movss xmm2, dword [0x1400e8140]
movss xmm1, dword [0x1400e8144]
mulss xmm2, dword [0x1400d2e4c]
mulss xmm1, dword [0x1400d2e4c]
movss dword [rax + 0x3910], xmm2
movss dword [rax + 0x3914], xmm1
call fcn.14004f590
mov rax, qword [0x1400f18f8]
lea r8, [rax + 0xc0]
cmp qword [r8 + 0x18], 0xf
jbe 0x14009fef9
mov r8, qword [r8]
mov r9d, dword [rax + 0xd8]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea rcx, str.Country
mov qword [rsp + 0x48], rbx
call fcn.140086220
mov rax, qword [0x1400f18f8]
lea r8, [rax + 0xe0]
cmp qword [r8 + 0x18], 0xf
jbe 0x14009ff43
mov r8, qword [r8]
mov r9d, dword [rax + 0xf8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea rcx, [0x1400d2dcc]
mov qword [rsp + 0x50], rbx
call fcn.140086220
mov rax, qword [0x1400f18f8]
lea r8, [rax + 0x100]
cmp qword [r8 + 0x18], 0xf
jbe 0x14009ff8d
mov r8, qword [r8]
mov r9d, dword [rax + 0x118]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea rcx, [0x1400d2dc8]
mov qword [rsp + 0x48], rbx
call fcn.140086220
mov rax, qword [0x1400f18f8]
lea r8, [rax + 0x120]
cmp qword [r8 + 0x18], 0xf
jbe 0x14009ffd7
mov r8, qword [r8]
mov r9d, dword [rax + 0x138]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea rcx, [0x1400d2ddc]
mov qword [rsp + 0x40], rbx
call fcn.140086220
mov r8, qword [0x1400f18f8]
lea rax, [0x1400d2244]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0x64
add r8, 0x144
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 1
call fcn.140083a80
mov rdx, qword [0x1400f18f8]
add rdx, 0x94
call fcn.140082240
mov r8, qword [0x1400f18f8]
cmp byte [r8 + 0x94], bl
je 0x1400a00ad
mov r9, qword [r8 + 0xb0]
add r8, 0x98
cmp qword [r8 + 0x18], 0xf
jbe 0x1400a0082
mov r8, qword [r8]
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea rcx, str.Socks5_Proxy
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
call fcn.140086220
call fcn.140052520
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a1400
add rsp, 0x60
pop rbx
ret
Function at 0x1400a00d0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400a013b
lea rdx, str.Growtopia.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x1400a015f
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400a0113
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a1400
add rsp, 0x160
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400a0146

Function at 0x1400a05c0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x388
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x370], rax
nop dword [rax]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.1400a00d0
cmp eax, dword [rsp + 0x20]
jne 0x1400a05e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1400f2560], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400f2568], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [0x1400f2570], rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x30]
mov eax, r9d
sub eax, edx
mov dword [0x1400f2588], edx
mov dword [0x1400f2580], eax
lea rdx, [rsp + 0x40]
mov eax, r8d
mov dword [0x1400f2590], ecx
sub eax, ecx
mov dword [0x1400f2594], r8d
mov rcx, qword [0x1400f2570]
mov r8d, 0x104
mov dword [0x1400f2584], eax
mov dword [0x1400f258c], r9d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x1400f2570]
lea rax, [rsp + 0x40]
mov r8d, 0x104
mov qword [0x1400f2598], rax
lea rdx, [rsp + 0x150]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [0x1400f2568]
lea rax, [rsp + 0x150]
mov r9d, 0x104
mov qword [0x1400f25a0], rax
lea r8, [rsp + 0x260]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rsp + 0x260]
mov qword [0x1400f25a8], rax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1400a1400
add rsp, 0x388
ret
Function at 0x1400a2104
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006b3b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x1800015cd
xor al, al
jmp 0x18000161c
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x1800015de
xor al, al
jmp 0x18000161c
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x180001605
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x180001605
mov al, 1
jmp 0x18000161c
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180053970
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180053970
add rsp, 0x60
pop rbx
ret

Function at 0x1800018b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006b3b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x1800018e1
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x18000199a
nop word [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x18000190b
add rbx, 0x8000000
jmp 0x180001991
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000199a
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x180001976
cmp rcx, 0x10000
jb 0x180001976
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18000199c
add rbx, 0x10000
jmp 0x180001991
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x180001991
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x1800018f0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180053970
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1800019c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006b3b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x180001aa8
nop dword [rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x180001a1b
sub rbx, 0x8000000
jmp 0x180001a9f
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001aa8
cmp dword [rsp + 0x40], 0x10000
jne 0x180001a83
cmp qword [rsp + 0x38], 0x10000
jb 0x180001a83
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180001aaa
sub rbx, 0x10000
jmp 0x180001a9f
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x180001a00
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180053970
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x180001ba0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x180001bbe
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x180001bda
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180001bf1
cmp byte [rcx + 1], 0x25
jne 0x180001c35
movsxd rax, dword [rcx + 2]
add rcx, 6
jmp 0x180001bfd
cmp al, 0xe9
jne 0x180001c35
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
cmp rcx, r9
jae 0x180001c20
cmp rcx, 0xffffffff80000000
jae 0x180001c17
lea rdi, [rcx + 0x7ff80000]
jmp 0x180001c35
mov rdi, 0xfffffffffff80000
jmp 0x180001c35
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180001c35
mov ebx, 0x80000
mov rax, qword [0x18006c3f8]
mov rcx, qword [0x18006c408]
test rax, rax
jne 0x180001c57
test rcx, rcx
je 0x180001c6e
mov rax, rcx
mov qword [0x18006c3f8], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x180001c6e
cmp rdx, rbx
jb 0x180001c6e
cmp rdx, rdi
jbe 0x180001d19
mov qword [0x18006c3f8], rcx
mov rax, rcx
test rcx, rcx
je 0x180001ca9
test rcx, rcx
je 0x180001c99
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180001c99
cmp rcx, rbx
jb 0x180001c99
cmp rcx, rdi
jbe 0x180001d19
mov rax, qword [rax + 8]
mov qword [0x18006c3f8], rax
test rax, rax
jne 0x180001c82
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.180001ad0
test rax, rax
je 0x180001d5c
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x18006c3f8], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x18006c408]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x18006c408], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x180001d01
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x180001d5c
cmp rdx, rdi
ja 0x180001d5c
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x180061f90]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180001e20
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18006b3b0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x18006c3f0], 0
jne 0x180001ee4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x18006c3f0], ecx
jne 0x180001ee4
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x18006c408]
mov qword [rsp + 0x30], rdi
xor edi, edi
mov qword [0x18006c418], rdi
mov qword [0x18006c410], rdi
mov qword [0x18006c400], rdi
test rbx, rbx
je 0x180001ec0
nop word [rax + rax]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180001eb8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180001e90
jmp 0x180001ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov dword [0x18006c34c], edi
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180053970
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180053970
add rsp, 0x38
ret
Function at 0x1800024a0
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x18006c34c]
mov rbx, rcx
test eax, eax
jne 0x180002539
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rbx, rax
jne 0x1800024ca
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rdi
call fcn.180053990
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18000251d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 0x10
mov rcx, rdi
call fcn.1800539cc
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov dword [0x18006c34c], ebx
mov qword [0x18006c400], 0
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x18006c410]
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rbx
mov qword [0x18006c410], rdi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret