joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [0x140074420]
cmp byte [rbx + 0x32a0], 0
jne 0x1400274a9
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400274a2
lea rdx, [0x14006413c]
mov qword [rsp + 0x38], rdi
call fcn.140017870
mov rdi, rax
test rax, rax
je 0x14002749d
mov qword [rsp + 0x40], r14
mov rcx, rax
mov qword [rsp + 0x30], rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x14002748a
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002748a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x14002748a
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002748a
mov r14, rbp
cmp rbp, 0xffffffffffffffff
je 0x14002748a
mov rax, qword [0x140074420]
test rax, rax
je 0x140027419
inc dword [rax + 0x3ac]
mov rdx, qword [0x140074430]
mov rcx, r14
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14002748a
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, r14
je 0x140027455
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140027466
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r14
mov rcx, rbp
call fcn.140019770
mov rax, qword [0x140074420]
test rax, rax
je 0x140027478
dec dword [rax + 0x3ac]
mov rdx, qword [0x140074430]
mov rcx, rbp
call qword [0x140074008]
jmp 0x140027493
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x32a0], 1
movss xmm0, dword [rbx + 0x32a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400274ec
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x32a4], xmm0
jb 0x1400274ec
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400274db
call fcn.140023b00
jmp 0x1400274e2
mov byte [rbx + 0x394], 1
mov dword [rbx + 0x32a4], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140034620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x70
mov r8, rcx
movaps xmmword [rsp + 0x30], xmm9
movzx ecx, word [rsp + 0xa8]
movaps xmm9, xmm2
mov qword [rsp + 0x20], r9
mov rsi, rdx
mov r9d, dword [rsp + 0xa0]
movsxd rax, dword [r8 + 0x18]
cmp rcx, rax
jb 0x14003465e
mov rbx, qword [r8 + 0x38]
jmp 0x140034682
mov rax, qword [r8 + 0x20]
movzx ecx, word [rax + rcx*2]
mov eax, 0xffff
cmp cx, ax
jne 0x140034676
mov rbx, qword [r8 + 0x38]
jmp 0x140034682
mov rax, qword [r8 + 0x30]
lea rcx, [rcx + rcx*4]
lea rbx, [rax + rcx*8]
test rbx, rbx
je 0x14003483a
mov eax, dword [rbx]
test al, 2
je 0x14003483a
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm6
mov edi, r9d
or edi, 0xffffff
movaps xmmword [rsp + 0x50], xmm7
test al, 1
movaps xmmword [rsp + 0x40], xmm8
cmove edi, r9d
comiss xmm9, xmm0
jb 0x1400346cd
divss xmm9, dword [r8 + 0x14]
jmp 0x1400346d6
movss xmm9, dword [0x1400649fc]
cvttss2si eax, dword [rsp + 0x20]
mov edx, 6
mov rcx, rsi
lea r8d, [rdx - 2]
movd xmm6, eax
cvttss2si eax, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.1400339e0
movzx edx, word [rsi + 0x34]
mov rax, qword [rsi + 0x50]
movss xmm8, dword [rbx + 0x24]
movaps xmm1, xmm9
mulss xmm1, dword [rbx + 0x10]
lea ecx, [rdx + 1]
movss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm9
mulss xmm3, dword [rbx + 0x14]
movaps xmm2, xmm9
mulss xmm2, dword [rbx + 8]
addss xmm1, xmm6
mulss xmm9, dword [rbx + 0xc]
addss xmm3, xmm7
movss xmm5, dword [rbx + 0x18]
addss xmm2, xmm6
movss xmm0, dword [rbx + 0x1c]
mov word [rax], dx
addss xmm9, xmm7
mov rax, qword [rsi + 0x50]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rsi + 0x50]
mov word [rax + 4], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rsi + 0x50]
mov word [rax + 8], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 0xa], dx
mov rax, qword [rsi + 0x48]
movss dword [rax], xmm2
movss dword [rax + 4], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x10], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x1c], xmm4
movss dword [rax + 0x20], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x24], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x28], xmm1
movss dword [rax + 0x2c], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x30], xmm4
movss dword [rax + 0x34], xmm8
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x38], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x3c], xmm2
movss dword [rax + 0x40], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm8
mov rax, qword [rsi + 0x48]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rax + 0x4c], edi
add qword [rsi + 0x48], 0x50
add dword [rsi + 0x34], 4
add qword [rsi + 0x50], 0xc
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x70
pop rsi
ret
Function at 0x140043a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140074420]
mov rcx, qword [rax + 0x21e8]
mov r10, qword [rax + 0x1d28]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x174]
movss xmm4, dword [rcx + 0x174]
movss xmm3, dword [rcx + 0x178]
movss xmm2, dword [rcx + 0x17c]
movss xmm1, dword [rcx + 0x180]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x2a8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x240], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x2a8]
mov rcx, qword [rcx + 0x1a8]
add rsp, 0x38
jmp fcn.140035da0

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140074420]
mov rcx, qword [rax + 0x21e8]
mov r9, qword [rax + 0x1d28]
movups xmm0, xmmword [r9 + 0x240]
movups xmmword [rcx + 0x174], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x154]
movss xmm4, dword [rcx + 0x154]
movss xmm3, dword [rcx + 0x158]
movss xmm2, dword [rcx + 0x15c]
movss xmm1, dword [rcx + 0x160]
movups xmmword [r9 + 0x240], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x1f7]
mov rcx, qword [rcx + 0x1a8]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp fcn.140035da0
Function at 0x1400465c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140074300]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140046600
cmp al, 0x25
jne 0x1400465f4
cmp byte [r8 + 1], al
jne 0x140046600
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400465e7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004676a
cmp byte [r8 + 1], dl
je 0x14004676a
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004663d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140046665
sub dl, 0x61
cmp dl, 0x19
ja 0x140046657
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140046665
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140046620
jmp 0x140046668
inc r9
cmp r8, r9
jae 0x14004669f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140046694
bt rdx, rax
jb 0x14004669a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140046680
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.1400179c0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400466d8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400466d0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140046758
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400466fa
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x140046708
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x140046746
movss xmm2, dword [0x140064a44]
nop
cmp al, 0x39
ja 0x140046746
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140046720
cmp r9b, 0x2d
jne 0x140046765
xorps xmm1, xmmword [0x140064ae0]
movaps xmm0, xmm1
jmp 0x14004676d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004676d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140060c90
add rsp, 0x90
pop rbx
ret
Function at 0x140046790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140074300]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400467d0
cmp al, 0x25
jne 0x1400467c4
cmp byte [r8 + 1], al
jne 0x1400467d0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400467b7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140046934
cmp byte [r8 + 1], dl
je 0x140046934
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004680d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140046835
sub dl, 0x61
cmp dl, 0x19
ja 0x140046827
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140046835
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400467f0
jmp 0x140046838
inc r9
cmp r8, r9
jae 0x14004686f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140046864
bt rdx, rax
jb 0x14004686a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140046850
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.1400179c0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400468a8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400468a0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140046926
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400468ca
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x1400468d8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x140046914
movsd xmm2, qword [0x140069b50]
nop
cmp al, 0x39
ja 0x140046914
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400468f0
cmp r9b, 0x2d
jne 0x14004692f
xorps xmm1, xmmword [0x140069be0]
movaps xmm0, xmm1
jmp 0x140046937
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140046937
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140060c90
add rsp, 0x90
pop rbx
ret
Function at 0x140061310
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140014b10
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 0x1400112ee
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015e50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015e70
xor al, al
jmp 0x140015ef1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015e83
xor al, al
jmp 0x140015ef1
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 0x140015ead
xor al, al
jmp 0x140015ef1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015ec1
xor al, al
jmp 0x140015ef1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015ed3
xor al, al
jmp 0x140015ef1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015eef
xor al, al
jmp 0x140015ef1
mov al, 1
add rsp, 0x38
ret
Function at 0x141810c60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x141810c6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x141810c7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x141810c65
lea eax, [rcx + 1]
jmp 0x141810c8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x141810c9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x141810c84
sub eax, 3
jb 0x141810cbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x141810d0d
sar eax, 1
movsxd rbp, eax
jb 0x141810cf4
jmp 0x141810ccc
add ebx, ebx
jne 0x141810cca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x141810cf4
inc ecx
add ebx, ebx
jne 0x141810cda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x141810cf4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x141810ced
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x141810cdc
add ecx, 2
jmp 0x141810cf9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.141810c22
jmp 0x141810c6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x36800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x141810d59
cmp rsi, rcx
jae 0x141810d61
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x141810d40
cmp al, 0x8f
ja 0x141810d40
cmp byte [rsi - 2], 0xf
je 0x141810d46
sub al, 0xe8
cmp al, 1
ja 0x141810d2a
cmp rsi, rcx
jae 0x141810d61
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x141810d30
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x141810d61
lodsb al, byte [rsi]
jmp 0x141810d40
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x180e000]
mov eax, dword [rdi]
or eax, eax
je 0x141810dca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x181863c]
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 0x141810d6e
jns 0x141810da3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x141810dad
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 0x141810dc4
mov qword [rbx], rax
add rbx, 8
jmp 0x141810d8e
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 0x141810e04
cmp al, 0xef
ja 0x141810df6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x141810dd6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x141810de5
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 + 0x267]
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 0x141810e58
sub rsp, 0xffffffffffffff80
jmp 0x140029da0
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005960]
mov dword [rax], 1
mov rax, qword [0x140005970]
mov dword [rax], 1
mov rax, qword [0x140005980]
mov dword [rax], 1
mov rax, qword [0x140005920]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001b53
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rdi
mov eax, 0x1158
call fcn.140003720
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10f0], rcx
lea rdx, [rbp + 0xbc]
lea rax, [rbp + 0xc0]
mov r8, rdx
mov edx, 0x1000
mov rcx, rax
call sym.K32EnumProcesses
test eax, eax
jne 0x140001b9d
mov eax, 1
jmp 0x140001ce0
mov eax, dword [rbp + 0xbc]
shr eax, 2
mov dword [rbp + 0x10c8], eax
mov dword [rbp + 0x10cc], 0
jmp 0x140001cc9
mov eax, dword [rbp + 0x10cc]
mov eax, dword [rbp + rax*4 + 0xc0]
test eax, eax
je 0x140001cc2
movabs rax, 0x6e776f6e6b6e753c
mov edx, 0x3e
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x50]
mov eax, 0
mov ecx, 0x1e
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
mov eax, dword [rbp + 0x10cc]
mov eax, dword [rbp + rax*4 + 0xc0]
mov r8d, eax
mov edx, 0
mov ecx, 0x410
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x10c0], rax
cmp qword [rbp + 0x10c0], 0
je 0x140001c85
lea rcx, [rbp + 0xac]
lea rdx, [rbp + 0xb0]
mov rax, qword [rbp + 0x10c0]
mov r9, rcx
mov r8d, 8
mov rcx, rax
call sym.K32EnumProcessModules
test eax, eax
je 0x140001c85
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp - 0x60]
mov rax, qword [rbp + 0x10c0]
mov r9d, 0x104
mov r8, rcx
mov rcx, rax
call sym.K32GetModuleBaseNameA
mov rax, qword [rbp + 0x10c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rdx, qword [rbp + 0x10f0]
lea rax, [rbp - 0x60]
mov rcx, rax
mov rax, qword [sym.imp.ucrtbase.dll__stricmp]
call rax
test eax, eax
jne 0x140001cc2
mov eax, dword [rbp + 0x10cc]
mov eax, dword [rbp + rax*4 + 0xc0]
jmp 0x140001ce0
add dword [rbp + 0x10cc], 1
mov eax, dword [rbp + 0x10cc]
cmp eax, dword [rbp + 0x10c8]
jb 0x140001bbb
mov eax, 0xffffffff
add rsp, 0x1158
pop rdi
pop rbp
ret
Function at 0x140002400
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400030d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000a168]
test eax, eax
je 0x14000316a
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000a170]
mov qword [rbp - 8], rax
jmp 0x14000314e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140003142
cmp qword [rbp - 0x10], 0
je 0x140003142
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140003108
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000316b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140003270
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140003298
mov eax, 0
jmp 0x1400032e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400032c1
mov eax, 0
jmp 0x1400032e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400032e1
mov eax, 0
jmp 0x1400032e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400032ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000336a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003361
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003361
mov rax, qword [rbp - 8]
jmp 0x14000337f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003334
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1406e23d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1406e23de
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1406e2407
pop rbp
sub rbp, 0x33
sub rbp, 0x6e23d4
sub rsp, 0x20
jmp 0x1406e2426
mov rax, 0x6e23d4
add rax, rbp
add rax, 0x84
mov rcx, 0x64a
mov rdx, 0x44f689d
xor byte [rax], dl
inc rax
dec rcx
jne 0x1406e2445
jmp 0x1406e245c
invalid