joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400045ad
xor eax, eax
jmp 0x140004702
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400045d8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400045d8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140004702
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400046f5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000461b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004646
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400046fa
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x1400046f5
cmp eax, 1
jle 0x1400046b5
cmp eax, 3
jne 0x1400046f5
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400046fa
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400046e3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400046f5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400046fa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400054d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004910
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400049e3
cmp byte [rcx + 0x71], 0
je 0x1400049e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400049df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400049a4
sub eax, 1
je 0x1400049a8
cmp eax, 2
jne 0x1400049df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400054d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400049d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400049df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000498c
xor al, al
jmp 0x14000498c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400054d0
add rsp, 0x60
pop rbx
ret
Function at 0x14000e350
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x30
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r14, rcx
lea r8, [0x140095520]
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
call fcn.140061f5c
mov rbp, qword [rsp + 0x20]
test rbp, rbp
jne 0x14000e395
lea eax, [rbx - 3]
jmp 0x14000e457
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 2]
call fcn.14005f060
test eax, eax
je 0x14000e3b1
mov ebx, 0xfffffffd
jmp 0x14000e44b
mov rcx, rbp
mov qword [rsp + 0x60], rsi
call fcn.14005b0b4
movsxd rsi, eax
test eax, eax
jns 0x14000e3cc
mov ebx, 0xfffffffd
jmp 0x14000e446
je 0x14000e446
lea eax, [rsi + 1]
mov qword [rsp + 0x68], rdi
movsxd rcx, eax
lea rdx, [0x14008a062]
call fcn.14005403c
mov rdi, rax
test rax, rax
jne 0x14000e3f2
lea ebx, [rax - 2]
jmp 0x14000e441
xor r8d, r8d
mov byte [rsi + rax], bl
xor edx, edx
mov rcx, rbp
call fcn.14005f060
mov r9, rbp
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.140063494
cmp rax, rsi
je 0x14000e429
mov rcx, rdi
call fcn.140053960
mov ebx, 0xfffffffd
jmp 0x14000e441
mov r8, rax
mov rdx, rdi
mov rcx, r14
call fcn.140010c00
mov rcx, rdi
mov ebx, eax
call fcn.140053960
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call fcn.14005ecc0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140053940
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
Function at 0x140014c40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1400b0930]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x1400afd68]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400b0938]
cvtsi2ss xmm0, qword [0x1400b0940]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400b0938], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1400afd68]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x140014d7f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1400b0930]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140014d7f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140014dfe
mov rdx, qword [0x1400b0930]
cmp rax, rdx
je 0x140014db7
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x140014dfe
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140014dfe
mov rcx, qword [0x1400b0930]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140014dfe
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140014e0e
mov eax, 0xffffffff
jmp 0x140014e1b
mov rax, qword [0x1400afd68]
mov eax, dword [rax + 0x1e20]
cmp dword [0x1400ac610], eax
je 0x140014e2e
mov dword [0x1400ac610], eax
call fcn.1400147f0
call fcn.140014970
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140053940
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140016b50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140016bad
lea rbx, [0x1400956f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140016b94
cmp r10, 2
jb 0x140016b94
cmp byte [r9], r8b
jne 0x140016b94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140016b70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140016bef
lea rbx, [0x1400956f0]
cmp r8b, 0x23
jne 0x140016bd3
cmp byte [r9], r8b
jne 0x140016bd3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140016bc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140016d30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140016d4a
mov qword [r8], 0
lea rdx, [0x140095520]
call fcn.140016c00
mov rbx, rax
test rax, rax
jne 0x140016d6a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.14005b0b4
mov esi, eax
cmp eax, 0xffffffff
je 0x140016e38
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.14005f060
test eax, eax
jne 0x140016e38
mov rcx, rbx
call fcn.14005b0b4
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140016e38
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14005f060
test eax, eax
jne 0x140016e38
cmp rdi, 0xffffffffffffffff
je 0x140016e38
mov rax, qword [0x1400afd68]
test rax, rax
je 0x140016dda
inc dword [rax + 0x3b4]
mov rcx, rdi
call fcn.140067234
mov rsi, rax
test rax, rax
je 0x140016e38
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140063494
mov rcx, rbx
cmp rax, rdi
je 0x140016e26
call fcn.14005ecc0
mov rax, qword [0x1400afd68]
test rax, rax
je 0x140016e1c
dec dword [rax + 0x3b4]
mov rcx, rsi
call fcn.140063128
jmp 0x140016e40
call fcn.14005ecc0
test r14, r14
je 0x140016e33
mov qword [r14], rdi
mov rax, rsi
jmp 0x140016e42
mov rcx, rbx
call fcn.14005ecc0
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140022d30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400afd68]
lea rdx, [0x1400956f0]
mov r8d, ecx
mov rbx, qword [rax + 0x1ae0]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140022de7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140022dd3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140022dd8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14002ac20
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140023cd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400afd68]
mov edi, edx
cmp byte [rbx + 0x1e25], 0
jne 0x140023d30
cmp byte [rbx + 0x1e26], 0
jne 0x140023d30
mov r9d, dword [rbx + 0x2ec8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140016ad0
test dil, 1
je 0x140023e4e
jmp 0x140023db8
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ec8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14009a380]
mulss xmm1, dword [0x14009a364]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], 1
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14009a2ac]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
call fcn.140016ad0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140023e08
lea r11, [0x1400956f0]
cmp r9b, 0x23
jne 0x140023deb
cmp byte [r8], r9b
jne 0x140023deb
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140023dd8
not ecx
call fcn.14001d920
test rax, rax
je 0x140023e4e
cmp byte [rax + 0x8e], 0
je 0x140023e4e
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xac], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ec8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ec8]
call fcn.140016ad0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001ff30
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140053940
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14004f8b0
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x12c
mov rdi, rax
call fcn.140084b40
xor r14d, r14d
mov dword [rsp + 0x40], 0x130
cmp rdi, 0xffffffffffffffff
je 0x14004f986
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004f986
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14004f97d
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x14004f93f
mov r8, qword [rbx]
lea rax, [rsp + 0x6c]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004f963
inc rax
test ecx, ecx
jne 0x14004f950
mov rcx, rdi
test edx, edx
je 0x14004fac0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004f932
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, r14d
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rax
mov rdi, rax
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp qword [rsi + 0x18], 0xf
mov r8, rsi
mov rbp, rax
jbe 0x14004f9c6
mov r8, qword [rsi]
mov r9d, 0x20
mov qword [rsp + 0x20], r14
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor edx, edx
mov dword [rsp + 0x28], r14d
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004fa44
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004fa3f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004fad0
mov rcx, r8
call fcn.140053960
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14004fa89
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14004fa84
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004fad0
mov rcx, r8
call fcn.140053960
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140053940
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x48]
jmp 0x14004f989
call fcn.1400662bc
int3
Function at 0x140050550
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14005061c
nop
cmp dword [0x1400af714], 2
jne 0x1400505dd
lea rdx, str.SolarlandClient_Win64_Shipping.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400505dd
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x1400505dd
mov edi, dword [rsp + 0x28]
mov ebx, eax
cmp dword [0x1400af714], 1
jne 0x14005060a
lea rdx, str.SolarlandClient_Win64_Shipping.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14005060a
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x14005060a
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400505b0
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140053940
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140052790
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400527be
xor eax, eax
jmp 0x1400528a4
cmp qword [rcx + 0x68], 0
je 0x1400527cf
call fcn.1400528c0
jmp 0x1400528a4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400527e6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400527e8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005281a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400844a0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14005289e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140052851
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14005287a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140063494
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14005289e
cmp rsi, rbx
ja 0x140052858
test rsi, rsi
je 0x14005289e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140063494
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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 0x1400547fc
Capabilities:
Parse pe header

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

Function at 0x14005aa18
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005a883
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005a883
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005a883
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005a883
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005a883
cmp dword [rcx + 0x84], 0xe
jbe 0x14005a883
cmp dword [rcx + 0xf8], 0
je 0x14005a883
mov ecx, ebx
call fcn.14005a934
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14005a710
nop
cmp dword [rbp + 0x20], 0
je 0x14005a8d1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005a8dc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005a814
Function at 0x14005adcc
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.140054460
sub rsp, rax
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140067644
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005ae1b
mov rax, rbp
jmp 0x14005af23
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xae780]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14006c080
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xae780]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005af1f
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 0x14005af1f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14006c080
test rax, rax
js 0x14005af1f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005af1f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005af11
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005af11
cmp byte [rcx], 0xd
jne 0x14005aef7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005af06
cmp byte [rcx + 1], 0xa
jne 0x14005af06
inc rcx
jmp 0x14005af06
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xab420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005aed9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005af23
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140053940
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret