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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1c0]
add rdx, 0x628
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x1400f8d18
cmp qword [rdx + 0xb8], 0
je 0x1400f8d18
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea r8, str.REST__d
call fcn.1401162c0
mov edi, eax
test eax, eax
jne 0x1400f8d0d
mov dl, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call fcn.1400f7010
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400f8860

Function at 0x1400f91e0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x20]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x1400f9222
lea rdx, str.Couldnt_set_desired_mode
call fcn.1400d1b50
mov eax, reloc.WS2_32.dll_recvfrom
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp edx, 0xc8
je 0x1400f9239
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.1400d1c40
cmp sil, 0x13
jne 0x1400f9256
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
jmp fcn.1400f8ef0
cmp sil, 0x14
jne 0x1400f939a
cmp byte [rbx + 0x6f8], 2
mov qword [rsp + 0x58], r14
mov r14, qword [rbx + 0x20]
jne 0x1400f92dd
mov rax, qword [rbx + 0x1c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400f92dd
xor r9d, r9d
mov qword [rsp + 0x50], rdi
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.1400d9d90
mov esi, eax
test eax, eax
jne 0x1400f9386
mov rcx, qword [rsp + 0x50]
mov edx, Ordinal_50
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400f92d2
mov rdi, qword [rsp + 0x50]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], sil
jmp 0x1400f92dd
mov rcx, qword [rsp + 0x50]
call qword [case.0x1400c4e65.0]
mov rdx, qword [rbx + 0x800]
test rdx, rdx
jne 0x1400f9302
cmp byte [rbx + 0x1299], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1401520d9]
test rdi, rdi
mov r9, r8
lea rax, [0x14015eb2c]
cmovne r9, rdi
lea rcx, [0x140128364]
cmovne r8, rax
call fcn.1400d7ef0
mov rcx, rdi
mov rbp, rax
call qword [case.0x1400c4e65.0]
test rbp, rbp
jne 0x1400f9354
mov r14, qword [rsp + 0x58]
mov esi, reloc.WLDAP32.dll_Ordinal_27
mov eax, esi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rdx, [r14 + 0x628]
mov r9, rbp
lea r8, [0x14015e99c]
mov rcx, rbx
call fcn.1401162c0
mov rcx, rbp
mov esi, eax
call qword [case.0x1400c4e65.0]
test esi, esi
jne 0x1400f9386
mov dl, Ordinal_32
mov rcx, rbx
call fcn.1400f7010
mov r14, qword [rsp + 0x58]
mov eax, esi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp sil, 0x15
jne 0x1400f93a5
mov r8b, reloc.WS2_32.dll_listen
jmp 0x1400f93ae
cmp sil, 0x16
jne 0x1400f93ba
mov r8b, ntohs
mov dl, 1
mov rcx, rbx
call fcn.1400f8a20
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140104dc0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1401b55e0]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140104e28
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.14010cc80
test al, al
je 0x140104e1c
mov dword [0x1401b55e0], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1401b55e0], 1
jmp 0x140104e2d
cmp eax, 2
je 0x140104e7f
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140104e5e
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x140104e7f
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret

Function at 0x140105a10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x150
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [rcx]
mov rsi, r9
mov rdi, rcx
mov rbp, r8
mov r14, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [r14 + 0x98]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x140105ab3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140105a77
mov dword [rsi], 0x51
jmp 0x140105aac
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, ebx
call fcn.1400b99d0
mov rcx, qword [rdi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.1400d1b50
mov rax, qword [rdi + 8]
mov dword [rax + 0xc8c], ebx
mov dword [rsi], gethostname
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, str.nw_in_read_len_zu__fd_qd______d__err_d
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x30], edx
mov rdx, qword [r14 + 0x98]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdi]
call fcn.1400d1c90
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14011ab50
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140105b00
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
mov rsi, rdx
mov r9, qword [rbx + 0x98]
cmp r9, 0xffffffffffffffff
je 0x140105c4e
mov rax, qword [rdx + 0x20]
mov rcx, qword [rax + 0x360]
test dword [rcx + 0x8c], 0x800
jne 0x140105c4e
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
mov rcx, r9
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140105bde
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1400b99d0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1400d1b50
mov eax, 2
jmp 0x140105c50
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x140]
lea r8, [rbx + 0x10e]
lea rcx, [rsp + 0x30]
call fcn.1400d4320
test al, al
jne 0x140105c4e
mov qword [rsp + 0x1e0], rdi
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1400b99d0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1400d1b50
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x140105c50
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14011ab50
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x140117950
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x14011798b
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140117989
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140118ec0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140118f03
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x140118f50
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x140118fb2
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x140118f70
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x140118ff1
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140134c69]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140134c6a]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x140118fc0
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x1401191e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, Ordinal_27
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14011922c
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401192ff
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140119270
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1401192ff
mov rcx, rbp
call fcn.1400d57b0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1401192db
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401192eb
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401192fd
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14011ab50
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14011a0c0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14011a125
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x14011a0d0
ret
Function at 0x14011a130
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14011a1b3
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14011a1d5
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14011ab50
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.1400d57b0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov edx, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x14011a234
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14011a244
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14011a256
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x14011a1b8

Function at 0x14011a530
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 0x14011a56a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011a56f
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 0x14011a5b8
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 0x14011a5b8
dec r8
sub rdx, 1
jne 0x14011a59e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14011bbb0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa4f40]
mov eax, 0xa5040
call fcn.140003c60
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xa4f30], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x57fd
mov dword [rsp + 0x70], 0x57fd
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x7f]
mov r8d, 0xa4fa5
call sub.VCRUNTIME140.dll_memset
mov r9d, ebx
lea r10, [rbp - 0x80]
mov r8d, r9d
lea r10, [r10 + 1]
shr r8d, 6
mov eax, r9d
shr eax, 0xd
movzx edx, r9b
and al, r9b
mov ecx, r8d
and ecx, 3
shl dl, cl
mov ecx, r9d
xor dl, al
shr ecx, 9
and cl, r9b
and dl, 0x7f
mov eax, r9d
shr eax, 1
xor dl, al
mov eax, r9d
shr eax, 0xc
inc r9d
xor cl, al
xor cl, r8b
or dl, cl
mov byte [r10 - 1], dl
cmp r9d, 0xa4fa6
jb 0x1400022c1
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0xa4fa6
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0xa4f30]
xor rcx, rsp
call fcn.140002e50
mov rbx, qword [rsp + 0xa5050]
add rsp, 0xa5040
pop rbp
ret
Function at 0x140002bb0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov r9d, 0x34
lea r8, str.GIGLEDYNISIDE___MALWARE_WARNING
lea rdx, str.FIRST_WARNING__YOU_RUNS_DESTRUCTIVE_TROJAN__GIGLEDYNISIDE___If_you_continue_it_will_cause_permanent_damage_to_your_PC__if_you_can_still_exi_clicking__NO__or_runing_this_trojan_clicking_YES___CREATORS_THIS_TROJAN_NO_RESPONSIBLE_FOR_ANY_DAMAGES_AND_DAMAGES_SYSTEM__RUNING_THIS_TROJAN_ONLY_VM__THIS_IS_SOFTWARE_DESTROY_MBR_____TROJAN_MADE_ONLY_FOR_ENTERTAINMENT_PURPOSES.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x140002e30
mov r9d, 0x34
lea r8, str.GIGLEDYNISIDE___MALWARE_WARNING____FINAL_WARNING___
lea rdx, str.THIS_IS_LAST_WARNING_MALWARE_GIGLEDYNISIDE_DESTROY_YOUR_COMPUTER___
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x140002e30
call section..text
call section..text
call section..text
call section..text
call section..text
call section..text
call section..text
call section..text
call section..text
call section..text
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
call fcn.140001430
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
call fcn.140001590
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
call fcn.1400019c0
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
call fcn.140001c00
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
call fcn.140001fb0
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
call fcn.140002230
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
call fcn.1400023b0
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
call fcn.1400028d0
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x28
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140003718
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r13
push r15
mov eax, 0x1070
call fcn.14008abe0
sub rsp, rax
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r15, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
je 0x140081c4b
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.1400800b0
test al, al
jne 0x140081c53
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_read_module_headers
call fcn.140083ab0
lea rdx, [0x140083c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, rbp
jmp 0x140081d74
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r12
mov qword [rsp + 0x1050], r14
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x140081c81
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r12, rax
cmp bp, r14w
jae 0x140081d26
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140081cee
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140081ce0
cmp rdi, rax
je 0x140081cfe
inc esi
cmp esi, r14d
jae 0x140081d26
lea rdx, str.PAGE
jmp 0x140081cc0
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140081d26
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x40]
add rcx, rax
je 0x140081d26
test edx, edx
je 0x140081d26
lea rax, [rsp + 0x40]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r15]
jmp 0x140081d4c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_find_section
call fcn.140083ab0
lea rdx, [0x140083c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r12, qword [rsp + 0x1058]
mov r14, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140081a50
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140089a20
add rsp, 0x1070
pop r15
pop r13
pop rbp
ret