joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400652d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0x9c0]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140065365
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400653c6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14003f050
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14007a6c0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140065481
sub ecx, 1
je 0x1400654f4
sub ecx, 1
je 0x140065430
cmp ecx, 1
je 0x140065413
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140085890]
call fcn.14003f050
jmp 0x1400654f4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140065000
test eax, eax
je 0x1400654f4
jmp 0x14006539a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400654f4
sub rax, rsi
cmp rax, rbp
jae 0x1400654f4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14003f1d0
jmp 0x1400654f4
cmp r8d, 4
jle 0x1400654f4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400654f4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14003ef70
mov esi, eax
test eax, eax
je 0x1400654d3
mov edx, 5
mov rcx, rbx
call fcn.140065fc0
mov eax, esi
jmp 0x14006539a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14004c860
mov rcx, r14
call fcn.14004cb40
test eax, eax
je 0x140065398
mov edx, 5
mov rcx, rbx
call fcn.140065fc0
mov eax, Ordinal_46
jmp 0x14006539a
Function at 0x1400795b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x1400795f2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140079639
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140079692
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140079650
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400796d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008cb9b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008cb9c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400796a0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14007a57c
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 0x14007a5b6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007a5bb
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 0x14007a604
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14007a604
dec r8
sub rdx, 1
jne 0x14007a5ea
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007b4ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007b536
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007b536
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007b536
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007b536
cmp dword [rcx + 0x84], 0xe
jbe 0x14007b536
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007b538
xor al, al
add rsp, 0x28
ret
Function at 0x14000106e
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140003ce4
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
lea rcx, [0x140013125]
call fcn.14000155a
nop
xor eax, eax
test eax, eax
je 0x140003d15
movsx eax, byte [rbp + 0x68]
or eax, 0x20
mov dword [rbp + 0x40], eax
jmp 0x140003d1c
movsx eax, byte [rbp + 0x68]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x60]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x140001078
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x140004c84
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x30]
lea rcx, [0x140013126]
call fcn.14000155a
nop
mov dword [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x20], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140004cf6
xor eax, eax
jmp 0x140004e89
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140004d3b
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor eax, eax
jmp 0x140004e89
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x18]
mov edx, 0x20000005
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
mov byte [rbp + 0x81], 0
lea rcx, [rbp + 0x80]
call fcn.140001131
mov ecx, dword [rbp + 0x18]
inc ecx
mov ecx, ecx
mov r9, rax
lea r8, [rbp + 0x81]
mov edx, ecx
lea rcx, [rbp + 0x28]
call fcn.1400010eb
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140001113
lea r9, [rbp + 0x10]
mov r8d, dword [rbp + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140004db5
jmp 0x140004e4e
cmp dword [rbp + 0x10], 0
jbe 0x140004e4e
mov eax, dword [rbp + 0x10]
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.140001113
mov byte [rax], 0
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov eax, eax
mov edx, eax
mov rcx, qword [rbp + 0xd8]
call fcn.1400012e4
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140001113
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140001276
nop
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov dword [rbp + 0xb0], eax
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call fcn.140001546
mov ecx, dword [rbp + 0xb0]
mov r8d, ecx
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140001325
nop
lea rcx, [rbp + 0x88]
call fcn.1400010d2
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov eax, eax
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x28]
call fcn.1400014ec
mov rax, qword [rbp + 0xa8]
lea rsp, [rbp + 0xc0]
pop rbp
ret
Function at 0x1400011d6
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x140005d18
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea rcx, [0x140013126]
call fcn.14000155a
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 8], eax
mov rcx, qword [rbp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 8], eax
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x14000121c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400075f4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140007681
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140007681
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007681
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140007668
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140007662
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000766a
add rdx, 0x28
jmp 0x140007647
xor edx, edx
test rdx, rdx
jne 0x140007673
xor al, al
jmp 0x140007687
cmp dword [rdx + 0x24], 0
jge 0x14000767d
xor al, al
jmp 0x140007687
mov al, 1
jmp 0x140007687
xor al, al
jmp 0x140007687
add rsp, 0x18
ret
Function at 0x1400013b1
Capabilities:
Terminate process

Disassembly:
jmp 0x140007190
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000159b
test al, al
je 0x14000705b
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400014b5
mov bl, al
mov ecx, dword [0x14000f470]
cmp ecx, 1
je 0x140007066
test ecx, ecx
jne 0x140006f91
mov dword [0x14000f470], 1
lea rdx, [0x14000c660]
lea rcx, [0x14000c330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x140006f72
mov eax, 0xff
jmp 0x14000704b
lea rdx, [0x14000c220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x14000f470], 2
jmp 0x140006f99
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140001474
call fcn.1400013e3
mov rbx, rax
cmp qword [rax], 0
je 0x140006fcc
mov rcx, rax
call fcn.14000121c
test al, al
je 0x140006fcc
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140014020]
call fcn.140001429
mov rbx, rax
cmp qword [rax], 0
je 0x140006fee
mov rcx, rax
call fcn.14000121c
test al, al
je 0x140006fee
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000139d
mov ebx, eax
call fcn.1400013bb
test al, al
je 0x140007070
test sil, sil
jne 0x140007025
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400011ef
mov eax, ebx
jmp 0x14000704b
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001483
nop
mov ecx, 7
call fcn.140001483
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400013ca
add rsp, 0x28
jmp 0x140006f04

Function at 0x1400013bb
Capabilities:
Parse pe header

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

Function at 0x140003ce4
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140003ce4
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
lea rcx, [0x140013125]
call fcn.14000155a
nop
xor eax, eax
test eax, eax
je 0x140003d15
movsx eax, byte [rbp + 0x68]
or eax, 0x20
mov dword [rbp + 0x40], eax
jmp 0x140003d1c
movsx eax, byte [rbp + 0x68]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x60]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x140004c84
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
jmp 0x140004c84
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x30]
lea rcx, [0x140013126]
call fcn.14000155a
nop
mov dword [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x20], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140004cf6
xor eax, eax
jmp 0x140004e89
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140004d3b
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor eax, eax
jmp 0x140004e89
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x18]
mov edx, 0x20000005
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
mov byte [rbp + 0x81], 0
lea rcx, [rbp + 0x80]
call fcn.140001131
mov ecx, dword [rbp + 0x18]
inc ecx
mov ecx, ecx
mov r9, rax
lea r8, [rbp + 0x81]
mov edx, ecx
lea rcx, [rbp + 0x28]
call fcn.1400010eb
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140001113
lea r9, [rbp + 0x10]
mov r8d, dword [rbp + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140004db5
jmp 0x140004e4e
cmp dword [rbp + 0x10], 0
jbe 0x140004e4e
mov eax, dword [rbp + 0x10]
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.140001113
mov byte [rax], 0
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov eax, eax
mov edx, eax
mov rcx, qword [rbp + 0xd8]
call fcn.1400012e4
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140001113
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140001276
nop
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov dword [rbp + 0xb0], eax
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call fcn.140001546
mov ecx, dword [rbp + 0xb0]
mov r8d, ecx
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140001325
nop
lea rcx, [rbp + 0x88]
call fcn.1400010d2
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov eax, eax
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x28]
call fcn.1400014ec
mov rax, qword [rbp + 0xa8]
lea rsp, [rbp + 0xc0]
pop rbp
ret
Function at 0x140005d18
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x140005d18
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea rcx, [0x140013126]
call fcn.14000155a
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 8], eax
mov rcx, qword [rbp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 8], eax
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x140007bb0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140013660
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400149a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400149c0
xor al, al
jmp 0x140014a41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400149d3
xor al, al
jmp 0x140014a41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400149fd
xor al, al
jmp 0x140014a41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014a11
xor al, al
jmp 0x140014a41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014a23
xor al, al
jmp 0x140014a41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014a3f
xor al, al
jmp 0x140014a41
mov al, 1
add rsp, 0x38
ret
Function at 0x14000b590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x160
mov dword [0x1400f5ae4], 1
mov ecx, 0x2710
call fcn.140014550
call fcn.1400bca00
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x38], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x38], WSAStartup
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x38], WSASetLastError
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x38], WSASetLastError
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x38], 0x2e
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x38], 0x64
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x38], 0x65
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x38], 0x33
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x38], 0x65
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x38], WSAGetLastError
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x38], WSASetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x38], 0x32
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x38], WSASetLastError
call fcn.1400bace0
call fcn.1400c0e00
mov edx, 0xffffffff
lea rcx, [0x1400f5b40]
call fcn.14001db10
mov rcx, rax
call fcn.140005e70
mov edx, 0xffffffff
lea rcx, [0x1400f5b40]
call fcn.14001e1b0
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.1400c75d0
test eax, eax
je 0x14000b6eb
mov dword [rsp + 0x20], 0
mov r9d, 0x20
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140096b2c
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x30], 3
jge 0x14000b75a
cmp qword [0x1400f5b18], 0
jne 0x14000b75a
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140008a30]
xor edx, edx
xor ecx, ecx
call fcn.140011f60
mov qword [0x1400f5b18], rax
cmp qword [0x1400f5b18], 0
je 0x14000b744
jmp 0x14000b75a
mov ecx, 0xbb8
call fcn.140014550
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x14000b6fb
mov eax, 1
add rsp, 0x160
pop rdi
ret

Function at 0x14000b970
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp], 0xffffffff
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x14000ba03
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov dword [rsp + 8], 7
jmp 0x14000b9ce
mov eax, dword [rsp + 8]
dec eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0
jl 0x14000b9f7
mov eax, dword [rsp]
and eax, 1
neg eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp]
shr eax, 1
mov ecx, dword [rsp + 0x10]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp], eax
jmp 0x14000b9c4
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x14000b988
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret