joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cf0e0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14026c0c0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1400cf16e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400cf112
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x1400cf180
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14026c0c0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1400cf284
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400cf27f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1400cf254
cmp qword [rsp + 0x38], 2
jb 0x1400cf254
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400cf254
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400cf254
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400cf1c7
jmp 0x1400cf316
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1400cf316
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400cf2ec
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400cf2ec
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400cf2ec
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400cf284
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400f19e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
call fcn.1400bbbf0
nop
mov rax, qword [rsp + 0x30]
mov edx, dword [rax]
lea rcx, [rsp + 0x58]
call fcn.1400fa2c0
lea rcx, [rsp + 0x58]
call fcn.1400fa340
cdqe
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x24], 0
jmp 0x1400f1a66
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jge 0x1400f1aca
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
call fcn.1400bf4f0
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
mov ecx, dword [rsp + 0x38]
mov dword [rax + 4], ecx
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
call fcn.1400bf4f0
movzx eax, word [rax + 2]
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 8], ecx
jmp 0x1400f1a5c
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400ea980
mov r8d, dword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.1401042e0
mov dword [rsp + 0x20], 0
jmp 0x1400f1afc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x1400f1bdc
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
cmp dword [rax + 0x14], 0
je 0x1400f1bd7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
movzx eax, word [rax + 0xc]
mov word [rsp + 0x28], ax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.1400bf4f0
movzx ecx, word [rsp + 0x28]
mov word [rax + 4], cx
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
movzx eax, word [rax + 0x10]
mov word [rsp + 0x2a], ax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.1400bf4f0
movzx ecx, word [rsp + 0x2a]
mov word [rax + 6], cx
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400ea980
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x10]
add ecx, dword [rax + 8]
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x44], eax
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
call fcn.1400bba30
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x44], eax
jmp 0x1400f1af2
lea rcx, [rsp + 0x58]
call fcn.1400bf120
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x78
ret
Function at 0x1401254b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3d38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3d40]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140010990
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x1401255ff
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1401255c1
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.1400bba60
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1401255bc
jmp 0x1401255ff
jmp 0x140125532
cmp dword [rsp + 0x28], 0xd
jne 0x1401255cd
jmp 0x140125532
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140124880
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x140125532
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x14012561e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x14012565a
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140010990
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140258710]
ja 0x14012567e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140258710]
jp 0x140125698
jne 0x140125698
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x1401256b3
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140131370
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov eax, 0x101
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x40]
movzx ecx, word [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1401313c7
mov eax, 0xffffdcd8
jmp 0x140131573
movzx eax, word [rsp + 0x40]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x1401313f1
movzx eax, word [rsp + 0x40]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x14013140c
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [0x14040b0c0], 0xffffffffffffffff
mov eax, 0xffffdcd9
jmp 0x140131573
xor ecx, ecx
call fcn.1401317e0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x14040b0c0], rax
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x14040b8f4], eax
mov eax, 2
mov word [0x14040b8f0], ax
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14040b8f2], ax
mov edx, 4
mov rcx, qword [rsp + 0x210]
call fcn.140131220
mov dword [0x14040b0d0], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x14040b0d4], eax
mov dword [0x14040b0d8], 0
mov dword [0x14040b0dc], 0xaf3c2828
mov r8d, gethostname
xor edx, edx
lea rcx, [0x14040b900]
call sub.VCRUNTIME140.dll_memset
mov r8d, ntohl
xor edx, edx
lea rcx, [0x14040b938]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x14040b8f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x14040b0d0]
mov rcx, qword [0x14040b0c0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x30], eax
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x14040b8f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x14040b4e0]
mov rcx, qword [0x14040b0c0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140131560
mov eax, 0xffffdcdb
jmp 0x140131573
lea rdx, [0x14040b0d0]
lea rcx, [0x14040b4e0]
call fcn.1401311e0
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x1f8
ret
Function at 0x140131590
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov word [rsp + 0x10], dx
mov word [rsp + 8], cx
sub rsp, 0x68
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x14040b0c0], 0
ja 0x1401315c1
mov eax, 0xffffdcd8
jmp 0x1401316be
mov eax, dword [0x14040b0d8]
inc eax
mov dword [0x14040b0d8], eax
mov dword [0x14040b0dc], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x14040b0d4], eax
movsx eax, word [rsp + 0x70]
mov dword [0x14040b904], eax
movsx eax, word [rsp + 0x78]
mov dword [0x14040b908], eax
mov r8d, gethostname
lea rdx, [0x14040b900]
lea rcx, [0x14040b0e0]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x30], Ordinal_79
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x14040b8f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, [0x14040b0d0]
mov rcx, qword [0x14040b0c0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [0x14040b904], 0
mov dword [0x14040b908], 0
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x14040b4e0]
mov rcx, qword [0x14040b0c0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x1401316ab
mov eax, 0xffffdcdb
jmp 0x1401316be
lea rdx, [0x14040b0d0]
lea rcx, [0x14040b4e0]
call fcn.1401311e0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x68
ret

Function at 0x1401316d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x14040b0c0], 0
ja 0x1401316f7
mov eax, 0xffffdcd8
jmp 0x1401317c2
mov eax, dword [0x14040b0d8]
inc eax
mov dword [0x14040b0d8], eax
mov dword [0x14040b0dc], 0xaa8855aa
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x14040b0d4], eax
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x14040b8f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, [0x14040b0d0]
mov rcx, qword [0x14040b0c0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x14040b4e0]
mov rcx, qword [0x14040b0c0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x34], eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [0x14040b0c0], 0xffffffffffffffff
cmp dword [rsp + 0x34], 0
jge 0x1401317af
mov eax, 0xffffdcdb
jmp 0x1401317c2
lea rdx, [0x14040b0d0]
lea rcx, [0x14040b4e0]
call fcn.1401311e0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x68
ret
Function at 0x140131d50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x140131d79
mov dword [rsp], 1
jmp 0x140131d80
mov dword [rsp], 0
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x140131d90
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x38
ret

Function at 0x140131ff0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x44]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140132069
xor eax, eax
jmp 0x1401320d7
mov r8d, 1
mov edx, 0xc3
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x70]
mov r8d, pe_nt_image_headers64
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401320a2
xor eax, eax
jmp 0x1401320d7
call qword [rsp + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x1401320bf
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x80
pop rdi
ret

Function at 0x1401320f0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov rax, qword gs:[0x60]
add rax, 0xbc
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x140132139
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
and eax, 0x70
test eax, eax
je 0x140132139
mov dword [rsp], 1
jmp 0x140132140
mov dword [rsp], 0
mov eax, dword [rsp]
mov dword [rsp + 8], eax
cmp qword [rsp + 0x18], 0
je 0x140132167
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
and eax, 0x70
test eax, eax
je 0x140132167
mov dword [rsp + 4], 1
jmp 0x14013216f
mov dword [rsp + 4], 0
mov eax, dword [rsp + 4]
mov dword [rsp + 0xc], eax
cmp dword [rsp + 8], 0
jne 0x140132185
cmp dword [rsp + 0xc], 0
je 0x14013218e
mov eax, 1
jmp 0x140132190
xor eax, eax
add rsp, 0x28
ret
Function at 0x140132ed0
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x500
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xbc]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
lea r8, [rsp + 0x68]
lea rdx, [fcn.140132ed0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140133159
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x40], rax
mov r9d, Ordinal_26
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x14013307f
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 0
jmp 0x140132f99
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x14013307f
mov edx, 0x200
lea rcx, [rsp + 0xf0]
call fcn.140131f20
xor eax, eax
test eax, eax
jne 0x140132fba
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov r8d, Ordinal_50
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jb 0x14013307a
mov eax, dword [rsp + 0xac]
and eax, 0x10
cmp eax, 0x10
je 0x140133031
mov eax, dword [rsp + 0xac]
and eax, 0x20
cmp eax, 0x20
je 0x140133031
mov eax, dword [rsp + 0xac]
and eax, 0x80
cmp eax, 0x80
je 0x140133031
mov eax, dword [rsp + 0xac]
and eax, 0x40
cmp eax, 0x40
jne 0x140133061
mov eax, dword [rsp + 0xac]
and eax, 0x100
cmp eax, 0x100
je 0x140133057
mov eax, dword [rsp + 0x98]
and eax, 0x100
cmp eax, 0x100
jne 0x140133061
mov eax, 1
jmp 0x14013315b
mov eax, dword [rsp + 0xac]
and eax, 1
cmp eax, 1
jne 0x14013307a
mov eax, 1
jmp 0x14013315b
jmp 0x140132f84
lea rax, [0x14040cb50]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000cb40
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call fcn.14001cf60
mov qword [rsp + 0x58], rax
jmp 0x1401330b9
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x140133159
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov edx, 0x200
lea rcx, [rsp + 0xf0]
call fcn.140131f20
xor eax, eax
test eax, eax
jne 0x1401330e8
mov r8d, Ordinal_50
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jb 0x140133154
mov eax, dword [rsp + 0xac]
and eax, 0x10
cmp eax, 0x10
je 0x140133154
mov eax, dword [rsp + 0xac]
and eax, 0x20
cmp eax, 0x20
je 0x140133154
mov eax, dword [rsp + 0xac]
and eax, 0x80
cmp eax, 0x80
je 0x140133154
mov eax, dword [rsp + 0xac]
and eax, 0x40
cmp eax, 0x40
je 0x140133154
mov eax, 1
jmp 0x14013315b
jmp 0x1401330ab
xor eax, eax
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x500
pop rdi
ret
Function at 0x140133180
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0xe0
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xa4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
lea r8, [rsp + 0x50]
lea rdx, [fcn.140132ed0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x1401332ea
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x38], rax
mov r9d, Ordinal_26
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x1401332ea
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
jmp 0x140133246
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x60]
cmp qword [rsp + 0x20], rax
jae 0x1401332ea
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov r8d, Ordinal_50
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jb 0x1401332e5
mov eax, dword [rsp + 0x94]
and eax, 0x10
cmp eax, 0x10
je 0x1401332bf
mov eax, dword [rsp + 0x94]
and eax, 0x20
cmp eax, 0x20
je 0x1401332bf
mov eax, dword [rsp + 0x94]
and eax, 0x80
cmp eax, 0x80
je 0x1401332bf
mov eax, dword [rsp + 0x94]
and eax, 0x40
cmp eax, 0x40
jne 0x1401332e5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [0x14040cb50]
call fcn.1401334c0
jmp 0x140133231
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140248f60
add rsp, 0xe0
pop rdi
ret

Function at 0x1401337a0
Capabilities:
Get process heap flags

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call fcn.1401319e0
movzx eax, al
test eax, eax
je 0x1401337e7
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x70
mov qword [rsp + 0x28], rax
jmp 0x14013380a
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x140133860
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call fcn.1401319e0
movzx eax, al
test eax, eax
je 0x1401338a7
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x74
mov qword [rsp + 0x28], rax
jmp 0x1401338ca
mov rax, qword gs:[0x60]
add rax, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret