joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4114a0
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x411724
jbe 0x411500
cmp cx, 0x25
je 0x411910
jbe 0x411630
cmp cx, 0x44
je 0x411900
ja 0x411603
cmp cx, 0x41
je 0x4118f0
jbe 0x411550
cmp cx, 0x42
je 0x4118e0
cmp cx, 0x43
jne 0x4118d0
lea rcx, [0x0041f380]
jmp fcn.0040b270
cmp cx, 0xa
je 0x4118c0
ja 0x4115c3
cmp cx, 4
je 0x4118b0
jbe 0x411590
cmp cx, 7
je 0x4118a0
jbe 0x411570
cmp cx, 8
je 0x411890
cmp cx, 9
jne 0x4118d0
lea rcx, [0x0041f700]
jmp fcn.0040b270
cmp cx, 0x26
je 0x411880
cmp cx, 0x40
jne 0x4118d0
lea rcx, [0x0041f3e0]
jmp fcn.0040b270
cmp cx, 5
je 0x411870
cmp cx, 6
jne 0x4118d0
lea rcx, [0x0041f760]
jmp fcn.0040b270
cmp cx, 1
je 0x411860
test cx, cx
je 0x411850
cmp cx, 2
je 0x411840
cmp cx, 3
jne 0x4118d0
lea rcx, [0x0041f7c0]
jmp fcn.0040b270
cmp cx, 0x10
je 0x411830
jbe 0x411700
cmp cx, 0x13
je 0x411820
jbe 0x4116e0
cmp cx, 0x14
je 0x411810
cmp cx, 0x15
jne 0x4118d0
lea rcx, [0x0041f5a0]
jmp fcn.0040b270
cmp cx, 0x47
je 0x411800
jbe 0x411670
cmp cx, 0x48
je 0x4117f0
cmp cx, 0xfff
jne 0x4118d0
lea rcx, [0x0041f280]
jmp fcn.0040b270
cmp cx, 0x1b
je 0x4117e0
jbe 0x4116b0
cmp cx, 0x1e
je 0x4117d0
jbe 0x411690
cmp cx, 0x1f
je 0x4117c0
cmp cx, 0x24
jne 0x4118d0
lea rcx, [0x0041f440]
jmp fcn.0040b270
cmp cx, 0x45
je 0x4117b0
cmp cx, 0x46
jne 0x4118d0
lea rcx, [0x0041f2e0]
jmp fcn.0040b270
cmp cx, 0x1c
je 0x4117a0
cmp cx, 0x1d
jne 0x4118d0
lea rcx, [0x0041f4a0]
jmp fcn.0040b270
cmp cx, 0x18
je 0x411790
jb 0x411780
cmp cx, 0x19
je 0x411770
cmp cx, 0x1a
jne 0x4118d0
lea rcx, [0x0041f500]
jmp fcn.0040b270
cmp cx, 0x11
je 0x411760
cmp cx, 0x12
jne 0x4118d0
lea rcx, [0x0041f600]
jmp fcn.0040b270
cmp cx, 0xc
je 0x411750
jb 0x411740
cmp cx, 0xd
je 0x411730
cmp cx, 0xe
jne 0x4118d0
lea rcx, [0x0041f660]
jmp fcn.0040b270
lea rcx, [0x0041f580]
jmp fcn.0040b270
lea rcx, [0x0041f680]
jmp fcn.0040b270
lea rcx, [0x0041f6c0]
jmp fcn.0040b270
lea rcx, [0x0041f6a0]
jmp fcn.0040b270
lea rcx, [0x0041f620]
jmp fcn.0040b270
lea rcx, [0x0041f520]
jmp fcn.0040b270
lea rcx, [0x0041f560]
jmp fcn.0040b270
lea rcx, [0x0041f540]
jmp fcn.0040b270
lea rcx, [0x0041f4c0]
jmp fcn.0040b270
lea rcx, [0x0041f300]
jmp fcn.0040b270
lea rcx, [0x0041f460]
jmp fcn.0040b270
lea rcx, [0x0041f480]
jmp fcn.0040b270
lea rcx, [0x0041f4e0]
jmp fcn.0040b270
lea rcx, [0x0041f2a0]
jmp fcn.0040b270
lea rcx, [0x0041f2c0]
jmp fcn.0040b270
lea rcx, [0x0041f5c0]
jmp fcn.0040b270
lea rcx, [0x0041f5e0]
jmp fcn.0040b270
lea rcx, [0x0041f640]
jmp fcn.0040b270
lea rcx, [0x0041f7e0]
jmp fcn.0040b270
lea rcx, [0x0041f820]
jmp fcn.0040b270
lea rcx, [0x0041f800]
jmp fcn.0040b270
lea rcx, [0x0041f780]
jmp fcn.0040b270
lea rcx, [0x0041f400]
jmp fcn.0040b270
lea rcx, [0x0041f720]
jmp fcn.0040b270
lea rcx, [0x0041f740]
jmp fcn.0040b270
lea rcx, [0x0041f7a0]
jmp fcn.0040b270
lea rcx, [0x0041f6e0]
jmp fcn.0040b270
lea rcx, [0x0041f8e0]
jmp fcn.0040b270
lea rcx, [0x0041f3a0]
jmp fcn.0040b270
lea rcx, [0x0041f3c0]
jmp fcn.0040b270
lea rcx, [0x0041f340]
jmp fcn.0040b270
lea rcx, [0x0041f420]
jmp fcn.0040b270
Function at 0x413050
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040b270
test rax, rax
je 0x4130aa
mov r9, qword [rax]
test r9, r9
jle 0x4130aa
mov r8, rax
add r9, rbx
sub r8, rbx
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x413073
add rsp, 0x20
pop rbx
ret

Function at 0x4130b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040b270
test rax, rax
je 0x41325d
mov r10, qword [rax]
test r10, r10
jle 0x41325d
mov r11, rbx
mov r9, rbx
mov rdx, rbx
lea rcx, [r10 - 1]
sar r11, 8
sar r9, 0x10
sar rdx, 0x18
cmp rcx, 0xe
jbe 0x413263
movd xmm1, r9d
movd xmm0, r11d
mov r8, r10
punpcklbw xmm1, xmm1
punpcklbw xmm0, xmm0
punpcklwd xmm1, xmm1
punpcklwd xmm0, xmm0
pshufd xmm2, xmm1, 0
and r8, 0xfffffffffffffff0
pshufd xmm1, xmm0, 0
movd xmm0, ebx
pxor xmm1, xmm2
punpcklbw xmm0, xmm0
mov rcx, rax
punpcklwd xmm0, xmm0
add r8, rax
pshufd xmm2, xmm0, 0
movd xmm0, edx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pxor xmm0, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
add rcx, 0x10
pxor xmm0, xmm1
movups xmmword [rcx], xmm0
cmp rcx, r8
jne 0x413154
mov rcx, r10
and rcx, 0xfffffffffffffff0
cmp rcx, r10
je 0x41325d
lea r8, [rcx + 1]
xor r9d, r11d
xor r9d, ebx
xor edx, r9d
xor byte [rax + rcx + 0x10], dl
cmp r8, r10
jge 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 2]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 3]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 4]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 5]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 6]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 7]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 8]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 9]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xa]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xb]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xc]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
lea r8, [rcx + 0xd]
cmp r10, r8
jle 0x41325d
xor byte [rax + r8 + 0x10], dl
add rcx, 0xe
cmp r10, rcx
jle 0x41325d
xor byte [rax + rcx + 0x10], dl
add rsp, 0x20
pop rbx
ret
xor ecx, ecx
jmp 0x413179
Function at 0x415d50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
lea r12, [0x004219e0]
lea rdi, [rsp + 0x30]
mov rsi, rcx
mov r14d, edx
lea rcx, [0x00421a20]
mov edx, 0x4c95ec4e
call fcn.00413050
mov edx, 0x4c95ec4e
mov rcx, rax
call fcn.00415040
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbp, qword [rax + 0x20]
lea r13, [rax + 0x20]
movzx eax, word [rsi]
mov qword [rsp + 0x30], rsi
mov rdx, rsi
test ax, ax
je 0x415ddc
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x415dc2
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rdi
call fcn.004129f0
mov rdx, qword [rsp + 0x30]
movzx eax, word [rdx]
test ax, ax
jne 0x415db3
mov rbx, qword [rbp + 0x50]
mov qword [rsp + 0x30], rbx
movzx eax, word [rbx]
test ax, ax
je 0x415e19
mov rdx, rbx
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x415dff
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rdi
call fcn.004129f0
mov rdx, qword [rsp + 0x30]
movzx eax, word [rdx]
test ax, ax
jne 0x415df0
mov rdx, rbx
mov rcx, rsi
call fcn.00415c50
mov edx, 0x394750ce
mov rcx, r12
mov rbx, rax
call fcn.00413050
mov edx, 0x394750ce
mov rcx, rax
call fcn.00415040
test rbx, rbx
je 0x415ef4
mov rbp, qword [rbp]
cmp r13, rbp
jne 0x415da3
test r14d, r14d
je 0x415f10
lea rcx, [0x004218e0]
mov edx, 0x305e506e
call fcn.00413050
lea rbx, [rsp + 0x30]
mov edx, 0x305e506e
mov rcx, rax
call fcn.00415040
mov rcx, rbx
mov rdx, rsi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x004a5a08]
mov r8, rbx
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x004a5c58]
mov edx, 0x12789d2a
lea rcx, [0x004218a0]
mov ebx, eax
call fcn.00413050
mov edx, 0x12789d2a
mov rcx, rax
call fcn.00415040
test ebx, ebx
jne 0x415f2e
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [rbp + 0x20]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rcx, [0x004219a0]
mov edx, 0x7944344a
call fcn.00413050
mov edx, 0x7944344a
mov rcx, rax
call fcn.00415040
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x415f40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x38
lea rcx, [0x00421a20]
mov edx, 0x4c95ec4e
call fcn.00413050
mov edx, 0x4c95ec4e
mov rcx, rax
call fcn.00415040
xor eax, eax
mov rdx, qword gs:[0x60]
cmp byte [rdx + 2], 0
jne 0x415f80
add rsp, 0x38
ret
lea rcx, [0x00421860]
mov edx, 0x75959e8a
mov qword [rsp + 0x28], 0
call fcn.00413050
lea rcx, [rsp + 0x28]
mov edx, 1
mov qword [rsp + 0x28], rax
call fcn.004025d0
mov eax, 1
add rsp, 0x38
ret
Function at 0x4168d0
Capabilities:
Parse pe header

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r12, qword [0x0048c860]
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x20]
mov r13, rdx
mov rdi, qword [rax]
lea rbp, [rdi - 0x10]
mov rbx, rbp
mov rsi, qword [rbx + 0x50]
mov rcx, rsi
call qword [r12]
mov rcx, rsi
movsxd rdx, eax
call fcn.0040c770
test rax, rax
mov rsi, rax
je 0x416975
cmp qword [rax], 0
je 0x416975
xor ecx, ecx
call fcn.0040dbf0
mov rdx, rsi
mov rcx, rax
call fcn.0040c2b0
test al, al
jne 0x416975
mov rcx, qword [rbx + 0x30]
cmp word [rcx], 0x5a4d
je 0x416950
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x41693d
movsxd rdx, dword [rax + 0x88]
mov r8, r13
add rdx, rcx
call fcn.004166f0
test al, al
jne 0x41693f
mov rdi, qword [rdi]
lea rbx, [rdi - 0x10]
cmp rbp, rbx
jne 0x4168f8
jmp 0x41693d

Function at 0x416990
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rdx, rcx
call fcn.00416660
mov rcx, rax
add rsp, 0x28
jmp fcn.004168d0
Function at 0x41ad80
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00492c84]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x41af08
mov rax, qword [0x00492c88]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x41adcc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x41ae55
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x41adb0
mov rcx, rbx
call fcn.0041ba20
test rax, rax
mov r12, rax
je 0x41af3d
mov rax, qword [0x00492c88]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.0041bb50
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00492c88]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x41af20
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x41ae4e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x41aeb0
add dword [0x00492c84], 1
cmp edi, 8
jae 0x41ae83
test dil, 4
jne 0x41aef4
test edi, edi
je 0x41ae78
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x41af0f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x41ae78
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x41ae9c
jmp 0x41ae78
add rsi, qword [0x00492c88]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x41ae4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0041bfd0
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x41ae78
xor esi, esi
jmp 0x41add7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x41ae78
mov rax, qword [0x00492c88]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.0041bfd0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.0041bfd0
nop
nop dword [rax]

Function at 0x41b690
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00492f60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00492f40]
test rbx, rbx
je 0x41b6e4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x41b6db
test rsi, rsi
je 0x41b6db
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x41b6c0
lea rcx, [0x00492f60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x41ba20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0048cce0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x41ba8d
mov rcx, r8
call fcn.0041b900
test eax, eax
je 0x41ba8d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x41ba8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x41ba84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x41ba8f
add rax, 0x28
cmp rax, r9
jne 0x41ba70
xor eax, eax
add rsp, 0x28
ret

Function at 0x41bfd0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.0041be40
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.0041be40
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140001790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, r9
mov r14, r8
mov r12d, edx
mov r15, rcx
mov dword [rbp - 0x20], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x140001971
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor esi, esi
mov qword [rbp - 8], rsi
mov byte [rbp + 0x30], sil
mov al, byte [rcx + 0x5c]
neg al
sbb rdx, rdx
and edx, 4
cmp r8, 0x7e
sbb rax, rax
not rax
and eax, 2
add rdx, rax
cmp r8, 0x10000
sbb rax, rax
and rax, 0xfffffffffffffffa
add rax, 8
add rdx, rax
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.1400023d4
mov dl, 0x80
or r12b, dl
mov rdi, qword [rbp - 0x18]
mov byte [rdi], r12b
mov al, byte [r15 + 0x5c]
cmp r14, 0x7e
jae 0x14000184d
neg al
sbb al, al
and al, dl
or al, r14b
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x1400018d9
mov dword [rdi + 2], 0x78563412
jmp 0x1400018d9
mov rcx, r14
shr rcx, 8
cmp r14, 0x10000
jae 0x14000187e
neg al
sbb al, al
and al, dl
add al, 0x7e
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], r14b
cmp byte [r15 + 0x5c], sil
je 0x1400018d9
mov dword [rdi + 4], 0x78563412
jmp 0x1400018d9
neg al
sbb al, al
and al, dl
add al, 0x7f
mov byte [rdi + 1], al
mov rax, r14
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, r14
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, r14
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, r14
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, r14
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, r14
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], r14b
cmp byte [r15 + 0x5c], sil
je 0x1400018d9
mov dword [rdi + 0xa], 0x78563412
lea r12, [r15 + 0x20]
mov r9, qword [rbp - 0x10]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
mov rcx, r12
call fcn.1400013bc
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.1400013bc
cmp byte [r15 + 0x5c], sil
je 0x140001941
mov r8, qword [r12 + 8]
sub r8, qword [r12]
sub r8, r14
test r14, r14
je 0x140001941
mov rdx, qword [r12]
add rdx, rsi
mov cl, byte [rdx + r8]
mov rax, rsi
and eax, 3
xor cl, byte [rbp + rax - 0x20]
mov byte [rdx + r8], cl
inc rsi
cmp rsi, r14
jne 0x140001920
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001969
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000198a
mov rcx, rdi
call fcn.14001f934
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14002674c
int3
Function at 0x140002c04
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
lea r8, [0x1400465a0]
mov rbx, rcx
mov r9d, edx
movups xmmword [rsp + 0x48], xmm0
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
lea edx, [rdi + 0x11]
movups xmmword [rsp + 0x68], xmm0
call fcn.1400016d8
cmp qword [rbx + 0x18], 0xf
jbe 0x140002c65
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140002cd1
and qword [rsp + 0x30], 0
lea rbx, [0x14007d7e0]
mov r9d, 0x400
mov r8d, eax
mov dword [rsp + 0x28], r9d
xor edx, edx
mov ecx, 0x12ff
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, 2
call fcn.1400268e4
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
mov rcx, rax
call fcn.1400032b8
mov eax, 1
jmp 0x140002d31
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002d25
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002d17
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002d20
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140002cdb
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14001fe10
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x140019f64
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rdx
mov r14, r8
mov edx, dword [rcx + 0x10]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a042
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x234
call fcn.140044630
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Module32First
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x14001a042
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140019ff6
movups xmm0, xmmword [r14]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
movdqa xmmword [rsp + 0x50], xmm1
movdqu xmmword [rsp + 0x40], xmm0
call fcn.140013594
test al, al
jne 0x14001a070
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140019fee
mov byte [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001fe10
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2b0
pop r14
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x78]
mov qword [rbx], rax
mov eax, dword [rbp - 0x80]
mov byte [rbx + 8], 1
mov qword [rbx + 0x10], rax
mov byte [rbx + 0x18], 1
jmp 0x14001a04a

Function at 0x14001b264
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov rsi, r8
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001b313
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
call fcn.140044630
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rdi
call sub.KERNEL32.dll_Process32First
jmp 0x14001b2f9
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14001b2d3
movups xmm1, xmmword [rsi]
cmp r8, qword [rsi + 8]
jne 0x14001b2f9
movq rdx, xmm1
lea rcx, [rsp + 0x4c]
call fcn.140044a70
test eax, eax
je 0x14001b33f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14001b2ca
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbx + 4], 0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001fe10
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov dword [rbx], eax
mov byte [rbx + 4], 1
jmp 0x14001b317
Function at 0x14001c0ac
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rbx, rcx
cmp qword [rcx + 0x10], rdx
jbe 0x14001c0fc
xor ecx, ecx
cmp qword [rbx + 0x18], 0xf
mov rax, rbx
jbe 0x14001c0d8
mov rax, qword [rbx]
movsx rax, byte [rcx + rax]
inc edx
xor rdi, rax
movabs r8, 0x100000001b3
imul rdi, r8
inc rcx
movsxd rax, edx
cmp rax, qword [rbx + 0x10]
jb 0x14001c0cb
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14001c132
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001c12d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c150
mov rcx, r8
call fcn.14001f934
and qword [rbx + 0x10], 0
mov rax, rdi
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call fcn.14002674c
int3
Function at 0x14001f008
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001f042
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001f047
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001f090
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004d100]
cmp byte [rcx + rax], 0
je 0x14001f090
dec r8
sub rdx, 1
jne 0x14001f076
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400206a8
Capabilities:
Parse pe header

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

Function at 0x140030fc4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140030dc0