joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c0c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
cmp byte [rsp + 0x80], 0
mov esi, r9d
movaps xmmword [rax - 0x18], xmm6
mov rbx, r8
movss xmm6, dword [rsp + 0x88]
mov rdi, rdx
mov rbp, rcx
je 0x1800c0d07
movss xmm2, dword [0x18024d7ac]
and r9d, 0xff000000
movss xmm0, dword [r8]
movss xmm1, dword [rdx]
addss xmm0, xmm2
addss xmm1, xmm2
mov dword [rax - 0x30], 0
movss dword [rax - 0x38], xmm6
movss dword [rax - 0x28], xmm0
movss xmm0, dword [r8 + 4]
lea r8, [rax - 0x28]
addss xmm0, xmm2
movss dword [rax - 0x20], xmm1
movss dword [rax - 0x24], xmm0
movss xmm0, dword [rdx + 4]
lea rdx, [rax - 0x20]
addss xmm0, xmm2
movss dword [rax - 0x1c], xmm0
call fcn.1800230c0
mov dword [rsp + 0x88], 0
mov r9d, esi
mov r8, rbx
movss dword [rsp + 0x80], xmm6
mov rdx, rdi
mov rcx, rbp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
jmp fcn.1800230c0
Function at 0x1800e5320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1800e53cc
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call qword [rax + 0x130]
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x1800e53cc
mov r9, qword [r9 + 8]
movabs rdx, 0xcbf29ce484222325
mov rax, r9
cmp byte [r9], bl
je 0x1800e536f
inc rax
cmp byte [rax], bl
jne 0x1800e5368
mov r8, rbx
sub rax, r9
je 0x1800e53cc
movabs r10, 0x100000001b3
movsx rcx, byte [r8 + r9]
inc r8
xor rdx, rcx
imul rdx, r10
cmp r8, rax
jb 0x1800e5381
movabs rax, 0xc106a596b87eca81
cmp rdx, rax
jne 0x1800e53af
mov eax, 1
add rsp, 0x20
pop rbx
ret
movabs rax, 0xdfcb29bc392909b5
mov ecx, 2
cmp rdx, rax
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800e79c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
movabs rax, 0x666666666666666
mov rbx, r8
cmp qword [0x18039cd90], rax
mov r14, rdx
je 0x1800e7bfc
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [rbx]
movabs r8, 0x100000001b3
mov ecx, edx
mov rdi, rax
shr ecx, 8
mov dword [rax + 0x10], edx
movups xmm0, xmmword [rbx + 8]
movzx esi, cl
movzx ecx, dl
movups xmmword [rax + 0x18], xmm0
mov r9, qword [0x18039cd90]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
xorps xmm0, xmm0
imul rcx, r8
mov eax, edx
shr rdx, 0x18
xor rsi, rcx
shr eax, 0x10
imul rsi, r8
movzx ecx, al
xor rsi, rcx
lea rcx, [r9 + 1]
imul rsi, r8
xor rsi, rdx
imul rsi, r8
test rcx, rcx
js 0x1800e7a78
cvtsi2ss xmm0, rcx
jmp 0x1800e7a8d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [0x18039cdb8]
xorps xmm2, xmm2
test rbx, rbx
js 0x1800e7aa3
cvtsi2ss xmm2, rbx
jmp 0x1800e7abb
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movss xmm3, dword [0x18039cd80]
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
jbe 0x1800e7b3e
divss xmm0, xmm3
call fcn.18018b8c8
movss xmm1, dword [0x18024da80]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800e7afd
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800e7afd
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800e7b2f
cmp rbx, 0x200
jae 0x1800e7b2c
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800e7b2f
mov rbx, rcx
mov rdx, rbx
call fcn.1800e7c10
mov r9, qword [0x18039cd90]
mov rdx, qword [0x18039cdb0]
mov r8, qword [0x18039cd98]
and rdx, rsi
mov rcx, qword [0x18039cd88]
add rdx, rdx
mov rax, qword [r8 + rdx*8 + 8]
cmp rax, rcx
je 0x1800e7b81
mov ecx, dword [rdi + 0x10]
mov r8, qword [r8 + rdx*8]
cmp ecx, dword [rax + 0x10]
je 0x1800e7b7e
nop
cmp rax, r8
je 0x1800e7bc9
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1800e7b70
mov rcx, qword [rax]
mov r8, qword [rcx + 8]
inc r9
mov qword [0x18039cd90], r9
mov qword [rdi], rcx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rcx + 8], rdi
mov rax, qword [0x18039cdb0]
mov rdx, qword [0x18039cd98]
and rax, rsi
mov rsi, qword [rsp + 0x30]
add rax, rax
mov r9, qword [rdx + rax*8]
cmp r9, qword [0x18039cd88]
jne 0x1800e7bce
mov qword [rdx + rax*8], rdi
jmp 0x1800e7be0
mov rcx, rax
jmp 0x1800e7b81
cmp r9, rcx
jne 0x1800e7bd9
mov qword [rdx + rax*8], rdi
jmp 0x1800e7be5
cmp qword [rdx + rax*8 + 8], r8
jne 0x1800e7be5
mov qword [rdx + rax*8 + 8], rdi
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov qword [r14], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
lea rcx, str.unordered_map_set_too_long
call fcn.18015dd9c
int3
Function at 0x1800e7c10
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800e7dbe
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18039cd88]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18039cd98]
lea rdx, [rdi + rdi]
call fcn.1800651d0
mov rcx, qword [0x18039cd88]
lea r9, [rdi - 1]
mov qword [0x18039cdb0], r9
mov qword [0x18039cdb8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1800e7db3
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18039cd98]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800e7cff
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1800e7d74
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x1800e7d3c
mov r8, qword [rax]
cmp r8, rcx
je 0x1800e7d36
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1800e7d74
cmp r9, rax
je 0x1800e7d50
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x1800e7d88
cmp r9, rax
jne 0x1800e7d41
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x1800e7dae
mov r9, qword [0x18039cdb0]
jmp 0x1800e7cb0
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1800e7d74
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18015dd9c
int3
Function at 0x1800ecbf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
cmp byte [0x18039f568], 0
mov rbp, r9
mov rsi, r8
mov r14d, edx
mov r15, rcx
je 0x1800ecdfe
mov eax, dword [0x18039aae0]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
test eax, eax
jne 0x1800ecc43
mov ecx, dword [0x18039aadc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edi, edi
test ax, ax
mov ecx, edi
setne cl
jmp 0x1800ecc6a
cmp eax, 1
jne 0x1800ecc60
mov ecx, dword [0x18039aadc]
call qword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
test ax, ax
mov ecx, edi
setne cl
jmp 0x1800ecc6a
xor edi, edi
cmp eax, 2
mov ecx, edi
sete cl
cmp rsi, rcx
je 0x1800ecc98
mov eax, dword [0x18039aae8]
test eax, eax
jne 0x1800ecc87
mov ecx, dword [0x18039aae4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x1800ecc98
cmp eax, 1
jne 0x1800ecc98
mov ecx, dword [0x18039aae4]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x180399320]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1803a0c78], eax
jle 0x1800ecd1d
lea rcx, [0x1803a0c78]
call fcn.18015d060
cmp dword [0x1803a0c78], 0xffffffff
jne 0x1800ecd1d
call fcn.18015ee24
mov rbx, rax
call fcn.18015ee08
cmp rbx, 0x989680
jne 0x1800eccec
imul rax, rax, 0x64
jmp 0x1800ecd0a
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x1803a0c78]
mov qword [0x1803a0c70], rax
call fcn.18015cff4
call fcn.18015ee24
mov rbx, rax
call fcn.18015ee08
cmp rbx, 0x989680
jne 0x1800ecd39
imul rbx, rax, 0x64
jmp 0x1800ecd5a
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
mov eax, dword [0x18039aae0]
test eax, eax
jne 0x1800ecd72
mov ecx, dword [0x18039aadc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x1800ecd83
cmp eax, 1
jne 0x1800ecd8f
mov ecx, dword [0x18039aadc]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
test al, al
je 0x1800ecdd6
jmp 0x1800ecd94
cmp eax, 2
jne 0x1800ecdd6
mov rax, rbx
sub rax, qword [0x1803a0c70]
cmp rax, 0x11e1a300
jl 0x1800ecdd6
cmp byte [0x18039f5c8], 0
movzx edx, byte [0x18039f5c9]
mov rcx, qword [0x18039f648]
sete al
test al, al
mov byte [0x18039f5c8], al
mov qword [0x1803a0c70], rbx
cmovne edx, edi
call qword [0x18039f870]
mov r9, rbp
mov r8, rsi
mov edx, r14d
mov rcx, r15
call fcn.18002fa90
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rax, rax
jne 0x1800ece0f
cmp byte [0x18039f5c8], al
jne 0x1800ece0f
xor al, al
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov rbp, qword [rsp + 0x50]
mov al, 1
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x1800f8110
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x18026b028]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor esi, esi
movzx ecx, dl
mov word [0x18034cf60], si
mov edi, esi
sub ecx, 1
je 0x1800f8163
sub ecx, 1
je 0x1800f815a
cmp ecx, 1
jne 0x1800f816a
lea rdi, str._error_
jmp 0x1800f816a
lea rdi, str._warning_
jmp 0x1800f816a
lea rdi, str._info_
xor ecx, ecx
call fcn.180171ee0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.180171ed8
movzx ebx, byte [0x18034cf58]
lea r9, [rsp + 0x38]
lea r8, str._n__T_
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.180078ae0
mov rcx, qword [0x18034cf40]
lea rdx, [rsp + 0x60]
sub rax, rbx
mov qword [rsp + 0x20], rsi
add rdx, rbx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.18015fe90
lea r8, [rsp + 0x80]
test rdi, rdi
je 0x1800f8212
movzx eax, byte [rdi]
lea r8, [rsp + 0x80]
test al, al
je 0x1800f820f
sub rdi, r8
nop
mov byte [r8], al
inc r8
movzx eax, byte [rdi + r8]
test al, al
jne 0x1800f8200
mov byte [r8], sil
cmp byte [rsp + 0x80], sil
je 0x1800f8244
mov rcx, qword [0x18034cf40]
lea rax, [rsp + 0x80]
sub r8d, eax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [0x18034cf58], sil
lea rax, [0x18034cf58]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.18015cd30
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1800f8280
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], r14
mov rax, qword [0x18026b028]
xor rax, rbp
mov qword [rbp], rax
movzx eax, word [rdx]
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
test ax, ax
je 0x1800f82e7
mov ecx, 0x80
mov r8d, 0x800
lea rdx, [rdx + 2]
cmp ax, cx
jae 0x1800f82d4
mov eax, 1
jmp 0x1800f82dd
cmp ax, r8w
sbb eax, eax
add eax, 3
add ebx, eax
movzx eax, word [rdx]
test ax, ax
jne 0x1800f82c4
xor edx, edx
movsxd rsi, ebx
lea rcx, [rsi + 0x11]
lea rax, [rsi + 1]
cmp rcx, rax
cmova rdx, rcx
test rdx, rdx
je 0x1800f835b
cmp rdx, 0x400
ja 0x1800f833f
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1800f831c
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.18015d830
sub rsp, rax
lea r10, [rsp + 0x30]
test r10, r10
je 0x1800f835e
mov dword [r10], 0xcccc
add r10, 0x10
jmp 0x1800f835e
mov rcx, rdx
call fcn.1801729fc
mov r10, rax
test rax, rax
je 0x1800f835e
mov dword [rax], 0xdddd
add r10, 0x10
jmp 0x1800f835e
xor r10d, r10d
lea r9, [r10 + rsi]
mov rcx, r10
cmp r10, r9
jae 0x1800f8396
nop word [rax + rax]
movzx eax, word [rdi]
test ax, ax
je 0x1800f8396
lea rdx, [r9 + 1]
mov r8d, eax
sub rdx, rcx
add rdi, 2
dec rdx
call fcn.1800f8050
add rcx, rax
cmp rcx, r9
jb 0x1800f8370
mov byte [rcx], 0
xor r9d, r9d
mov rcx, qword [0x18034cf40]
mov r8d, ebx
mov rdx, r10
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.18015cd30
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
mov r14, qword [rbp + 0x38]
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x18010cb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1800fb760
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x18010cbb6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x18010cc0d
mov ebp, 0x4b0000
jmp 0x18010cc1b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1800fdca0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x18010cc31
mov eax, r12d
jmp 0x18010cc3a
mov edx, edi
mov ecx, ebp
call fcn.1800fdca0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x18010cc56
shl esi, 0x10
mov ecx, esi
jmp 0x18010cd45
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x18010ccb4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1800fb760
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x18010cca4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1800fdb70
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1800fb760
add ebx, eax
jmp 0x18010cd4e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x18010ccc1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x18010cd00
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1800fb760
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x18010cd05
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1800fdb70
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1800fb760
add ebx, eax
jmp 0x18010cd4e
cmp eax, r12d
jge 0x18010cd3e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1800fb760
sub ebp, eax
sub r15d, esi
je 0x18010cd3e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1800fdb70
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1800fb760
add ebx, eax
jmp 0x18010cd4e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1800fb760
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.1800fb760
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x180145560
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1801456ab
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.180145a20
test al, al
jne 0x180145746
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x18014563b
cmp edx, dword [rbx + 0x60]
jl 0x18014563b
cmp edx, dword [rbx + 0x64]
jg 0x18014563b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18014563b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x18014563b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x18014565e
test byte [r9 + 0x18], 8
je 0x18014565e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x18014566f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1801463e0
test al, al
jne 0x180145746
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x180145692
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1801455c4
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x18014574a
test rdx, rdx
je 0x18014574a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1801456e8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1801456eb
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x180145706
dec r11d
add r11d, eax
jmp 0x18014571d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1801466b0
test al, al
jne 0x180145746
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1801466b0
test al, al
jne 0x180145746
mov rdx, qword [rsi]
add di, bp
jne 0x1801456d0
jmp 0x18014574e
mov al, 1
jmp 0x180145759
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180165120
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.18015d830
sub rsp, rax
mov rax, qword [0x18026b028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18017657c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18016516f
mov rax, rbp
jmp 0x180165277
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x399ca0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18017680c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x399ca0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180165273
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 0x180165273
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18017680c
test rax, rax
js 0x180165273
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180165273
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180165265
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180165265
cmp byte [rcx], 0xd
jne 0x18016524b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18016525a
cmp byte [rcx + 1], 0xa
jne 0x18016525a
inc rcx
jmp 0x18016525a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x26b420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18016522d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180165277
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18015cd30
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 0x1801713c4
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.180168a44
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x18017140f
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x180171443
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180171443
call fcn.18017983c
xor ebx, ebx
test eax, eax
jne 0x180171431
cmp byte [rbp - 0x48], bl
je 0x18017142a
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x180171443
cmp byte [rbp - 0x48], bl
je 0x180171441
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.18016d678
mov esi, eax
test eax, eax
je 0x18017147f
call fcn.180171608
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1801714d8
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.18016d678
mov edi, eax
test eax, eax
je 0x1801714bb
call fcn.180171608
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1801714ca
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.18017dac4
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1801714d8
mov rcx, qword [rbp - 0x50]
call fcn.180179538
cmp byte [rbp - 8], bl
je 0x1801714e6
mov rcx, qword [rbp - 0x20]
call fcn.180179538
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x180172214
Capabilities:
Parse pe header

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