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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140007c00
sub rsp, rax
mov rax, qword [0x140039088]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400141cc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140016fe7
mov rax, rbp
jmp 0x1400170ef
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3b310]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400174ec
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3b310]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400170eb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400170eb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400174ec
test rax, rax
js 0x1400170eb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400170eb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400170dd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400170dd
cmp byte [rcx], 0xd
jne 0x1400170c3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400170d2
cmp byte [rcx + 1], 0xa
jne 0x1400170d2
inc rcx
jmp 0x1400170d2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x39b60]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400170a5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400170ef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140007230
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b214
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001b244
xor eax, eax
jmp 0x14001b307
mov rbp, rbx
cmp word [rax], si
je 0x14001b269
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001b250
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001b24c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140019980
movsxd r14, eax
test eax, eax
jne 0x14001b2a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001b23d
mov rcx, r14
call fcn.14000decc
mov rdi, rax
test rax, rax
jne 0x14001b2c0
xor ecx, ecx
call fcn.140010650
jmp 0x14001b29c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140019980
test eax, eax
jne 0x14001b2f1
mov rcx, rdi
call fcn.140010650
jmp 0x14001b2fb
xor ecx, ecx
call fcn.140010650
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001e038
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400147ac
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14001e0d9
cmp ebx, dword [rsp + 0x30]
je 0x14001e0d2
test esi, esi
je 0x14001e0d2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001e0ad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001e0ba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001e097
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001e0be
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001e0db
mov eax, 1
jmp 0x14001e0db
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e670
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003b310]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001e6c7
cmp word [rdx], r13w
jne 0x14001e6c7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001e6cc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001e7f1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001e812
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001e705
mov rdx, r9
mov word [rbx], cx
jmp 0x14001e72c
cmp r9, r8
jae 0x14001e73c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001e6e6
jmp 0x14001e7f1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001e7e6
cmp dword [rsp + 0x80], esi
je 0x14001e7e6
lea r8, [0x14003b310]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001e7be
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001e78e
mov word [rbx], r13w
jmp 0x14001e7ee
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001e79b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001e7ee
cmp word [rsp + 0x70], r13w
jne 0x14001e7cb
cmp rbx, r14
je 0x14001e788
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400174f4
cmp word [rsp + 0x70], r13w
je 0x14001e7f1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003b310]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001e7eb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001e7f1
Function at 0x140021878
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400174f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400174f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400219c8
cmp rax, 0xffffffffffffffff
je 0x1400219c8
xor edi, edi
test rbp, rbp
jle 0x140021973
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000d520
mov rbx, rax
test rax, rax
jne 0x140021900
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140021969
mov edx, 0x8000
mov ecx, r14d
call fcn.140011ee4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140015860
cmp eax, 0xffffffff
je 0x140021949
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140021910
mov edx, r15d
mov ecx, r14d
call fcn.140011ee4
jmp 0x140021969
cmp byte [rsi + 0x38], dil
je 0x140021960
cmp dword [rsi + 0x34], 5
jne 0x140021960
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140021969
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140010650
jmp 0x1400219dc
jns 0x1400219dc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400174f4
cmp rax, 0xffffffffffffffff
jne 0x140021994
cmp byte [rsi + 0x30], dil
je 0x1400219dc
mov edi, dword [rsi + 0x2c]
jmp 0x1400219dc
mov ecx, r14d
call fcn.14001bab8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400219dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400219dc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400219d5
mov eax, dword [rsi + 0x2c]
jmp 0x1400219da
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400174f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400013d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov ebp, ecx
test ecx, ecx
je 0x14000147c
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rsi, qword [rdx + 0x20]
test rsi, rsi
je 0x14000147c
mov r15d, 0x103
mov r14, qword [rsi + 0x50]
test r14, r14
je 0x14000147c
cmp word [rsi + 0x48], r15w
jae 0x140001474
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140001f90
xor ebx, ebx
cmp word [r14], bx
je 0x140001461
nop dword [rax + rax]
cmp ebx, r15d
jae 0x140001461
movzx ecx, byte [r14 + rbx*2]
call fcn.140002130
mov r14, qword [rsi + 0x50]
mov byte [rsp + rbx + 0x20], al
inc ebx
cmp word [r14 + rbx*2], 0
jne 0x140001440
lea rcx, [rsp + 0x20]
mov byte [rsp + rbx + 0x20], 0
call fcn.140001fc0
cmp eax, ebp
je 0x14000149b
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140001411
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rax, qword [rsi + 0x20]
jmp 0x14000147e

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

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, 0x240
mov r15d, edx
mov rbp, rcx
test rcx, rcx
je 0x14000160a
test edx, edx
je 0x14000160a
movsxd r12, dword [rcx + 0x3c]
xor r14d, r14d
mov eax, dword [r12 + rcx + 0x88]
add rax, rcx
mov ebx, dword [rax + 0x20]
mov r13d, dword [rax + 0x1c]
add rbx, rcx
mov edi, dword [rax + 0x24]
add r13, rcx
mov esi, dword [rax + 0x18]
add rdi, rcx
test esi, esi
je 0x140001605
nop word [rax + rax]
mov ecx, dword [rbx]
dec esi
add rcx, rbp
call fcn.140001fc0
cmp eax, r15d
je 0x140001545
add rbx, 4
add rdi, 2
test esi, esi
jne 0x140001520
mov rax, r14
jmp 0x14000160c
movzx eax, word [rdi]
mov ecx, dword [r12 + rbp + 0x88]
mov edx, dword [r13 + rax*4]
lea r14, [rdx + rbp]
cmp ecx, edx
ja 0x140001605
add ecx, dword [r12 + rbp + 0x8c]
cmp ecx, edx
jb 0x140001605
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140001f90
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.140001f90
mov rcx, r14
call fcn.1400020b0
test eax, eax
je 0x14000160a
mov r8d, eax
lea rcx, [rsp + 0x20]
mov rdx, r14
mov ebx, eax
call fcn.140002170
lea rcx, [rbx + 1]
add rcx, r14
call fcn.1400020e0
lea rdx, [rbx + 1]
mov r8, rax
add rdx, r14
lea rcx, [rsp + 0x130]
call fcn.140002170
lea rcx, [rsp + 0x20]
call fcn.140001630
mov rbx, rax
test rax, rax
je 0x140001605
lea rcx, [rsp + 0x130]
call fcn.140001fc0
mov edx, eax
mov rcx, rbx
call fcn.1400014b0
mov r14, rax
mov rax, r14
jmp 0x14000160c
xor eax, eax
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001630
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
sub rsp, 0x368
mov qword [rax + 8], rbx
xor edx, edx
mov qword [rax + 0x18], rbp
mov rbx, rcx
xor ebp, ebp
mov qword [rax - 0x10], r14
mov r8d, 0x208
mov dword [rsp + 0x24], ebp
lea rcx, [rax - 0x228]
call fcn.140001f90
mov rcx, rbx
mov qword [rsp + 0x378], rbp
call fcn.1400020e0
mov r8, rax
lea rcx, [rsp + 0x140]
mov rdx, rbx
call fcn.140002070
lea rcx, [rsp + 0x140]
call fcn.140002100
add ax, ax
mov word [rsp + 0x20], ax
add ax, 2
mov word [rsp + 0x22], ax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x20]
test r14, r14
je 0x14000177e
mov qword [rsp + 0x388], rsi
mov qword [rsp + 0x360], rdi
mov qword [rsp + 0x350], r15
mov r15d, 0x103
nop dword [rax]
mov rsi, qword [r14 + 0x50]
test rsi, rsi
je 0x140001766
cmp word [r14 + 0x48], r15w
jae 0x140001758
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140001f90
mov ebx, ebp
cmp word [rsi], bx
je 0x140001740
nop dword [rax]
cmp ebx, r15d
jae 0x140001740
mov edi, ebx
movzx ecx, byte [rsi + rdi*2]
call fcn.140002130
mov rsi, qword [r14 + 0x50]
inc ebx
mov byte [rsp + rdi + 0x30], al
cmp word [rsi + rbx*2], bp
jne 0x140001720
mov eax, ebx
lea rcx, [rsp + 0x30]
mov byte [rsp + rax + 0x30], bpl
call fcn.140001fc0
cmp eax, 0x92ef84b5
je 0x140001762
mov r14, qword [r14]
test r14, r14
jne 0x1400016f0
jmp 0x140001766
mov rbp, qword [r14 + 0x20]
mov rdi, qword [rsp + 0x360]
mov rsi, qword [rsp + 0x388]
mov r15, qword [rsp + 0x350]
mov edx, 0xd98c33f3
mov rcx, rbp
call fcn.1400014b0
mov r14, qword [rsp + 0x358]
mov rbp, qword [rsp + 0x380]
mov rbx, qword [rsp + 0x370]
test rax, rax
je 0x1400017cf
lea r9, [rsp + 0x378]
xor edx, edx
lea r8, [rsp + 0x20]
xor ecx, ecx
call rax
test eax, eax
js 0x1400017cf
mov rax, qword [rsp + 0x378]
add rsp, 0x368
ret
xor eax, eax
add rsp, 0x368
ret
Function at 0x1400017e0
Capabilities:
Check os version
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, ecx
test ecx, ecx
je 0x140001a2e
mov rdx, qword [0x140004088]
test rdx, rdx
jne 0x14000190e
cmp qword [0x1400040a8], rdx
je 0x14000182d
cmp qword [0x1400040b0], rdx
je 0x14000182d
cmp qword [0x1400040b8], rdx
jne 0x14000190e
xor eax, eax
lea rdi, [0x140004088]
mov ecx, 0x38
rep stosb byte [rdi], al
mov rax, qword gs:[0x60]
test rax, rax
je 0x140001a2e
cmp dword [rax + 0x118], 0xa
jne 0x140001a2e
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rcx]
sub rdx, 0x10
je 0x140001a2e
mov rdx, qword [rdx + 0x30]
mov eax, 0x5a4d
mov qword [0x140004088], rdx
mov qword [0x140004090], rdx
cmp word [rdx], ax
jne 0x140001a2e
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov qword [0x140004098], rcx
cmp dword [rcx], 0x4550
jne 0x140001a2e
mov edi, dword [rcx + 0x88]
add rdi, rdx
mov qword [0x1400040a0], rdi
je 0x140001a2e
cmp dword [rdi + 0x10], 0
je 0x140001a2e
mov ecx, dword [rdi + 0x1c]
add rcx, rdx
mov qword [0x1400040a8], rcx
mov r8d, dword [rdi + 0x20]
add r8, rdx
mov qword [0x1400040b0], r8
mov eax, dword [rdi + 0x24]
add rax, rdx
mov qword [0x1400040b8], rax
test rcx, rcx
je 0x140001a2e
test r8, r8
je 0x140001a2e
test rax, rax
je 0x140001a2e
mov rax, qword [0x1400040a0]
xor edi, edi
mov ebx, edi
cmp dword [rax + 0x14], ebx
jbe 0x140001a2e
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x1400040b0]
mov esi, ebx
mov ecx, dword [rax + rsi*4]
add rcx, rdx
call fcn.140001fc0
cmp eax, ebp
je 0x140001963
mov rax, qword [0x1400040a0]
inc ebx
cmp ebx, dword [rax + 0x14]
jae 0x140001a2e
mov rdx, qword [0x140004088]
jmp 0x140001930
mov rax, qword [0x1400040b8]
mov r9, qword [0x1400040c0]
mov dword [0x1400040d4], ebp
movzx ecx, word [rax + rsi*2]
mov rax, qword [0x1400040a8]
mov r8d, dword [rax + rcx*4]
mov eax, edi
add r8, qword [0x140004088]
mov qword [0x1400040c8], r8
nop word [rax + rax]
mov ecx, eax
movzx edx, byte [rcx + r8]
cmp dl, 0xc3
jne 0x1400019b1
test r9, r9
je 0x140001a2e
cmp dl, 0x4c
jne 0x1400019ce
cmp byte [rcx + r8 + 1], 0x8b
jne 0x1400019ce
cmp byte [rcx + r8 + 2], 0xd1
jne 0x1400019ce
cmp byte [rcx + r8 + 3], 0xb8
je 0x1400019d2
inc eax
jmp 0x1400019a0
movzx r10d, byte [rcx + r8 + 5]
movzx eax, byte [rcx + r8 + 4]
shl r10w, 8
or r10w, ax
mov word [0x1400040d0], r10w
nop
mov edx, edi
add rdx, rcx
add rdx, r8
inc edi
cmp byte [rdx], 0xf
jne 0x140001a0b
mov eax, edi
add rax, rcx
cmp byte [rax + r8], 5
je 0x140001a12
cmp edi, 0x1e
jbe 0x1400019f0
jmp 0x140001a1c
mov r9, rdx
mov qword [0x1400040c0], rdx
test r10w, r10w
je 0x140001a2e
test r9, r9
je 0x140001a2e
mov eax, 1
jmp 0x140001a30
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 0x140001fc0
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
movzx ecx, byte [rcx]
test cl, cl
je 0x14000206c
movzx edx, cl
lea r8, [r8 + 1]
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xed788320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xed788320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xed788320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xed788320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xed788320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xed788320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xed788320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xed788320
xor eax, ecx
movzx ecx, byte [r8]
test cl, cl
jne 0x140001fd3
not eax
ret
Function at 0x1400010cd
Capabilities:
Get hostname

Disassembly:
jmp 0x1400d6d90
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1400d6dcb
mov edx, 0x2e
mov rcx, rdi
call fcn.1400015a5
test rax, rax
je 0x1400d6dc9
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000123a
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x1400d9460
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140232bc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400d94ac
mov eax, 0x1b
jmp 0x1400d957f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400d94f0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400d957f
mov rcx, rbp
call fcn.140003427
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400d955b
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400d956b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400d957d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400047f0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001834
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401a18a4
xor r8d, r8d
xor edx, edx
jmp 0x1401a1588
Function at 0x140001875
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x1400da950
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140232bc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400da9d3
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400da9f5
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400047f0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.140003427
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov edx, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x1400daa54
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400daa64
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400daa76
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x1400da9d8
Function at 0x140001e29
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14005f990
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov rdi, rdx
mov r15, r8
mov r10, rcx
mov edx, dword [rax + 8]
and edx, 0xa
cmp edx, 0xa
jne 0x14005f9ce
add r12, 0x348
jmp 0x14005f9d5
add r12, 0x2d8
cmp edx, 0xa
mov eax, 0x5f8
mov ecx, 0x540
mov esi, 0
cmovne eax, ecx
mov qword [r9], rsi
mov bl, 1
add rax, rdi
je 0x14005fb80
cmp byte [rax + 0x6c], sil
je 0x14005fb80
cmp qword [rdi + 0xca0], rsi
je 0x14005fb80
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x14005fa30
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x14005fa37
lea r13, [rdi + 0xca8]
cmp qword [rdi + 0x6c0], rsi
jbe 0x14005fb2f
mov qword [rsp + 0x40], r14
mov r14, rsi
nop dword [rax]
mov rbx, qword [rdi + 0xca0]
add rbx, r14
cmp qword [rbx + 0x18], 0
je 0x14005fb09
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.1400082e2
test eax, eax
je 0x14005fb09
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x14005fa90
test rdx, rdx
je 0x14005faa5
jmp 0x14005fb09
test rdx, rdx
je 0x14005fb09
mov rcx, qword [rcx + 0x98]
call fcn.1400082e2
test eax, eax
je 0x14005fb09
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x14005fabc
cmp eax, 0xffffffff
je 0x14005fac9
jmp 0x14005fb09
cmp eax, 0xffffffff
je 0x14005fb09
cmp dword [rcx + 0x7d0], eax
jne 0x14005fb09
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x14005fb09
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x14005fb09
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.1400082e2
test eax, eax
je 0x14005fb09
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.1400610a0
test al, al
jne 0x14005fb90
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6c0]
jb 0x14005fa50
mov bl, 1
mov r10, qword [rsp + 0x80]
mov r14, qword [rsp + 0x40]
mov rax, qword [r10 + 0x18]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rdx, qword [rax + 0x3e0]
lea rax, [0x1401e3e40]
mov qword [rsp + 0x28], rcx
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.1400073e7
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14005fbbe
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x14005fb22