joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004a060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.180211600
mov dword [rsp + 0x50], 0x104
call fcn.180048ba0
mov rsi, rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], r15b
lea r8d, [r15 + 0x1a]
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.1800052d0
nop
call fcn.180061ed0
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov ecx, r15d
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x18004a143
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18004a130
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180049aa0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18004a174
cmp rbx, qword [rsi + 8]
je 0x18004a174
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x18004a181
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, r15
lea rcx, [rsp + 0x20]
call fcn.180005250
test rbx, rbx
je 0x18004a1a9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
xor edx, edx
call rbx
jmp 0x18004a1bb
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18004a1e0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.18000dc00
nop
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180049ee0
nop
lea rcx, [rsp + 0x20]
call fcn.18000db90
mov rax, r14
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18004cc40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.180211600
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x18004cd2f
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x18004cd2f
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x18004cd2f
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x18004cd2f
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x18004cd2f
cmp dword [rsp + 0x80], 0x4550
jne 0x18004cd2f
mov al, 1
jmp 0x18004cd31
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret

Function at 0x18004d150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
movsxd rsi, r8d
lea rcx, [rsp + 0x40]
call fcn.180049d20
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18004a4d0
xor edi, edi
mov dword [rsp + 0xa0], esi
lea rcx, [rsp + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
movups xmmword [rsp + 0x30], xmm0
mov word [rax], di
movups xmmword [rsp + 0x90], xmm0
call fcn.18000db90
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x80]
movdqa xmm0, xmm1
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
movabs rax, 0xcbf29ce484222325
lea r8, [rcx + rcx]
cmovae rdx, qword [rsp + 0x20]
test r8, r8
je 0x18004d233
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx ecx, byte [rdi + rdx]
inc rdi
xor rax, rcx
imul rax, r9
cmp rdi, r8
jb 0x18004d220
mov r9, rsi
lea r8, [rsp + 0x80]
xor r9, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x18]
call fcn.18004ddf0
cmp qword [rax + 8], 0
je 0x18004d267
lea rdx, [rsp + 0x80]
lea rcx, [rbx + 0x18]
call fcn.18004d640
lea rcx, [rsp + 0x80]
call fcn.18000db90
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18004d640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov rdi, rcx
mov r9, rdx
jb 0x18004d661
mov r9, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x18004d694
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r10
jb 0x18004d680
movsxd r10, dword [r8 + 0x20]
mov rcx, rdi
xor r10, rdx
lea rdx, [rsp + 0x20]
mov r9, r10
call fcn.18004ddf0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18004d732
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x18]
and rcx, r10
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x18004d6eb
cmp rax, rbx
jne 0x18004d6e1
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18004d6f6
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x18004d6f6
cmp rax, rbx
jne 0x18004d6f6
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.18004e2f0
mov edx, 0x48
mov rcx, rbx
call fcn.18007b164
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x18004d7b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r8, qword [r8 + 0x10]
mov r10, r14
cmp qword [r14 + 0x18], 8
jb 0x18004d7de
mov r10, qword [r14]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r8, r8
je 0x18004d814
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r8
jb 0x18004d800
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18004ddf0
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x18004d844
mov qword [rdi], r10
mov byte [rdi + 8], 0
jmp 0x18004d998
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 0x10], rax
je 0x18004d9ac
lea r13, [rsi + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0
mov ecx, 0x48
call fcn.18007b16c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.180016740
mov ecx, dword [r14 + 0x20]
mov dword [rbx + 0x30], ecx
xor edx, edx
mov qword [rbx + 0x38], rdx
mov qword [rbx + 0x40], rdx
mov rcx, qword [r12]
mov qword [rbx + 0x38], rcx
mov rax, qword [r12 + 8]
mov qword [rbx + 0x40], rax
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov r9, qword [rsi + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18004d8ca
cvtsi2ss xmm0, rcx
jmp 0x18004d8df
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18004d8f2
cvtsi2ss xmm1, rcx
jmp 0x18004d907
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x18004d93d
mov rcx, rsi
call fcn.18004df30
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18004ddf0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x18004d97a
mov qword [rcx + rax*8], rbx
jmp 0x18004d98c
cmp r9, rdx
jne 0x18004d985
mov qword [rcx + rax*8], rbx
jmp 0x18004d991
cmp qword [rcx + rax*8 + 8], r8
jne 0x18004d991
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1800777b0
int3
Function at 0x18004d9c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r8, qword [r8 + 0x10]
mov r10, r14
cmp qword [r14 + 0x18], 8
jb 0x18004d9ee
mov r10, qword [r14]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r8, r8
je 0x18004da24
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r8
jb 0x18004da10
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18004ddf0
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x18004da54
mov qword [rdi], r10
mov byte [rdi + 8], 0
jmp 0x18004dbd4
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 0x10], rax
je 0x18004dbe8
lea r13, [rsi + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0
mov ecx, 0x48
call fcn.18007b16c
mov rbx, rax
mov qword [rsp + 0x38], rax
lea r15, [rax + 0x10]
xor ecx, ecx
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], rcx
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [r14 + 0x10], rcx
mov qword [r14 + 0x18], 7
mov word [r14], cx
mov eax, dword [r14 + 0x20]
mov dword [r15 + 0x20], eax
mov qword [r15 + 0x28], rcx
mov qword [r15 + 0x30], rcx
mov rax, qword [r12 + 8]
test rax, rax
je 0x18004dadf
lock inc dword [rax + 8]
mov rbx, qword [rsp + 0x38]
mov rax, qword [r12]
mov qword [r15 + 0x28], rax
mov rax, qword [r12 + 8]
mov qword [r15 + 0x30], rax
mov r9, qword [rsi + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18004db07
cvtsi2ss xmm0, rcx
jmp 0x18004db1c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18004db2f
cvtsi2ss xmm1, rcx
jmp 0x18004db44
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x18004db79
mov rcx, rsi
call fcn.18004df30
mov r9, rbp
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18004ddf0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x18004dbb6
mov qword [rcx + rax*8], rbx
jmp 0x18004dbc8
cmp r9, rdx
jne 0x18004dbc1
mov qword [rcx + rax*8], rbx
jmp 0x18004dbcd
cmp qword [rcx + rax*8 + 8], r8
jne 0x18004dbcd
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1800777b0
int3
Function at 0x18004dc00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x18004dc2b
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor r13d, r13d
mov edx, r13d
add r9, r9
je 0x18004dc64
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x18004dc50
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18004ddf0
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x18004dc94
mov qword [rdi], r10
mov byte [rdi + 8], r13b
jmp 0x18004ddc8
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 0x10], rax
je 0x18004dde3
lea r12, [rsi + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x48
call fcn.18007b16c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.180016740
mov ecx, dword [r14 + 0x20]
mov dword [rbx + 0x30], ecx
mov qword [rbx + 0x38], r13
mov qword [rbx + 0x40], r13
mov r9, qword [rsi + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18004dcfa
cvtsi2ss xmm0, rcx
jmp 0x18004dd0f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18004dd22
cvtsi2ss xmm1, rcx
jmp 0x18004dd37
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x18004dd6d
mov rcx, rsi
call fcn.18004df30
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18004ddf0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x18004ddaa
mov qword [rcx + rax*8], rbx
jmp 0x18004ddbc
cmp r9, rdx
jne 0x18004ddb5
mov qword [rcx + rax*8], rbx
jmp 0x18004ddc1
cmp qword [rcx + rax*8 + 8], r8
jne 0x18004ddc1
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1800777b0
int3
Function at 0x180051fd0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor esi, esi
lea r9, [rsp + 0x48]
mov rdi, rcx
mov qword [rsp + 0x48], rsi
add rcx, 0x68
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
call fcn.180058890
cmp qword [rsp + 0x48], rsi
je 0x18005208f
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rdi]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180052058
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x68]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x18005208f
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x1800520a2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x40], rsi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180052146
call fcn.18004f8d0
test al, al
je 0x180052146
mov rcx, qword [rdi + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rdi + 0x20]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800520f8
jle 0x1800520f4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov dword [rbx + 8], esi
mov rbx, qword [rdi + 0x28]
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x28], rsi
test rbx, rbx
je 0x180052138
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180052138
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180052138
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x180052146
call fcn.180058760
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x1800524e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x18038c530], 0
jne 0x180052551
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x18038c520], rax
mov eax, dword [rsp + 0x48]
mov qword [0x18038c528], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x18038c530], rax
lea rax, [0x18038c520]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18007b140
add rsp, 0x68
ret
Function at 0x180053bf0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x180053c1c
jle 0x180053c18
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180053c31
jle 0x180053c2d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x180053c44
jle 0x180053c41
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x180053c59
jle 0x180053c55
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x180053cc7
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x180053c7e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x180053ca5
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x180053c9f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx + 0x130], 8
lea rax, [rbx + 0x118]
jb 0x180053cbd
mov rax, qword [rbx + 0x118]
mov qword [rbx + 0x128], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180054960
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.180211600
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], 0x38
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.180054bc0
mov r12, rax
test rax, rax
je 0x180054b74
test rdi, rdi
jne 0x180054af2
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.180211600
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x180054a44
mov eax, 0xc0150002
jmp 0x180054b76
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
setg r14b
test rax, rax
jle 0x180054ade
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14b, r14b
je 0x180054aa4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180054ac0
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.18000dc00
nop
jmp 0x180054b2e
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x180054b76
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
cmp rcx, rdx
je 0x180054b2e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x180054b29
mov rdx, qword [rdx]
call fcn.18000dc00
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x180054b57
test rcx, rcx
jle 0x180054b50
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x180054b74
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x180054ba1
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x180054b76
Function at 0x180064750
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor esi, esi
test rcx, rcx
je 0x18006478c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1800647a1
jle 0x18006479d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rsi
mov edi, esi
mov edx, edi
mov rcx, rbx
call fcn.1800644b0
inc edi
cmp edi, 4
jl 0x1800647a3
cmp qword [rbx + 0x10], rsi
je 0x180064826
call fcn.180040750
mov rcx, qword [rbx]
mov dword [rsp + 0x40], esi
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x180064811
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], esi
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180064811
mov rax, qword gs:[0x30]
lea rcx, [rbx + 8]
call fcn.180064850
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x50], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret