joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013def0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.140150d80
sub rsp, rax
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
mov edi, ebx
call fcn.1400f49b0
test eax, eax
jne 0x14013df7b
lea rcx, str.RANDFILE
call fcn.140151688
mov rdi, rax
test rax, rax
je 0x14013df7b
cmp byte [rax], bl
je 0x14013df7b
mov rdx, rax
mov ecx, ebx
nop dword [rax]
cmp ecx, 0x80000000
jae 0x14013df51
inc rdx
inc ecx
cmp byte [rdx], bl
jne 0x14013df40
btr ecx, 0x1f
lea eax, [rcx + 1]
cmp rax, rbp
jae 0x14013df7b
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call fcn.14004f220
cmp rax, rbp
jb 0x14013e028
xor eax, eax
jmp 0x14013e02b
call fcn.1400f49b0
test eax, eax
jne 0x14013df93
lea rcx, str.HOME
call fcn.140151688
mov rdi, rax
test rdi, rdi
lea rdx, [0x14021fb64]
cmovne rdx, rdi
cmp byte [rdx], bl
je 0x14013e025
mov rcx, rdx
mov eax, ebx
nop
cmp eax, 0x80000000
jae 0x14013dfc0
inc rcx
inc eax
cmp byte [rcx], bl
jne 0x14013dfb0
cmp byte [reloc.WLDAP32.dll_Ordinal_46], bl
lea rcx, [0x14021fb68]
je 0x14013dfe2
nop
cmp ebx, 0x80000000
jae 0x14013dfe2
inc rcx
inc ebx
cmp byte [rcx], 0
jne 0x14013dfd0
btr eax, 0x1f
btr ebx, 0x1f
lea ecx, [rax + 2]
add ecx, ebx
cmp rcx, rbp
jae 0x14013e025
mov r8, rbp
mov rcx, rsi
call fcn.14004f220
lea rdx, [0x14021fb70]
mov r8, rbp
mov rcx, rsi
call fcn.14004f1a0
lea rdx, str..rnd
mov r8, rbp
mov rcx, rsi
call fcn.14004f1a0
jmp 0x14013e028
mov byte [rsi], 0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14013e040
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
mov eax, 0x460
call fcn.140150d80
sub rsp, rax
mov rax, qword [0x1402274c0]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov ebx, edx
mov rdi, rcx
test rcx, rcx
jne 0x14013e076
xor eax, eax
jmp 0x14013e134
lea rdx, [rsp + 0x20]
call fcn.140156710
test eax, eax
js 0x14013e06f
xorps xmm2, xmm2
lea rcx, [rsp + 0x20]
mov edx, Ordinal_50
call fcn.14005f710
test ebx, ebx
je 0x14013e06f
lea rdx, [0x14021fb7c]
mov rcx, rdi
mov qword [rsp + 0x498], r14
call fcn.1401541a4
mov r14, rax
test rax, rax
je 0x14013e12a
mov qword [rsp + 0x490], rsi
mov edi, 0x400
test ebx, ebx
jle 0x14013e0cf
cmp ebx, edi
cmovl edi, ebx
lea rcx, [rsp + 0x50]
movsxd r8, edi
mov r9, r14
mov edx, 1
call fcn.1401543d0
mov rsi, rax
test eax, eax
jle 0x14013e10b
movd xmm2, esi
lea rcx, [rsp + 0x50]
mov edx, edi
cvtdq2pd xmm2, xmm2
call fcn.14005f710
add ebp, esi
test ebx, ebx
jle 0x14013e0c1
sub ebx, edi
test ebx, ebx
jg 0x14013e0c1
mov rcx, r14
call fcn.140153c8c
lea rcx, [rsp + 0x50]
mov edx, 0x400
call fcn.1400011e0
mov rsi, qword [rsp + 0x490]
mov r14, qword [rsp + 0x498]
mov eax, ebp
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140150a60
add rsp, 0x460
pop rdi
pop rbp
pop rbx
ret
Function at 0x14013ff60
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x14013ff99
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.140150dd0
test rax, rax
je 0x14013ff97
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140145000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.140150d80
sub rsp, rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
call fcn.140144ef0
test rax, rax
je 0x1401450e6
cmp dword [rsp + 0x38], 0
jg 0x1401450e6
cmp dword [rsp + 0x3c], 0
jg 0x1401450e6
mov rcx, qword [rbx + 0x88]
movzx eax, word [rcx + 0x31c]
add ax, ax
mov word [rcx + 0x31c], ax
mov rax, qword [rbx + 0x88]
cmp word [rax + 0x31c], 0x3c
jbe 0x140145070
mov ecx, reloc.WLDAP32.dll_Ordinal_60
mov word [rax + 0x31c], cx
mov rcx, rbx
call fcn.140145320
mov rcx, rbx
call fcn.1401447d0
test eax, eax
jns 0x14014508d
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x88]
inc dword [rax + 0x308]
mov rax, qword [rbx + 0x88]
cmp dword [rax + 0x308], 2
jbe 0x1401450b4
mov dword [rax + 0x308], 1
cmp dword [rbx + 0x284], 0
mov rcx, rbx
je 0x1401450d4
mov dword [rbx + 0x284], 0
add rsp, 0x20
pop rbx
jmp fcn.140131f60
call fcn.140145320
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140132d30
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140149740
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
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [fcn.1401527d8]
mov rdi, rax
test rax, rax
jne 0x140149782
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 [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401497c5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + htons]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140149821
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + htons]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + htons]
dec rbp
jne 0x1401497e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140149863
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401c439a]
mov r8d, 1
call qword [rbx + htons]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401c439b]
mov r8d, 1
call qword [rbx + htons]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140149830
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1401515d8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140151440
Function at 0x140001080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400010f5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400010f5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400010e5
nop
cmp rbx, rcx
jae 0x1400010f5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400010d0
cmp rbx, rcx
jae 0x1400010f5
cmp word [rbx], 0
je 0x1400010f5
mov rax, rbx
jmp 0x1400010f7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400083b4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140008247
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008247
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008247
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008247
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008247
cmp dword [rcx + 0x84], 0xe
jbe 0x140008247
cmp dword [rcx + 0xf8], 0
je 0x140008247
mov ecx, ebx
call fcn.1400082e8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400080d8
cmp dword [rbp + 0x20], 0
je 0x140008294
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000829c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400081e0
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004400]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004410]
mov dword [rax], 1
mov rax, qword [0x140004420]
mov dword [rax], 1
mov rax, qword [0x1400043b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400043f0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004350]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x1400018f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001960
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x140001a90
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400019ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001a35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001990
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001ab2
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001a2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a40
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001a2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400019b8
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002020
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x14000207c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002073
test rsi, rsi
je 0x140002073
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002058
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002290
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400022a8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400022b0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400022c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000230d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002304
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000230f
add rax, 0x28
cmp rax, r9
jne 0x1400022f0
xor eax, eax
ret

Function at 0x140002310
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400023a0
mov rdx, qword [0x1400043b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000238e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000238e
cmp word [rax + 0x18], 0x20b
jne 0x14000238e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400023a0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002379
add rbx, 0x28
cmp rbx, rdi
je 0x1400023a0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002370
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000242d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002424
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400023d0
add rax, 0x28
cmp rax, r9
jne 0x140002410
xor eax, eax
ret

Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000244f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002458
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000244f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002470
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002490
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002498
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002490
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400024e0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400024d7
test rcx, rcx
je 0x140002490
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400024c8
xor eax, eax
ret
Function at 0x1400024f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000250f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002518
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002550
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002558
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002550
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002550
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400025a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400025b0
add rdx, 0x28
cmp r9, rdx
jne 0x140002590
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400025e2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025f0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025e2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400025e2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400025e2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002645
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002658
add rdx, 0x28
cmp rdx, r10
jne 0x140002630
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002667
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002677
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000264e
test ecx, ecx
jg 0x140002660
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x100953d30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100953d3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100953d4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100953d35
lea eax, [rcx + 1]
jmp 0x100953d5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100953d6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100953d54
sub eax, 3
jb 0x100953d8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100953ddd
sar eax, 1
movsxd rbp, eax
jb 0x100953dc4
jmp 0x100953d9c
add ebx, ebx
jne 0x100953d9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100953dc4
inc ecx
add ebx, ebx
jne 0x100953daa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100953dc4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100953dbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100953dac
add ecx, 2
jmp 0x100953dc9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100953cf2
jmp 0x100953d3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1d65f0
mov dl, 0x33
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100953e29
cmp rsi, rcx
jae 0x100953e31
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100953e10
cmp al, 0x8f
ja 0x100953e10
cmp byte [rsi - 2], 0xf
je 0x100953e16
sub al, 0xe8
cmp al, 1
ja 0x100953dfa
cmp rsi, rcx
jae 0x100953e31
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100953e00
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100953e31
lodsb al, byte [rsi]
jmp 0x100953e10
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x950000]
mov eax, dword [rdi]
or eax, eax
je 0x100953e8e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9597f0]
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 0x100953e3e
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 0x100953e88
mov qword [rbx], rax
add rbx, 8
jmp 0x100953e5e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1af]
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
mov byte [fcn.100953f11], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100953f11
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100953f01
sub rsp, 0xffffffffffffff80
jmp 0x100002df0
Function at 0x1402d233c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp], 0xffffffff9abd0a1a
sub r11, 4
inc qword [rsp]
mov ecx, dword [r11]
jno 0x14035e551

Function at 0x1402e1068
Capabilities:
Authenticate hmac

Disassembly:
lea rbx, [r10 + rbx*2 + 0x2a318101]
mov ebx, dword [r11 + rsi*2 - 0x12]
rol ax, 1
and r10b, 0x88
not byte [rsp + rax - 0x7f97db60]
xor ebx, edi
add word [rsp + rsi*2 - 0xe], 0x2223
movsx ebp, r10b
movsx ecx, r10b
lea ebx, [rbx + rax - 0x616c404b]
ror ebx, 1
or byte [rsp + rax - 0x7f97db62], r10b
neg ebx
ror ebx, 2
or qword [rsp + rax - 0x7f97db62], rsi
shr cl, 0x25
mov qword [rsp + rsi - 9], rdi
call fcn.140305f0e
mov qword [rsp + rbx + 0x36373933], rax
dec r10b
shl bx, 0xcf
dec bl
xor r10b, 0xb4
mov qword [rsp + rbx + 0x36377f09], rsi
add r10b, 0x12
xadd qword [rsp + rbx + 0x36377f09], rcx
shl dword [rsp + rbx + 0x36377f04], cl
neg bl
rol r10b, 1
ror word [rsp + rbx*2 + 0x6c6f0000], 0xe8
jae 0x1403318b3
jmp 0x14034a71c
mov eax, 0x183ec5ab
mov rax, qword [rax + rbp - 0x183ec5ab]
call fcn.140366937
mov r10d, ebp
mov bp, word [r8 + 2]
movsx eax, r10w
add r8, 2
and bx, bp
xor rax, r10
not bx
call fcn.140338b9f
xor dil, r10b
call fcn.140369b4c
jbe 0x140399378
mov bx, word [r8]
mov dx, word [r8 + 2]
mov eax, 0x7f976d21
movsx esi, ax
lea r8, [rax + r8 - 0x7f976d1f]
movsx r10d, sil
and esi, r10d
push rsi
not bx
ror sil, 0x41
not dx
add al, sil
ror word [rsp + rsi - 0x8a], 0xc8
ror rsi, 0x44
or bx, dx
ror qword [rsp + rax - 0x7f976db1], 0x36
mov word [r8 + rax - 0x7f976db1], bx
sbb r10, qword [rsp + rax - 0x7f976db1]
lea rbx, [rsi + r10 + 0x4e8a928f]
mov qword [rsp + rax - 0x7f976db1], 0x35153e8d
lea r11, [r10 + r11 + 0x83db]
shr qword [rsp + rsi - 9], 0xb0
jbe 0x1402c6be3
jmp 0x140353326
mov r11d, 0x7401f422
lea r8, [r11 + r8 - 0x7401f426]
lea rcx, [r11 + r11*8 + 0x61397b38]
mov eax, dword [r8 + r11 - 0x7401f422]
xor eax, esi
movsx ebx, cx
xadd ebx, r11d
movzx edi, r11b
sbb eax, 0xa88917a2
ror eax, 3
lea rdi, [r11 - 0x62546ef5]
dec eax
bswap eax
lea rdx, [r11*8 - 0x3d654a62]
push rsi
movzx esi, cl
sar cx, 0xb
xor dword [rsp + r11*4 - 0x41a8], eax
call fcn.14034d5e0
xor eax, esi
inc eax
rol eax, 1
lea r11, [rbp + r11*4 + 0x45157eaa]
not word [rsp + rbp*8 - 0x74c861f0]
pop r11
add r11, 0x2f93c
jmp r11
push 0xcbf431e
lea rsp, [rsp + 8]
sub rsp, rcx
and rsp, 0xfffffffffffffff0
push 0xffffffffaf213403
push 0x6f36c3b9
lea rsp, [rsp + 0x10]
add rsp, rcx
push 0x7e984134
test ebx, ebx
lea rsp, [rsp + 8]
je 0x1402ea715
mov eax, 0x4d2b92bf
mov rax, qword [rbp + rbx*8]
cmp ebx, 1
call fcn.1403760ef
mov word [r8 + r10*2 + 0x1b540], dx
movzx edx, sil
push rbp
sar rbp, cl
mov qword [rsp + r10*2 + 0x1b540], r9
ret