joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800437d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x180043817
nop
cmp al, 0x25
jne 0x18004380c
cmp byte [rcx + 1], al
jne 0x180043817
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x180043800
cmp byte [rcx], 0x25
jne 0x1800438fa
cmp byte [rcx + 1], 0x25
je 0x1800438fa
lea rdx, [rsp + 0x20]
call fcn.180035530
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.180003fe0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x180043868
inc rcx
cmp byte [rcx], 0x20
je 0x180043860
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1800438e8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x180043883
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x180043899
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1800438d6
movss xmm2, dword [0x1800631c4]
cmp al, 0x39
ja 0x1800438d6
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1800438b0
cmp r9b, 0x2d
jne 0x1800438f5
xorps xmm1, xmmword [0x180063420]
movaps xmm0, xmm1
jmp 0x1800438fd
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1800438fd
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180054760
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x180043920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x18006c040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x180043967
nop
cmp al, 0x25
jne 0x18004395c
cmp byte [rcx + 1], al
jne 0x180043967
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x180043950
cmp byte [rcx], 0x25
jne 0x180043a44
cmp byte [rcx + 1], 0x25
je 0x180043a44
lea rdx, [rsp + 0x20]
call fcn.180035530
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.180003fe0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1800439b8
nop dword [rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1800439b0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x180043a36
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1800439d3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1800439e9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x180043a24
movsd xmm2, qword [0x180063180]
cmp al, 0x39
ja 0x180043a24
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x180043a00
cmp r9b, 0x2d
jne 0x180043a3f
xorps xmm1, xmmword [0x180063410]
movaps xmm0, xmm1
jmp 0x180043a47
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x180043a47
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180054760
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x1800442d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movzx edi, cx
mov rbx, r8
mov rsi, rdx
test rdx, rdx
je 0x1800442f2
test rbx, rbx
jne 0x18004430c
mov r8d, 0x2ab
lea rdx, str.D:ProgCpayday3_internal_dx12kiero.cpp
lea rcx, str._original___NULL___function___NULL
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [0x18006d3c8], 0
je 0x1800444a6
mov rax, qword [0x18006d3c0]
mov r8, rsi
mov rdx, rbx
mov qword [rsp + 0x48], r14
mov rdi, qword [rax + rdi*8]
mov rcx, rdi
call fcn.180053888
test eax, eax
jne 0x18004449c
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x18006d320], esi
je 0x180044375
cmp rbx, 0x20
jae 0x18004435e
xor ecx, ecx
jmp 0x180044360
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18006d320], esi
jne 0x180044354
cmp qword [0x18006d328], r14
je 0x180044495
mov qword [rsp + 0x40], rbp
test rdi, rdi
jne 0x180044397
mov ecx, esi
call fcn.180053784
mov ebp, eax
jmp 0x1800443c4
mov ecx, dword [0x18006d58c]
mov ebx, r14d
test ecx, ecx
je 0x1800443bf
mov r8, qword [0x18006d580]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800443e9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800443b0
mov ebp, 4
xchg dword [0x18006d320], r14d
neg ebp
mov rbp, qword [rsp + 0x40]
sbb eax, eax
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800443bf
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x18004448b
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800532c8
mov ebp, eax
test eax, eax
jne 0x1800443c4
mov edx, esi
mov ecx, ebx
call fcn.180053674
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x1800443c4
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180044472
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180044468
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180044440
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18006d328]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800443c4
mov ebp, 5
jmp 0x1800443c4
xchg dword [0x18006d320], r14d
mov eax, 0xffffffff
jmp 0x1800443d4
mov rbx, qword [rsp + 0x50]
mov eax, 0xfffffffb
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180053600
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180053664
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180053652
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005364b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18005361f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18006d328]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180053674
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18006d580]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800536aa
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800536e0
mov eax, 0xa
jmp 0x18005376f
test esi, esi
je 0x180053702
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180053723
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180053723
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18005371d
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180053723
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180053a48
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180053a5f
cmp r8b, 0x90
je 0x180053a5f
cmp r8b, 0xcc
jne 0x180053a81
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180053a7d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180053a81
add edx, r10d
cmp edx, r9d
jb 0x180053a6d
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180053de8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180053e32
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18006d578]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x180053e6b
cmp rbx, r14
jb 0x180053e68
cmp rbx, r12
jae 0x180053e68
cmp qword [rbx + 8], rsi
jne 0x180053fcd
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180053e54
mov r15, rdi
cmp rdi, r14
jb 0x180053f87
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x180053eb7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180053ef1
cmp dword [rbp - 0x10], 0x10000
je 0x180053ec1
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180053ef1
sub r15, r13
cmp r15, r14
jae 0x180053e8d
jmp 0x180053ef1
test r15, r15
je 0x180053ef1
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180053f92
cmp r15, r14
jae 0x180053e7c
test rbx, rbx
jmp 0x180053f85
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180053fcd
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180053fcd
cmp dword [rbp - 0x10], 0x10000
je 0x180053f60
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x180053f1d
jmp 0x180053fcd
test rdi, rdi
je 0x180053fcd
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180053f92
cmp rdi, r12
jbe 0x180053ef9
jmp 0x180053fcd
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x180053f9e
mov rax, qword [0x18006d578]
mov qword [rbx], rax
mov qword [0x18006d578], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
pop rsi
fimul word [rcx - 0x10b0dc2f]
invalid
xor al, 0xf8
mov bl, 0x5f
add bh, byte [rsi - 0x12]
invalid
jg 0x1400209d6
add ebx, dword [rax - 0x17]
jbe 0x140020957
xchg ebp, eax
jbe 0x140020920
invalid
movsb byte [rdi], byte [rsi]
loopne 0x140020968
insd dword [rdi], dx
add eax, 0x5e2a7397
jge 0x140020a4c
add al, 0x5d
leave
xor eax, 0x92adcc1
hlt
invalid
mov ch, 0x60
xchg r12, rax
sbb byte [rdi], cl
lodsb al, byte [rsi]
in eax, dx
lodsb al, byte [rsi]
je 0x140020a46
std
mov esi, esp
invalid
Function at 0x1400060a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp dword [0x14002be54], 0
je 0x1400061a0
cmp dword [0x14002be50], 0
je 0x1400060fd
mov dword [0x14002bf0c], ecx
mov ecx, 0xaede7345
mov dword [0x14002bf10], edx
call fcn.140006540
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0xd8
ret
xorps xmm0, xmm0
mov dword [rsp + 0x20], edx
xor eax, eax
lea r8, str.km.move__d___d__r
mov r9d, ecx
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
lea edx, [rax + 0x78]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call fcn.140006040
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140006160
mov rcx, qword [0x14002be48]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0xd8
ret
movd xmm0, edx
movd xmm1, ecx
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0xf0], rbx
mov rbx, qword [0x14002bda0]
mov qword [rsp + 0xd0], rdi
mov rdi, qword [0x14002bd90]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x30], xmm1
call fcn.140005de0
test eax, eax
je 0x140006201
mov rcx, qword [0x14002be40]
lea r9, [rsp + 0x30]
lea r8, [rbx - 4]
mov dword [rsp + 0x20], 8
mov edx, edi
call qword [sym.imp.VMM.dll_VMMDLL_MemWrite]
mov rbx, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0xd8
ret

Function at 0x140006420
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xc8
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
cmp dword [0x14002be50], 0
je 0x140006498
test ecx, ecx
je 0x14000646f
or dword [0x14002bf08], 1
mov ecx, 0x9823ae8d
call fcn.140006540
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0xc8
ret
and dword [0x14002bf08], 0xfffffffe
mov ecx, 0x9823ae8d
call fcn.140006540
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0xc8
ret
xorps xmm0, xmm0
lea r8, str.km.left__d__r
xor eax, eax
mov r9d, ecx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0x30], xmm0
lea edx, [rax + 0x78]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
call fcn.140006040
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400064f1
mov rcx, qword [0x14002be48]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0xc8
ret
Function at 0x140006540
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
inc dword [0x14002bec8]
mov dword [0x14002becc], ecx
call fcn.14000e258
movups xmm0, xmmword [0x14002bf08]
mov rcx, qword [0x14002be58]
xor r9d, r9d
movups xmm1, xmmword [0x14002bf18]
lea rdx, [0x14002bec0]
mov dword [0x14002bec4], eax
movaps xmmword [0x14002bed0], xmm0
lea rax, [0x14002be60]
movups xmm0, xmmword [0x14002bf28]
lea r8d, [r9 + 0x48]
mov dword [rsp + 0x28], socket
movaps xmmword [0x14002bee0], xmm1
movsd xmm1, qword [0x14002bf38]
movaps xmmword [0x14002bef0], xmm0
movsd qword [0x14002bf00], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x14002be58]
lea rdx, [0x14002be70]
xor eax, eax
mov dword [rsp + 0x30], socket
mov qword [0x14002bf0c], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 0x400
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140006cc0
add rsp, 0x58
ret
Function at 0x140007784
Capabilities:
Parse pe header

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

Function at 0x14000f7b8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f5b4
Function at 0x140014f40
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 0x140014f70
xor eax, eax
jmp 0x140015033
mov rbp, rbx
cmp word [rax], si
je 0x140014f95
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140014f7c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140014f78
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.140014e60
movsxd r14, eax
test eax, eax
jne 0x140014fd3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140014f69
mov rcx, r14
call fcn.14001128c
mov rdi, rax
test rax, rax
jne 0x140014fec
xor ecx, ecx
call fcn.140010614
jmp 0x140014fc8
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.140014e60
test eax, eax
jne 0x14001501d
mov rcx, rdi
call fcn.140010614
jmp 0x140015027
xor ecx, ecx
call fcn.140010614
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 0x14001935c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140019372
mov al, 1
jmp 0x1400193d2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140019383
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400193d0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140015860
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400193d0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400193d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400193d0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400193d2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001a054
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000e29c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001a0de
cmp byte [rbp - 0x21], r15b
je 0x14001a0d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001a114
call fcn.140010864
test eax, eax
jne 0x14001a100
cmp byte [rbp - 0x21], r15b
je 0x14001a0f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001a114
cmp byte [rbp - 0x21], r15b
je 0x14001a111
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400135ac
test eax, eax
jne 0x14001a1b4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e29c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001a153
cmp byte [rbp - 0x21], r15b
je 0x14001a188
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001a188
call fcn.140010864
test eax, eax
jne 0x14001a174
cmp byte [rbp - 0x21], r15b
je 0x14001a16d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001a188
cmp byte [rbp - 0x21], r15b
je 0x14001a185
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400135ac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001a1b4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001a1b7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001a1c5
mov rcx, rdi
call fcn.140010614
cmp byte [rbp + 0x3f], r15b
je 0x14001a1d4
mov rcx, qword [rbp + 0x27]
call fcn.140010614
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001c7e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c808
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c808
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret