joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x0083f710]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46c91b
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret

Function at 0x46cb40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x0083f710]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46cbd7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x46cfa0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46cfd4
mov rcx, 0x28
jmp 0x46cfdf
shl rcx, 3
add rcx, 0x1480
mov qword [0x0083f710], rcx
pop rbp
ret
Function at 0x48c9e0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48cc1b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x48ca7a
mov qword [rsp + 0x88], rax
lea rbx, [0x005c6aa0]
mov rcx, rax
lea rax, [0x007ba4e0]
call sym.sync._Map_.Load
test cl, cl
jne 0x48ca63
mov rax, qword [rsp + 0x88]
call sym.reflect._rtype_.String
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x00614500]
call sym.runtime.concatstring2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call sym.reflect.typesByString
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x48ca97
lea rdx, [0x005c1e40]
cmp rax, rdx
jne 0x48ca85
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call sym.reflect.resolveTypeOff
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x0059b4c0]
call sym.runtime.panicdottypeE
inc rdx
cmp rbx, rdx
jle 0x48cae1
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x48ca94
lea rax, [0x007ba4e0]
lea rbx, [0x005c6aa0]
lea rdi, [0x005c1e40]
nop dword [rax + rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x005c1e40]
cmp rax, rdx
jne 0x48cc0b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x00590240]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x005a2e20]
call sym.runtime.newobject
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x0083f760], 0
nop
je 0x48cb3b
mov rbx, rax
lea rax, [0x005a2e20]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call sym.internal_abi.NewName
call sym.reflect.addReflectOff
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x48cba2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x48cb94
mov dword [rsi + 0x10], edx
cmp dword [0x0083f760], 0
je 0x48cbc3
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x007ba4e0]
lea rbx, [0x005c6aa0]
lea rdi, [0x005c1e40]
nop dword [rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x005c1e40]
cmp rax, rdx
jne 0x48cbfc
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x0059b4c0]
call sym.runtime.panicdottypeE
mov rbx, rdx
lea rcx, [0x0059b4c0]
call sym.runtime.panicdottypeE
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.reflect._rtype_.ptrTo
Function at 0x4a1680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a174a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083f710]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4a172f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00594d80]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x4a171e
mov edi, 1
lea rsi, [0x00594d80]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00616f18]
lea rsi, [0x00615a50]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x4f82a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f89df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4f82cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4f8551
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4f857d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0061ac20]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00594c80]
lea rbx, [0x00616a30]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x4f85a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4f85d7
lea rdi, [0x00594d00]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4f82c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4f85bb
jmp 0x4f8590
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x4f8b80
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4f8b97
inc rax
cmp rax, 4
jge 0x4f8baf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4f8b94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4f8bc0
inc rax
cmp rax, 4
jge 0x4f8bce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4f8bf7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4f8bdb
jmp 0x4f8bbd
Function at 0x511aa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x511bb7
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rsp + 0x70], r10
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], bx
mov word [rsp + 0x54], cx
mov byte [rsp + 0x56], dil
mov word [rsp + 0x58], si
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
movzx eax, word [rsp + 0x50]
movzx ebx, word [rsp + 0x52]
movzx ecx, word [rsp + 0x54]
movzx edi, byte [rsp + 0x56]
movzx esi, word [rsp + 0x58]
call sym.golang.org_x_text_internal_language.Tag.findTypeForKey
nop dword [rax + rax]
cmp rcx, rbx
je 0x511b9a
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
ja 0x511bb1
nop word [rax + rax]
cmp rcx, rbx
jb 0x511ba9
mov rax, qword [rsp + 0x60]
sub rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and rbx, rcx
add rax, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x2d
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0083f710]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x511b87
mov rdx, qword [rsp + 0x30]
nop
cmp rcx, rdx
jbe 0x511b8c
jmp 0x511ba4
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
add rsp, 0x40
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x40
pop rbp
ret
call sym.runtime.panicSliceAlen
mov rax, rbx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
mov word [rsp + 8], ax
mov word [rsp + 0xa], bx
mov word [rsp + 0xc], cx
mov byte [rsp + 0xe], dil
mov word [rsp + 0x10], si
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], r11
call sym.runtime.morestack_noctxt.abi0
movzx eax, word [rsp + 8]
movzx ebx, word [rsp + 0xa]
movzx ecx, word [rsp + 0xc]
movzx edi, byte [rsp + 0xe]
movzx esi, word [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, qword [rsp + 0x28]
mov r11, qword [rsp + 0x30]
jmp sym.golang.org_x_text_internal_language.Tag.TypeForKey
Function at 0x570b20
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x570b38
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x570b38
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x570b40
xor eax, eax
ret
cmp rbx, 3
je 0x570b4c
cmp rbx, 4
jne 0x570b79
cmp al, 0x2c
ja 0x570b66
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x570b76
cmp al, 0x24
je 0x570b76
nop dword [rax]
cmp al, 0x26
jae 0x570b76
jmp 0x570b79
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x570b76
cmp al, 0x5b
je 0x570b76
cmp al, 0x5d
jne 0x570b79
xor eax, eax
ret
cmp al, 0x2f
ja 0x570bb2
nop dword [rax]
cmp al, 0x26
ja 0x570b91
cmp al, 0x24
je 0x570bd1
cmp al, 0x26
je 0x570bd1
jmp 0x570c4b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x570bd1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x570c48
cmp al, 0x2f
je 0x570bd1
jmp 0x570c4b
cmp al, 0x3d
ja 0x570bc9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x570bd1
nop
cmp al, 0x3d
je 0x570bd1
jmp 0x570c4b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x570c40
cmp rbx, 2
jg 0x570c07
cmp rbx, 1
je 0x570c01
nop dword [rax]
cmp rbx, 2
jne 0x570c4b
cmp al, 0x2f
je 0x570bf2
cmp al, 0x3b
je 0x570bf2
cmp al, 0x2c
jne 0x570bf9
mov ecx, 1
jmp 0x570bfe
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x570c2a
cmp al, 0x40
je 0x570c19
cmp al, 0x2f
je 0x570c19
cmp al, 0x3f
jne 0x570c22
mov ecx, 1
nop
jmp 0x570c27
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x570c39
cmp rbx, 7
jne 0x570c4b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x570c48
cmp al, 0x7e
jne 0x570c4b
xor eax, eax
ret
cmp rbx, 7
jne 0x570c61
cmp al, 0x21
je 0x570c5d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x570c61
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x140001c90
Capabilities:
Parse pe header

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

Function at 0x1417ca058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417ca1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1417ca089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417ca06f
add dl, dl
jne 0x1417ca096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417ca0f6
xor eax, eax
add dl, dl
jne 0x1417ca0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417ca1ad
add dl, dl
jne 0x1417ca0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417ca0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417ca07e
mov eax, 1
add dl, dl
jne 0x1417ca106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417ca113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417ca0fb
sub eax, ebx
mov ebx, 1
jne 0x1417ca14c
mov ecx, 1
add dl, dl
jne 0x1417ca12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417ca13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417ca123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417ca07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417ca168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417ca175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417ca15d
cmp eax, 0x7d00
jae 0x1417ca19b
cmp eax, 0x500
jb 0x1417ca196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417ca07e
cmp eax, 0x7f
ja 0x1417ca19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417ca07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417ca1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1417ca07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000f15c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1800553b0]
xor rax, rsp
mov qword [rbp + 0x40], rax
cmp edx, 1
jne 0x18000f23e
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1800120b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x26], 0x75732074
mov dword [rsp + 0x2c], 0x74726f
mov dword [rsp + 0x21], 0x6174736e
mov word [rsp + 0x2a], 0x7070
mov byte [rsp + 0x20], 0x69
mov byte [rsp + 0x25], 0x6e
call fcn.180011e28
test rax, rax
jne 0x18000f272
lea rdx, [sym.gphelper.dll_HookSetWindowPos]
lea rcx, [0x1800569c0]
call fcn.18000ff3c
test eax, eax
je 0x18000f272
lea rdx, [sym.gphelper.dll_HookSetForegroundWindow]
lea rcx, [0x1800569b8]
call fcn.18000ff3c
test eax, eax
je 0x18000f272
lea rdx, [sym.gphelper.dll_HookSetActiveWindow]
lea rcx, [0x1800569d0]
call fcn.18000ff3c
test eax, eax
je 0x18000f272
lea rdx, [sym.gphelper.dll_HookBringWindowToTop]
lea rcx, [0x1800569c8]
call fcn.18000ff3c
jmp 0x18000f272
test edx, edx
jne 0x18000f272
lea rcx, [0x1800569c0]
call fcn.1800101f4
lea rcx, [0x1800569b8]
call fcn.1800101f4
lea rcx, [0x1800569d0]
call fcn.1800101f4
lea rcx, [0x1800569c8]
call fcn.1800101f4
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800108a0
add rsp, 0x150
pop rbp
ret
Function at 0x1800101f4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
call fcn.18000fef0
lea r12, [0x180056a40]
xor r8d, r8d
mov rdx, r12
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001022e
lea rax, [rbx + 0x38]
cmp rax, qword [rsi]
je 0x18001023d
inc r8d
add rdx, 8
cmp r8d, 0x40
jb 0x18001021d
xor ebx, ebx
test rbx, rbx
je 0x1800102fc
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
call fcn.1800104f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
and dword [rsp + 0x58], edi
mov rbp, rax
lea rax, [rsp + 0x58]
mov r9d, 0x40
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800102f7
mov r8, qword [rbx]
xor edx, edx
cmp dword [rbx + 8], edx
jbe 0x18001029b
mov al, byte [rdx + rbx + 0x58]
mov byte [rdx + r8], al
inc edx
cmp edx, dword [rbx + 8]
jb 0x18001028c
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r8d, dword [rbx + 8]
mov r9d, dword [rsp + 0x58]
mov rdx, qword [rbx]
lea rax, [rsp + 0x58]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rbx]
mov qword [rsi], rax
mov edi, 1
mov rcx, r12
xor eax, eax
cmp qword [rcx], rbx
je 0x1800102ec
inc eax
add rcx, 8
cmp eax, 0x40
jb 0x1800102da
jmp 0x1800102f7
and qword [r12 + rax*8], 0
dec dword [0x1800569e4]
call fcn.180010320
lea rcx, [0x180056a10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x180010320
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x1800569f0], edi
jbe 0x18001038a
mov rcx, qword [0x1800569e8]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x1800569e8]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [0x1800569f0]
jb case.default.0x1800103bf
mov rcx, qword [0x1800569e8]
call fcn.180012d2c
and qword [0x1800569e8], 0
and dword [0x1800569f0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, esi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]
Function at 0x180010408
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x1800553b0]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov ebp, r8d
mov rsi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800104cc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
cmp eax, 0xffffffff
je 0x1800104c4
mov dword [rsp + 0x50], 0x100001
xor edi, edi
jmp 0x1800104b0
cmp qword [rsp + 0x118], rsi
jb 0x1800104cc
lea rax, [rsi + rbp]
cmp qword [rsp + 0x118], rax
jae 0x1800104cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 3
jge 0x1800104c1
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
inc edi
mov rcx, rbx
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x180010471
jmp 0x1800104cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov rax, rbx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1800108a0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800106ac
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
xor edi, edi
cmp dword [0x1800569e4], 0x40
jae 0x1800107dc
lea rbx, [rcx + rdx]
add rcx, r8
mov rbp, 0xfffffffffff80000
lea rax, [rcx + 0x7ff80000]
cmp rcx, 0xffffffff80000000
lea r8d, [rdi + 0x2c]
cmovb rbp, rax
and dword [rsp + 0x50], edi
lea rcx, [r11 - 0x34]
xor edx, edx
call fcn.180011240
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 0x80000000
lea rsi, [rbx - 0x7fff0000]
cmp rbx, rax
lea r14d, [rdi + 1]
cmovb rsi, r14
cmp rsi, rbp
jae 0x1800107dc
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800107ac
cmp dword [rsp + 0x40], 0x10000
jne 0x18001079a
mov rax, qword [rsp + 0x38]
cmp rax, 0x78
jb 0x18001079f
mov edx, dword [rsp + 0x78]
mov ecx, edx
cmp rax, rdx
jb 0x18001079f
lea eax, [rdx - 1]
xor edx, edx
mov r8d, 0x3000
add rax, rsi
div rcx
mov edx, 0x78
lea r9d, [rdx - 0x58]
imul rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x1800107b1
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
add rsi, rax
cmp rsi, rbp
jb 0x180010735
test rdi, rdi
je 0x1800107dc
lea rdx, [0x180056a40]
xor eax, eax
mov rcx, rdx
cmp qword [rcx], 0
je 0x1800107d1
add eax, r14d
add rcx, 8
cmp eax, 0x40
jb 0x1800107bd
jmp 0x1800107dc
add dword [0x1800569e4], r14d
mov qword [rdx + rax*8], rdi
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret