joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003ca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140011240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140004140
lea rcx, [rsp + 0x30]
call fcn.140004210
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.1400017d0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140004260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003d35
lea rcx, [rsp + 0x30]
call fcn.140004180
nop
lea rcx, [rsp + 0x30]
call fcn.1400041a0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bc70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140003ea0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140011240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140004140
lea rcx, [rsp + 0x30]
call fcn.140004460
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.1400017d0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140004490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003f35
lea rcx, [rsp + 0x30]
call fcn.140004150
nop
lea rcx, [rsp + 0x30]
call fcn.140004170
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bc70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14000acf0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x14000ad5f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x14000ad48
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x14000ad3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x14000ad10
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x140011388]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ae20
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x14000ae60
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x140011b40]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x14000ae9e
cmp rsi, r14
jb 0x14000ae96
cmp rsi, r15
jae 0x14000ae96
cmp qword [rsi + 8], 0
jne 0x14000b067
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14000ae81
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x14000af32
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14000af29
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000af29
cmp dword [rsp + 0x70], 0x10000
je 0x14000afab
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x14000af29
sub rbx, rbp
cmp rbx, r14
jae 0x14000aef0
test rsi, rsi
jne 0x14000b010
cmp rdi, r15
ja 0x14000b04f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x14000b04f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b04f
cmp dword [rsp + 0x70], 0x10000
je 0x14000afe1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x14000af62
jmp 0x14000b04f
test rbx, rbx
je 0x14000af29
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14000b010
cmp rbx, r14
jae 0x14000aed0
jmp 0x14000af32
test rdi, rdi
je 0x14000b04f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14000b010
cmp rdi, r15
jbe 0x14000af40
jmp 0x14000b04f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x14000b020
mov rax, qword [0x140011b40]
mov qword [rsi], rax
mov qword [0x140011b40], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14000c934
Capabilities:
Parse pe header

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

Function at 0x14005411c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
bsf bx, r13w
shld bx, r13w, 0xbe
bsr rbx, r9
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
dec bh
rol bh, 0x97
xadd bx, si
mov qword [rsp + 0x20], rdi
cmc
push r14
bsf si, r15w
btc r14d, ecx
sub rsp, 0x30
sbb rdi, rsi
xchg r14d, r14d
sub dil, 5
sub ebp, ebp
mov esi, edx
movsxd r14, ebp
sub bl, r15b
shld r14w, sp, 0x2e
mov ebx, ebp
shld di, r9w, 6
xor eax, eax
mov rdi, rcx
movzx r14, r9w
mov r14d, 1
cmp si, sp
lock cmpxchg dword [0x140011380], r14d
jmp 0x14005419a
je 0x1400541dc
cmp rbx, 0x20
jmp 0x1400541a9
jae 0x1400541bb
xor ecx, ecx
jmp 0x1400541b6
jmp 0x1400541be
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
test spl, 0xb7
lock cmpxchg dword [0x140011380], r14d
jne 0x1400541a0
cmp qword [0x140011388], rbp
jmp 0x1400541e8
je 0x140054311
test rdi, rdi
jmp 0x1400541f6
jne 0x140054214
mov ecx, esi
jmp 0x140054203
call fcn.14000a2d0
mov ebx, eax
jmp 0x14005420f
jmp 0x140054316
mov ecx, dword [0x140011b5c]
movzx ebx, bx
mov ebx, ebp
test r12b, bpl
cmp r9b, cl
test ecx, ecx
jmp 0x14005422c
je 0x140054283
mov r8, qword [0x140011b50]
or ah, 0x39
bt rax, rax
btr ax, cx
mov rax, r8
test r8d, 0x5c0397ab
nop dword [rax]
test r8, 0x65bb169b
cmp r12b, r15b
cmp rdi, qword [rax]
jmp 0x140054264
je 0x14005428d
inc ebx
add rax, 0x38
cmp r14b, r13b
test rcx, r15
cmp ebx, ecx
jmp 0x14005427d
jb 0x14005425c
mov ebx, 4
jmp 0x140054316
cmp ebx, 0xffffffff
jmp 0x140054295
je 0x140054283
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
cmp r13, r8
cmc
and eax, r14d
cmp eax, esi
jmp 0x1400542b7
je 0x1400542fa
mov r8d, r14d
sets dl
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14000a650
mov edx, esi
mov ecx, ebx
jmp 0x1400542d8
call fcn.140054365
lea rcx, [rsp + 0x20]
bswap bx
movzx rbx, r9w
mov ebx, eax
jmp 0x1400542f0
call fcn.14000acf0
jmp 0x140054316
neg esi
jmp 0x140054301
sbb ebx, ebx
cmc
add ebx, 6
jmp 0x14005430c
jmp 0x140054316
mov ebx, 2
xchg dword [0x140011380], ebp
inc rax
mov rbp, qword [rsp + 0x48]
bswap di
mov eax, ebx
bt si, 0x8b
mov rbx, qword [rsp + 0x40]
jmp 0x14005433c
mov rsi, qword [rsp + 0x50]
xor edi, 0xcd13380d
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
movzx r14, r15w
movzx r14d, si
movsx r14w, r12b
pop r14
jmp 0x140054364
ret
Function at 0x140054365
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
movzx r9w, r15b
mov qword [rsp + 0x18], rbp
shld rax, rsp, 7
mov qword [rsp + 0x20], rsi
bt r9w, 0x17
cwde
sbb bx, 0x5cb8
push rdi
bsr bx, r12w
sub rsp, 0x20
sub bl, 0x9f
shl r8b, cl
and sil, 0xba
mov eax, ecx
add bl, bpl
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
cmp r10b, bpl
or r8d, 0x11a3bd94
or al, r10b
mov esi, edx
xor cx, r12w
or di, 0x13bc
add rbx, qword [0x140011b50]
clc
rdtsc
mov r8, qword [rbx]
sbb ah, bh
and ah, 0x1d
movzx eax, byte [rbx + 0x20]
xchg dil, dl
and al, 1
movsx ebp, dx
movzx edi, r12w
movzx ecx, al
lea rdi, [r8 - 5]
setp bpl
movzx bp, r13b
not bp
cmove rdi, r8
movzx ebp, bp
mov r8d, 0x40
movsx rbp, r10w
movzx dx, r12b
lea rbp, [rcx*2 + 5]
xchg cl, cl
movsx rdx, bp
not dl
mov rcx, rdi
movsx edx, r11w
mov rdx, rbp
jmp 0x14005442e
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jmp 0x14005443b
jne 0x14005444b
mov eax, 0xa
jmp 0x14005458e
test esi, esi
jmp 0x140054452
je 0x1400544ab
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
jmp 0x140054467
sub eax, edi
cmp r9b, cl
cmp ax, 0x70bd
sub eax, 5
jmp 0x14005447b
mov dword [rdi + 1], eax
clc
stc
jmp 0x140054485
test byte [rbx + 0x20], 1
jmp 0x14005448e
je 0x1400544ff
mov rax, qword [rbx]
jmp 0x14005449c
mov word [rax], 0xf9eb
jmp 0x1400544a6
jmp 0x1400544ff
mov eax, dword [rbx + 0x18]
jmp 0x1400544b3
test byte [rbx + 0x20], 1
jmp 0x1400544bc
mov dword [rdi], eax
je 0x1400544e2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
jmp 0x1400544d5
mov byte [rdi + 6], al
jmp 0x1400544dd
jmp 0x1400544ff
movzx eax, byte [rbx + 0x1c]
bswap rdx
movzx r9d, ax
mov byte [rdi + 4], al
mov r9w, 0xbcb0
movsx dx, r15b
cmovle r8w, sp
mov r8d, dword [rsp + 0x30]
mov dx, si
mov dl, 0x1c
xchg cx, r9w
lea r9, [rsp + 0x30]
cmovae ecx, ebx
bswap dx
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
movsx rcx, r9w
mov rdx, rdi
bswap ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
or di, si
btr di, 0x96
xor cl, byte [rbx + 0x20]
adc dil, 0x39
and cl, 2
shr bp, 0xac
shl dil, 0x9a
xor cl, byte [rbx + 0x20]
shl dil, cl
neg bpl
xor sil, cl
btc bp, 0xaf
movzx ebp, dx
and sil, 4
adc bpl, r11b
xor sil, cl
mov byte [rbx + 0x20], sil
btc rbp, 0x2b
xor eax, eax
bswap edi
mov rbx, qword [rsp + 0x38]
mov sil, r8b
bsr di, r14w
mov rbp, qword [rsp + 0x40]
sar sil, cl
movsx di, r10b
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
xchg dil, dil
bswap edi
setbe dil
pop rdi
jmp 0x1400545c0
ret
Function at 0x1800023c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [rsp + 0x58], 1
jne 0x18000247d
call fcn.1800053b0
mov dword [rsp + 0x30], eax
call fcn.180004f80
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 0
jne 0x180002416
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Internal_Hooks_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [rsp + 0x34], 0
jne 0x180002432
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Windows_Hooks_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180002490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [rsp + 0x30], 0
je 0x18000246f
cmp dword [rsp + 0x34], 0
je 0x18000246f
mov dword [rsp + 0x38], 1
jmp 0x180002477
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
jmp 0x180002483
jmp 0x180002481
xor eax, eax
add rsp, 0x48
ret
Function at 0x180004900
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x168
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov ecx, 0x1b58
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0xa0]
call fcn.180001ec0
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.180001f10
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x50], rax
lea rdx, str.74____66_44_89_11_B8_01_00_00_00
mov rcx, qword [rsp + 0x40]
call fcn.180001530
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rdx, [0x1800247a0]
mov rcx, qword [rsp + 0x50]
call fcn.180001530
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.180002010
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800049ca
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Find_Pattern_Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x180004b10
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xeb
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0xc
jge 0x180004aaa
lea rax, [rsp + 0x118]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0x78], rax
lea rdx, str.00_5C_B2_EC_22_00_00_00
mov rcx, qword [rsp + 0x68]
call fcn.180001530
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rdx, str.MapleStory.exe
mov rcx, qword [rsp + 0x78]
call fcn.180001530
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xa0]
call fcn.180002010
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180004a67
jmp 0x180004aaa
mov dword [rsp + 0x20], 0
jmp 0x180004a7b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x180004a92
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov byte [rcx + rax], 0xff
jmp 0x180004a71
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1800049da
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x180004ac1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180004aaa
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180004b0e
mov edx, 2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x168
ret
Function at 0x180005590
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800057b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180005697
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800055f4
mov rax, qword [0x180028008]
cmp qword [rsp + 0x20], rax
ja 0x1800055f4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800055b6
mov r8d, gethostbyname
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18000b1c0
mov r8d, gethostbyname
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180005623
jmp 0x180005697
cmp dword [rsp + 0x50], 0x10000
jne 0x18000567a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000567a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180005668
mov rax, qword [rsp + 0x28]
jmp 0x180005699
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180005692
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800057b0
mov qword [rsp + 0x20], rax
jmp 0x1800055b6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800056a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800057f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800057a3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800056fb
mov rax, qword [0x180028008]
cmp qword [rsp + 0x20], rax
ja 0x1800056fb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800056bd
mov r8d, gethostbyname
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18000b1c0
mov r8d, gethostbyname
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000572a
jmp 0x1800057a3
cmp dword [rsp + 0x50], 0x10000
jne 0x180005781
cmp qword [rsp + 0x48], 0x10000
jb 0x180005781
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000576f
mov rax, qword [rsp + 0x28]
jmp 0x1800057a5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000579e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800057f0
mov qword [rsp + 0x20], rax
jmp 0x1800056bd
xor eax, eax
add rsp, 0x68
ret
Function at 0x140001320
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13, r9
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
test rcx, rcx
je 0x1400013ec
test rdx, rdx
je 0x1400013ec
test r8d, r8d
je 0x1400013ec
mov rcx, rdx
call section..text
mov r15d, eax
test eax, eax
je 0x1400013ec
mov r12d, r14d
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, r14d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1400013ec
mov qword [rsp + 0x20], rbx
mov r9d, r12d
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400013ec
lea r9, [r14 + r15]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
xor edx, edx
mov r8d, 0x100000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov qword [rsp + 0x48], rax
jmp 0x1400013f5
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140001db0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0xa0]
lea r12, [rdx + rdx]
xor esi, esi
mov r13, r9
mov rbp, r8
mov r15d, esi
mov r14d, esi
cmp qword [rbx + 8], rsi
jbe 0x140001fa3
mov qword [rsp + 0x88], rdi
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov ecx, 0x43a
mov r8d, dword [r8 + r14*4]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140001e66
mov rdx, qword [rbx]
lea rcx, str.____Failed_to_open_handle_to_process_with_id__lu:_n_...__n
mov edx, dword [rdx + r14*4]
call fcn.140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140001f8e
mov qword [rsp + 0x30], rsi
mov r9d, 0x400
mov dword [rsp + 0x28], esi
mov r8d, eax
xor edx, edx
mov qword [rsp + 0x20], rsi
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x140001f8e
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8, r12
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x140001ea5
mov rdx, qword [rbx]
lea rcx, str.____Failed_to_allocate_memory_in_process_with_id__lu:_n_...__n
mov edx, dword [rdx + r14*4]
call fcn.140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001e35
mov r8, qword [rsp + 0x80]
mov r9, r12
mov rdx, rsi
mov qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001ee9
mov rdx, qword [rbx]
lea rcx, str.____Failed_to_write_jar_path_to_memory_memory_of_process_with_id__lu:_n_...__n
mov edx, dword [rdx + r14*4]
call fcn.140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x140001e35
mov r9, rsi
mov r8d, r13d
mov rdx, rbp
mov rcx, rdi
call fcn.140001320
mov rbp, rax
test rax, rax
jne 0x140001f5c
mov r9d, 0x8000
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rbx]
lea rcx, str.____Failed_to_inject_JAR_injector_into_process_with_id__lu:_n_...__n
mov edx, dword [rdx + r14*4]
call fcn.140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
test eax, eax
je 0x140001f7d
mov qword [rsp + 0x30], rsi
mov r9d, 0x400
mov dword [rsp + 0x28], esi
mov r8d, eax
xor edx, edx
mov qword [rsp + 0x20], rsi
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x140001f7d
mov rdx, qword [rbx]
lea rcx, str.___Successfully_injected_into_process_with_id__lu_...__n
inc r15
mov edx, dword [rdx + r14*4]
call fcn.140001430
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x90]
inc r14
cmp r14, qword [rbx + 8]
jb 0x140001e00
mov rdi, qword [rsp + 0x88]
mov rax, r15
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002e64
Capabilities:
Parse pe header

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

Function at 0x14000a434
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000a230
Function at 0x14000f1e8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14000f1fe
mov al, 1
jmp 0x14000f25e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14000f20f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14000f25c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400111c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000f25c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14000f25c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000f25c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14000f25e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140010ba0
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 0x140010bd0
xor eax, eax
jmp 0x140010c93
mov rbp, rbx
cmp word [rax], si
je 0x140010bf5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010bdc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010bd8
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.14000d78c
movsxd r14, eax
test eax, eax
jne 0x140010c33
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010bc9
mov rcx, r14
call fcn.14000d72c
mov rdi, rax
test rax, rax
jne 0x140010c4c
xor ecx, ecx
call fcn.14000b948
jmp 0x140010c28
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.14000d78c
test eax, eax
jne 0x140010c7d
mov rcx, rdi
call fcn.14000b948
jmp 0x140010c87
xor ecx, ecx
call fcn.14000b948
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