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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rcx + 0x218]
mov rsi, qword [rcx]
mov rbx, rcx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rbp
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14005b301
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rbp
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.140047550
mov rcx, rsi
cmp rdi, 0xffffffffffffffff
jne 0x14005b326
lea rdx, str.Error_accept__ing_server_connect
call fcn.140043e30
lea eax, [rdi + 0x1f]
jmp 0x14005b38d
lea rdx, str.Connection_accepted_from_server_n
call fcn.140043d80
mov edx, 1
mov rcx, rdi
mov dword [rbx + 0x568], 0
mov qword [rbx + 0x218], rdi
call fcn.14006a630
mov dword [rbx + 0x234], 1
mov rax, qword [rsi + 0x278]
test rax, rax
je 0x14005b38b
mov rcx, qword [rsi + 0x280]
mov r8d, 1
mov rdx, rdi
call rax
test eax, eax
je 0x14005b38b
mov rcx, rbx
call fcn.14005b160
mov eax, Ordinal_46
jmp 0x14005b38d
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001f960
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14005ee70
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x51eb851f
mov edi, r8d
mov r8d, edx
xor ebx, ebx
mov rsi, rcx
mov rcx, qword [rcx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x14005eec2
lea rdx, str.Couldnt_set_desired_mode
call fcn.140043e30
lea eax, [rbx + 0x11]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r8d, 0xc8
je 0x14005eed7
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.140043d80
cmp edi, 0x13
jne 0x14005eee6
mov rcx, rsi
call fcn.14005edf0
jmp 0x14005ef11
cmp edi, 0x14
jne 0x14005eef5
mov rcx, rsi
call fcn.14005bde0
jmp 0x14005ef11
cmp edi, 0x15
jne 0x14005ef04
mov rcx, rsi
call fcn.14005ee50
jmp 0x14005ef11
cmp edi, 0x16
jne 0x14005ef13
mov rcx, rsi
call fcn.14005ee60
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14005f600
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx]
mov ebx, dword [rcx + 0x9ec]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov rdi, rcx
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x14005f68c
test ebx, ebx
jne 0x14005f64a
lea rdx, str.disabling_EPRT_usage_n
mov rcx, rsi
call fcn.140043d80
mov dword [rdi + 0x58c], ebx
inc ebx
cmp ebx, 2
jne 0x14005f673
lea rdx, str.Failed_to_do_PORT
mov rcx, rsi
call fcn.140043e30
lea eax, [rbx + 0x1c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14005b5f0
lea rdx, str.Connect_data_stream_actively_n
mov rcx, rsi
call fcn.140043d80
xor edx, edx
mov rcx, rdi
call fcn.14005b4b0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f460
Function at 0x140066880
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1400332c0
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400668e6
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400668e6
lea rcx, [rsp + 0x20]
call qword [fcn.1400232b8]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x148
ret
jmp 0x140066880

Function at 0x140066900
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1400332c0
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400668e6
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400668e6
lea rcx, [rsp + 0x20]
call qword [fcn.1400232b8]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001f960
add rsp, 0x148
ret
jmp 0x140066880

Function at 0x14006a630
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x14006d320
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 0x14006d359
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.14002f0d4
test rax, rax
je 0x14006d357
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006d430
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov rsi, r8
mov rbx, rdx
lea rcx, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14006d501
xor eax, eax
lea rdx, [rsp + 0x64]
mov rcx, rsi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x58], 0x208
mov dword [rsp + 0x5c], 0x6601
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x68], eax
call fcn.14006d390
lea rcx, [rsp + 0x64]
mov edx, 8
call fcn.1400729f0
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea r11, [rsp + 0x50]
lea r8d, [r9 + 0x14]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x14006d505
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x14006d552
mov ecx, dword [rsp + 0x40]
mov rax, qword [rdi]
xor r9d, r9d
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov qword [rbx], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001f960
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14006d580
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r8, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.14006d430
lea r8, [rbx + 7]
lea rdx, [rdi + 8]
mov rcx, rsi
call fcn.14006d430
lea r8, [rbx + 0xe]
lea rdx, [rdi + 0x10]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14006d430
Function at 0x14006d6d0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
mov rbx, r8
mov rbp, rdx
not rcx
dec rcx
mov rsi, rcx
add rcx, rcx
call qword [fcn.1400210d0]
mov rdi, rax
test rax, rax
jne 0x14006d717
lea eax, [rdi + 0x1b]
jmp 0x14006d7d3
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.14006d6a0
lea rcx, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14006d7c0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14006d7b3
mov rcx, qword [rsp + 0x30]
lea r8d, [rsi + rsi]
xor r9d, r9d
mov rdx, rdi
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbx
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rdi
mov dword [rbx + 0x10], eax
mov byte [rbx + 0x14], al
call qword [fcn.140020fc8]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140070230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rdi, r8
cmp dword [rcx + 8], 3
mov rsi, rdx
jne 0x14007027a
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x14007026a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x1400702c2
cmp qword [rbx + 0x10], 0
jne 0x1400702ae
mov rcx, qword [rcx + 0x10]
lea rdx, [0x14008bbd4]
call fcn.1400206ac
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400702ae
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.140021a68
mov rdi, rax
test rax, rax
jne 0x1400702e5
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400702dc
call fcn.1400204fc
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140073510
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov r12d, r8d
lea r9d, [rax + rax]
mov eax, dword [rcx + 0x20]
mov rbp, rdx
lea rcx, [r9 + rax + 0x18]
call qword [fcn.1400210d0]
mov rdi, rax
test rax, rax
jne 0x140073551
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
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 r12d, dword [rbx + 0x1c]
jbe 0x140073595
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, r12d
mov rdx, rbp
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov ebp, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add rbp, qword [rdi + 0x10]
mov rcx, rbp
call qword [rbx + reloc.WS2_32.dll_recv]
mov r12d, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test r12, r12
je 0x1400735f4
mov rsi, r12
nop dword [rax + rax]
movzx eax, byte [rbp]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx r11d, byte [rbp]
lea rdx, [rsp + 0x40]
xor r11b, 0x5c
mov r8d, 1
inc rbp
mov byte [rsp + 0x40], r11b
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
dec r12
jne 0x1400735b0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140073633
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140089a29]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140089a2a]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140073600
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
Function at 0x140001780
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x14002d018]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rdi, rdx
lea rax, str.MsUpdate.exe
xor edx, edx
mov rbx, rcx
cmp rcx, rax
mov r8d, 0x104
lea rcx, [rsp + 0x40]
jne 0x1400018b5
call fcn.140002610
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x208
call fcn.140002610
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [0x14002ecf8]
test eax, eax
je 0x140001929
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov edx, 0x208
lea rcx, [rsp + 0x150]
call fcn.140001720
test eax, eax
js 0x140001929
lea rcx, [rsp + 0x150]
call qword [0x14002ed80]
cmp eax, 0xffffffff
je 0x14000183e
test al, 0x10
je 0x140001929
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x14002ed48]
test eax, eax
jne 0x140001929
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rdi
call qword [0x14002ed68]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [0x14002ed58]
test ebx, ebx
jne 0x1400018ae
cmp dword [rsp + 0x38], 1
je 0x140001929
mov eax, 1
jmp 0x14000192b
call fcn.140002610
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x208
call fcn.140002610
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 7]
call qword [0x14002ecf8]
test eax, eax
je 0x140001929
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov edx, 0x208
lea rcx, [rsp + 0x150]
call fcn.140001720
test eax, eax
js 0x140001929
lea rcx, [rsp + 0x150]
call qword [0x14002ed80]
cmp eax, 0xffffffff
je 0x1400018ae
shr eax, 4
and eax, 1
jmp 0x14000192b
xor eax, eax
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1400032d0
mov rbx, qword [rsp + 0x390]
add rsp, 0x370
pop rdi
ret
Function at 0x140001e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x14002d018]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r14d, edx
mov rbx, rcx
test rcx, rcx
je 0x140001ecc
test edx, edx
je 0x140001ecc
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140001ecc
mov esi, dword [rax + rcx + 0x88]
xor r12d, r12d
mov r13d, dword [rax + rcx + 0x8c]
add rsi, rcx
mov r9d, r12d
mov r10d, dword [rsi + 0x20]
mov r15d, dword [rsi + 0x1c]
add r10, rcx
mov r11d, dword [rsi + 0x24]
add r15, rcx
mov ebp, dword [rsi + 0x14]
add r11, rcx
test ebp, ebp
je 0x140001ecc
movzx eax, word [r11]
mov ecx, dword [r10]
add rcx, rbx
mov edi, dword [r15 + rax*4]
add rdi, rbx
call fcn.140002560
cmp eax, r14d
je 0x140001eff
inc r9d
add r11, 2
add r10, 4
cmp r9d, ebp
jb 0x140001ea1
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400032d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp rdi, rsi
jb 0x140001fbd
lea rax, [rsi + r13]
cmp rdi, rax
jae 0x140001fbd
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140002610
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdi + r8], r12b
jne 0x140001f31
test r8, r8
je 0x140001f4c
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140006b40
mov ecx, r12d
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], cl
jne 0x140001f54
test rbx, rbx
je 0x140001f78
lea rdx, [rsp + 0x20]
cmp byte [rdx], 0x2e
je 0x140001fa8
inc ecx
inc rdx
movsxd rax, ecx
cmp rax, rbx
jb 0x140001f66
mov eax, r12d
lea rcx, [rsp + 0x21]
add rcx, rax
call fcn.140002560
mov rdx, qword [0x14002ecd0]
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [rdx + 0x40]
mov rcx, rax
mov edx, ebx
call fcn.140001e20
jmp 0x140001ece
movsxd rax, ecx
mov r12d, ecx
cmp rax, 0x104
jae 0x140001fc5
mov byte [rsp + rax + 0x20], 0
jmp 0x140001f78
mov rax, rdi
jmp 0x140001ece
call fcn.1400033f8
int3
Function at 0x140001fd0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14002d018]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword gs:[0x60]
mov esi, ecx
mov rdx, qword [rax + 0x18]
mov rdi, qword [rdx + 0x20]
test ecx, ecx
jne 0x14000200f
mov rax, qword [rdi + 0x20]
jmp 0x14000219c
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x158], rbp
test rdi, rdi
je 0x14000218a
mov ebp, 0x104
nop dword [rax]
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x14000217e
cmp word [rdi + 0x48], bp
jae 0x14000217e
mov r8, rbp
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.140002610
xor eax, eax
cmp word [rbx], ax
je 0x1400020a1
xor r10d, r10d
mov r11, rbx
xor ecx, ecx
nop word [rax + rax]
movzx r9d, byte [rcx + r11]
lea ecx, [r9 + 0x20]
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
inc eax
mov byte [rsp + r10 + 0x20], dl
mov rbx, qword [rdi + 0x50]
mov r10d, eax
lea rcx, [rax + rax]
cmp word [rcx + rbx], 0
jne 0x140002070
mov ecx, eax
cmp rcx, rbp
jae 0x1400021c3
mov rcx, rbx
mov byte [rsp + rax + 0x20], 0
call fcn.140002560
cmp eax, esi
je 0x1400021bd
movzx eax, byte [rsp + 0x20]
mov ecx, 0xffffefff
test al, al
je 0x140002178
lea rdx, [rsp + 0x20]
nop dword [rax + rax]
movsx eax, al
lea rdx, [rdx + 1]
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1400020e0
not ecx
cmp ecx, esi
je 0x1400021bd
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140002030
xor eax, eax
mov rbx, qword [rsp + 0x150]
mov rbp, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400032d0
mov rsi, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret
mov rax, qword [rdi + 0x20]
jmp 0x14000218c
call fcn.1400033f8
int3
Function at 0x140002560
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffefff
movzx ecx, byte [rcx]
test cl, cl
je 0x14000260c
movsx edx, cl
lea r8, [r8 + 1]
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
movzx ecx, byte [r8]
test cl, cl
jne 0x140002573
not eax
ret
Function at 0x140002ac0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x14002da44]
mov r9, rcx
shl edx, 0xd
xor edx, dword [0x14002da44]
mov r8d, edx
shr r8d, 0x11
xor r8d, edx
mov edx, dword [rcx]
mov eax, r8d
shl eax, 5
xor eax, r8d
add edx, eax
mov dword [0x14002da44], eax
mov dword [rcx], edx
cmp edx, 0x491fd3a1
ja 0x140002b28
mov ecx, eax
nop dword [rax + rax]
shl eax, 0xd
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
add edx, eax
mov ecx, eax
mov dword [r9], edx
cmp edx, 0x491fd3a1
jbe 0x140002b00
mov dword [0x14002da44], eax
ret
Function at 0x140003cc4
Capabilities:
Parse pe header

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

Function at 0x140005ee0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x14002ee40]
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x140005ef0
ret

Function at 0x140005f90
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140005fbe
lea r10, [0x14002ee40]
nop dword [rax]
movzx r9d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r9, rax
movzx eax, r9b
xor ecx, dword [r10 + rax*4]
sub r8, 1
jne 0x140005fa0
mov eax, ecx
ret

Function at 0x14000fbec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f9dc

Function at 0x1400124f0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012510
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140010afc
or eax, 0xffffffff
jmp 0x140012512
xor eax, eax
add rsp, 0x28
ret