joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140bb1575
Capabilities:
Encode data using base64

Disassembly:
lea rcx, [r9 + r9*4 - 0x65529e45]
mov r9d, dword [r9 + rdi - 0x3c03258f]
xor r9d, r11d
movsx r10d, cl
shr r10, cl
inc cl
neg r9d
xor cx, r10w
movsx ebx, cl
mov edx, 0xb7959021
rol r9d, 1
lea rax, [rdx + 0x762e3499]
xadd bl, r10b
imul r10, rcx
xor r9d, 0xaa2e4899
lea r9d, [rbx + r9 + 0x308e81c]
sar r10w, 0x47
ja 0x140ba4789
mov ebx, 0xfa0bb6b4
or ebx, 0x5d38963e
mov r10d, dword [rbp + riz]
lea r8, [rbx + rbx*4 - 0x74e0757a]
bt r8w, r8w
movsx edx, r8w
mov r9d, dword [rbp + rdx - 0x1c38]
jb 0x140ba16a4
mov esi, r15d
call fcn.140b9c53d
cdqe
push r11
shr ebx, 0x78
mov r11d, 0xf3059609
xor dword [rsp + rbx], r9d
neg eax
rol bl, 0xe1
pop r11
sbb rax, rcx
movsxd r9, r9d
bts bx, 0xa3
shr r10w, 0x48
adc rsi, r9
mov r8d, r10d
mov r9w, word [rbx + rbp - 8]
lea rbp, [rbp + rbx*4 - 0x1e]
sar ax, 0x62
lea rdx, [rax + r10*4 - 0x3fe592ca]
sar r8d, 0xaa
lea rdi, [rdi + rbx*2 - 0x11]
movzx r8d, byte [rdi + rbx - 8]
bt eax, r10d
btc dx, dx
mul ebx
xor r8b, r11b
sub r8b, 0x8c
bt cx, 0x8f
sub r10w, cx
inc al
not r8b
setno al
xadd ecx, edx
sbb r8b, 0x26
not r8b
sal dx, 0xed
lea rcx, [rcx + rcx*2 + 0x54bac313]
call fcn.140b98485
movsxd rdx, edx
btc r10d, r9d
xadd r8w, r10w
imul r8d, r9d
adc rsi, rdx
mov r9, qword [rbp + r10*2 - 0x3303ffa8]
mov rax, qword [rbp + r10 - 0x1981ffcc]
add r10d, ebx
mul r9
lea r8, [r10 + r8*2 + 0x309ed8bd]
bts bx, cx
call fcn.140bc1dcd
push 0x28064b04
mov rcx, qword [rbp + riz]
mov ebx, 0xa592a388
pop rdx
movsx r9d, dl
lea rbp, [rbp + r9*2]
sal dl, 3
push rcx
dec rdx
sub r9w, 0x7c28
call fcn.140ba5389
bts rax, 0x28
mov rax, rbp
mov qword [rsp], 0x1c20369d
jae 0x140bc5048
jae 0x140bcb4a1
sub rdi, 4
mov eax, 0xbc2fd83e
movzx edx, al
sar rax, 0xf3
mov edx, dword [rdi + rax]
xor edx, r11d
lea r10, [rax + rax*4 - 0x6b48e26b]
rol edx, 3
shl al, 0x43
not edx
dec r10w
mov r8d, r10d
seta r10b
ror edx, 1
mov r9d, 0xe236f03e
not edx
mov ecx, r8d
bt ecx, r10d
cmovae r8w, r9w
lea edx, [rdx + rax*8 + 0x7f377380]
push r11
push r9
dec al
neg r8
xor dword [rsp + rax*2 - 0x1f6], edx
cwde
mov r11, qword [rsp + rax*4 - 0x3f4]
movsxd rdx, edx
add rsi, rdx
neg qword [rsp + rax - 0xff]
sub dword [rsp + rax - 0xfe], 0x29012793
mov r9w, word [rbp + rax*2 - 0x1fe]
movzx ebx, r10b
mov qword [rsp + rax*4 - 0x3f4], r10
sub bx, 0xfa98
mov r10w, word [r10 + rbp + 0x6b48e301]
btc r8d, 0xa0
movzx edx, cl
lea rbp, [rbp + rax*2 - 0x1fc]
imul rdx, rbx
or r9w, r10w
shr byte [rsp + rax - 0xf4], 0x41
dec dl
xadd dword [rsp + rax*2 - 0x1fa], ecx
not r9w
imul byte [rsp + rax*4 - 0x3f9]
ror rax, 0xcf
mov word [rbp + r8 - 0x6b480fc3], r9w
xor qword [rsp + rbx*2 - 0xaca], 0x630856a6
call fcn.140b8e188
adc rax, rdx
call fcn.140ba23a2
sub rdi, 4
mov r9d, 0x3c03258f
jmp 0x140b89576

Function at 0x140bb17c0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp], 0xfffffffffa130a91
add rax, rdx
ror byte [rsp + 2], 0xc1
mov qword [rbp + riz - 8], rax
not qword [rsp]
shr dword [rsp], 0xed
lea rsp, [rsp + 8]
mov qword [rbp + riz - 0x10], rsp
push 0x1aae30f
lea rsp, [rsp + 8]
sub rsp, rcx
jmp 0x140bb8cdd
Function at 0x140bbb127
Capabilities:
Encode data using base64

Disassembly:
btr cx, cx
pop r11
cdqe
cbw
movsxd rdx, edx
push rbx
add r9, qword [rsp + r8*2 - 0x880]
sbb eax, dword [rsp + r8 - 0x43e]
adc rsi, rdx
mov dword [rsp + r8*2 - 0x87f], 0x760ae88f
sal word [rsp + r8 - 0x43c], 0x21
cqo
pop rcx
jne fcn.140bb47bb
mov ecx, 0xa2aaf339
mov rbx, qword [rbp + riz]
movsx r9d, cl
movzx r10d, cl
movsx edx, r10w
mov r8, qword [rbp + r9*2 - 0x6a]
sar ecx, cl
or r10w, r9w
lea rbp, [rbp + r9*4 - 0xdc]
or rbx, r8
push rcx
call fcn.140bbd6ca
sal r8w, 0x2c
mov rcx, rbp
lea rbp, [rbp + rax*2 - 0x45b3dc]
mov dword [rbp + rax - 0x22d9ec], ecx
and dx, r8w
xadd r8w, ax
jbe fcn.140bb47bb
xor r11b, r10b
movsx edi, ax
mov qword [rsp + rax*4 - 4], rax
lea r10, [rsp + r10 + 8]
mov rbx, qword [r10 + rax - 1]
mov qword [rbp + rax*4 - 0xc], rbx
movzx ebx, dx
shr dword [rsp + rax*2 - 2], 0x67
mov rcx, qword [rax + rbp - 9]
or rax, rdi
mov rdi, rcx
pop r8
jnp 0x140b9d974
bts rdx, 0x22
not r9w
cwd
imul r8w, dx
sbb cl, cl
inc r9w
ror r8, 0x8f
btc r8d, 0x25
xor r9w, 0x4805
neg r9w
shr al, 0xc5
adc r9w, dx
xor r11w, r9w
movzx r10d, ax
ror ax, 0x81
mov ebx, r8d
add r9, rsp
movzx ax, byte [r8 + r9 - 0xae4c]
xchg r10w, cx
ror ebx, cl
inc rcx
lea rbp, [rbp + r8*2 - 0x15c9a]
and r8d, ebx
mov word [rbp + r8*2 - 0x880], ax
mov r9d, 0xaf97cc2b
lea rdi, [rdi + r8*2 - 0x884]
mov edx, dword [rdi + r8 - 0x440]
xor edx, r11d
bswap edx
not rcx
shr cl, 0xa2
rol rbx, 0x1f
lea edx, [rdx + r9 - 0x20dbbf1]
lea rax, [r9 + r10*4 - 0x32d9ce4a]
bswap edx
sar cl, 0xe1
not edx
sets cl
push r11
xor dword [rsp + r10*8 - 0x65000], edx
jmp 0x140b9087d
Function at 0x180631058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1806311df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180631089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18063106f
add dl, dl
jne 0x180631096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806310f6
xor eax, eax
add dl, dl
jne 0x1806310a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806311ad
add dl, dl
jne 0x1806310b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806310c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806310d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806310dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806310ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18063107e
mov eax, 1
add dl, dl
jne 0x180631106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180631113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806310fb
sub eax, ebx
mov ebx, 1
jne 0x18063114c
mov ecx, 1
add dl, dl
jne 0x18063112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18063113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180631123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18063107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180631168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180631175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18063115d
cmp eax, 0x7d00
jae 0x18063119b
cmp eax, 0x500
jb 0x180631196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18063107e
cmp eax, 0x7f
ja 0x18063119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18063107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806311d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18063107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001a58
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1800128c0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x180024002]
call fcn.1800113d9
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x18001292f
cmp dword [rbp + 0xc0], 1
je 0x180012908
jmp 0x180012935
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180011325]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x180012935
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x180011244
Capabilities:
Terminate process

Disassembly:
jmp 0x180014010
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 0x18003dd80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x18003ddc2
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x18003ddca
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18003dddb
jmp 0x18003ddf2
xor r10d, r10d
jmp 0x18003de7d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x18003ddf2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x18003de09
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x18003de29
add r11, r8
jmp 0x18003df5a
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov r11, qword [rax + 0x10]
mov r9, qword [rax]
add r9, r11
mov rdi, qword [rax + 8]
add rdi, rcx
rol r11, 0xd
xor r11, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, rdi
add rdi, r11
rol r11, 0x11
add r9, rcx
xor r11, rdi
rol rcx, 0x15
mov qword [rax + 0x10], r11
xor rcx, r9
rol rdi, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], rdi
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x18003def2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x18003dea0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x18003df10
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x18003df22
jmp 0x18003df3c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x18003df3c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x18003df56
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x180051050
Capabilities:
Reference absolute stream path on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
mov rdi, r8

Function at 0x1800512b0
Capabilities:
Reference absolute stream path on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov rdi, qword [0x180280780]
mov rax, qword [rdi]
lea rsi, [rsp + 0x28]
cmp rax, 5
je 0x180051361
mov rax, qword [rdi]
cmp rax, 5
je 0x1800513db
mov rax, qword [rdi]
cmp rax, 5
jne 0x180051355
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs:180_Write.with_context_flush____poll_flush
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs
call fcn.1801ab500
lea rcx, str.tokio_tungstenite::compat
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x19
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x19
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
lea r8, [rsp + 0x30]
mov edx, 5
xor r9d, r9d
call fcn.1801ab3f0
xor eax, eax
add rsp, 0x88
pop rdi
pop rsi
ret
lea rax, [0x1802046c0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs
call fcn.1801ab500
lea rcx, str.tokio_tungstenite::compat
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x19
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x19
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
lea r8, [rsp + 0x30]
mov edx, 5
xor r9d, r9d
call fcn.1801ab3f0
mov rax, qword [rdi]
cmp rax, 5
jne 0x1800512df
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs:126_AllowStd.with_context
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs
call fcn.1801ab500
lea rcx, str.tokio_tungstenite::compat
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x19
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x19
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
lea r8, [rsp + 0x30]
mov edx, 5
xor r9d, r9d
call fcn.1801ab3f0
mov rax, qword [rdi]
cmp rax, 5
je 0x1800512e8
jmp 0x180051355
Function at 0x180051460
Capabilities:
Reference absolute stream path on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov r15, qword [0x180280780]
mov rax, qword [r15]
lea r14, [rsp + 0x30]
cmp rax, 5
jne 0x1800514f9
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs:167_Write.write
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_tungstenite_0.24.0_srccompat.rs
call fcn.1801ab500

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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov qword [rsp + 0x58], rdx
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 0x28], rcx
mov edx, dword [rcx + rax + 0x88]
mov rcx, rdx
mov qword [rsp + 0x38], rdx
test rdx, rdx
je 0x180059a02
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x8c]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180059a02
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rax + rcx + 0x1c]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180059a02
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
add rax, rcx
mov qword [rsp + 0x30], rax
mov r12d, dword [rax + 0x14]
test r12d, r12d
je 0x180059a02
mov rax, qword [rsp + 0x30]
mov r15d, dword [rax + 0x20]
test r15, r15
je 0x180059a02
mov rax, qword [rsp + 0x30]
mov ebp, dword [rax + 0x18]
test ebp, ebp
je 0x180059a02
mov rdi, r8
mov rax, qword [rsp + 0x28]
add qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x24]
add r15, rax
add rcx, rax
mov qword [rsp + 0x50], rcx
xor r13d, r13d
jmp 0x18005991b
mov ebp, ebx
cmp r13d, ebp
jae 0x180059a02
lea r14d, [rbp + r13]
mov ebx, r14d
shr ebx, 1
cmp ebx, r12d
jae 0x180059a02
mov eax, ebx
mov edx, dword [r15 + rax*4]
add rdx, qword [rsp + 0x28]
mov r8, 0xffffffffffffffff
cmp byte [rdx + r8 + 1], 0
lea r8, [r8 + 1]
jne 0x180059940
lea rcx, [rsp + 0x60]
call fcn.1801d4ae0
cmp qword [rsp + 0x60], 0
jne 0x180059a02
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rsi, r8
sub rsi, rdi
cmovae r8, rdi
mov rdx, qword [rsp + 0x58]
call fcn.1801f1350
cdqe
test eax, eax
cmovne rsi, rax
xor eax, eax
test rsi, rsi
setne al
mov ecx, 0xff
cmovs eax, ecx
cmp al, 1
je 0x180059910
movzx eax, al
cmp eax, 0xff
jne 0x1800599ba
inc ebx
mov r13d, ebx
cmp r13d, ebp
jb 0x18005991b
jmp 0x180059a02
and r14d, 0xfffffffe
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + r14]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
add qword [rsp + 0x28], rax
cmp eax, dword [rsp + 0x38]
jb 0x1800599ec
mov rax, qword [rsp + 0x30]
add rax, qword [rsp + 0x48]
cmp qword [rsp + 0x28], rax
jb 0x180059a02
mov rax, qword [rsp + 0x28]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x1800685d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
movzx r14d, dl
test dl, dl
je 0x180068636
lea ecx, [r14 + 0x2f6]
lea eax, [r14 + 0x19c]
and eax, ecx
shr eax, 8
inc al
cmp al, 1
jbe 0x18006862e
xor edi, edi
cmp bl, 0x64
jae 0x18006865c
mov r15d, 2
cmp bl, 0xa
jb 0x180068684
lea rax, [0x180206dbb]
movzx eax, word [rax + r14*2]
mov word [rsp + 0x41], ax
mov r15d, 1
jmp 0x18006868c
test al, al
je 0x18006871f
mov rdx, qword [rsi + 0x10]
cmp qword [rsi], rdx
je 0x1800686f9
mov rax, qword [rsi + 8]
mov byte [rax + rdx], 0x30
inc rdx
mov qword [rsi + 0x10], rdx
mov edi, 1
cmp bl, 0x64
jb 0x18006860a
lea eax, [r14 + r14*4]
lea eax, [r14 + rax*8]
shr eax, 0xc
imul ecx, eax, 0x64
sub bl, cl
movzx ecx, bl
lea rdx, [0x180206dbb]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + 0x41], cx
xor r15d, r15d
mov ebx, eax
or bl, 0x30
mov byte [rsp + r15 + 0x40], bl
mov rbx, r15
xor rbx, 3
mov rax, qword [rsi]
mov r14, qword [rsi + 0x10]
sub rax, r14
cmp rax, rbx
jb 0x1800686d6
lea rdx, [rsp + r15]
add rdx, 0x40
mov rcx, qword [rsi + 8]
add rcx, r14
mov r8, rbx
call fcn.1801f0cd0
add r14, rbx
mov qword [rsi + 0x10], r14
add rdi, rbx
xor eax, eax
mov rdx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, r14
mov r8, rbx
call fcn.1801f1b30
mov r14, qword [rsi + 0x10]
jmp 0x1800686a2
mov qword [rsp + 0x20], 1
mov r8d, 1
mov r9d, 1
mov rcx, rsi
call fcn.1801f1b30
mov rdx, qword [rsi + 0x10]
jmp 0x180068643
mov r12, qword [rsi + 0x10]
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
xor edi, edi
lea rbx, [rsp + 0x28]
lea r14, [rsp + 0x40]
jmp 0x18006874c
mov byte [rax + r12], 0x30
inc r12
mov qword [rsi + 0x10], r12
cmp r12, rcx
jne 0x180068740
cmp rcx, 0xffffffffffffffff
je 0x1800687c0
lea r15, [rcx + 1]
lea rdx, [rcx + rcx]
cmp rdx, r15
cmova r15, rdx
cmp r15, 9
jae 0x180068772
mov r15d, 8
test r15, r15
js 0x1800687c0
test rcx, rcx
je 0x18006878d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rcx
mov eax, 1
jmp 0x18006878f
xor eax, eax
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, rbx
mov r8, r15
mov r9, r14
call fcn.18003d2e0
cmp qword [rsp + 0x28], 0
jne 0x1800687c8
mov rax, qword [rsp + 0x30]
mov qword [rsi + 8], rax
mov qword [rsi], r15
mov rcx, r15
jmp 0x180068740
mov rcx, rdi
call fcn.18018dc30
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call fcn.18018dc30
int3
Function at 0x18007ca70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x18007cb06
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x180202380]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003dd80
test rdi, rdi
je 0x18007cb95
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x18007cbae
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x18007cca6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x18007cd28
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x18007ccb3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x18007cb70
cmp r9, 8
jae 0x18007ccbc
jmp 0x18007cd28
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003dd80
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x18007cd28
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x18007cd28
mov r8, rcx
cmp r9, 8
jb 0x18007cd28
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x18007ccc0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x180092160
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [rcx + 0x20]
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x1800921b1
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x1800921b1
cmp dword [rcx + rdx + 0x84], 7
jb 0x1800921b1
mov eax, dword [rcx + rdx + 0xb8]
test rax, rax
je 0x1800921b1
mov edx, dword [rcx + rdx + 0xbc]
imul r8d, edx, 0xb6db6db7
ror r8d, 2
cmp r8d, 0x9249249
ja 0x1800921b1
cmp edx, 0x1c
jae 0x1800921b4
xor eax, eax
ret
shr edx, 2
imul rdx, rdx, 0x24924925
shr rdx, 0x20
mov r9d, edx
lea rdx, [rax + rcx]
add rdx, 0x14
lea rax, [r9 + r9*8]
lea r8, [rax + rax*2]
add r8, r9
xor eax, eax
xor r9d, r9d
jmp 0x1800921e9
add r9, 0x1c
cmp r8, r9
je 0x180092205
cmp dword [rdx + r9 - 8], 2
jne 0x1800921e0
mov r10d, dword [rdx + r9]
cmp dword [rcx + r10], 0x53445352
jne 0x1800921e0
add rcx, r10
mov rax, rcx
ret

Function at 0x180094aa0
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov dword [rsp + 0x2c], 0
lea r8, [rsp + 0x2c]
mov ecx, 5
xor edx, edx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
jne 0x180094af0
call fcn.180094bc0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x180094af0
lea rcx, [rsp + 0x38]
call fcn.18005d100
mov r14d, dword [rsp + 0x2c]
lea rdi, [r14 + r14]
test r14, r14
je 0x180094b20
movzx eax, byte [0x180281288]
mov edx, 2
mov rcx, rdi
call fcn.180057670
test rax, rax
je 0x180094ba7
mov rbx, rax
jmp 0x180094b25
mov ebx, 2
lea r8, [rsp + 0x2c]
mov ecx, 5
mov rdx, rbx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x180094b4e
mov r8d, dword [rsp + 0x2c]
mov rcx, rsi
mov rdx, rbx
call fcn.1801bfbd0
jmp 0x180094b84
call fcn.180094bc0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
shl rdx, 0x20
or rdx, 2
mov qword [rsi + 8], rdx
movabs rcx, 0x8000000000000000
mov qword [rsi], rcx
test rax, rax
je 0x180094b84
lea rcx, [rsp + 0x30]
call fcn.18005d100
test r14d, r14d
je 0x180094b9a
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.180057680
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, rdi
call fcn.18018dc30
int3