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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov qword [rsp + 0x68], 0
lea rbx, [rsp + 0x78]
call fcn.2ac403110
mov qword [0x2ac40b180], rbx
call fcn.2ac402f20
mov rsi, rax
test rax, rax
je 0x2ac403316
lea r12, [rsp + 0x68]
lea r13, [0x2ac40b080]
lea rbp, [rsp + 0x70]
lea rdi, [rsp + 0x64]
nop dword [rax]
mov rdx, r12
mov rcx, rsi
call fcn.2ac402b90
mov r15, qword [rsp + 0x68]
mov r14, rax
call fcn.2ac4019d0
test r15, r15
je 0x2ac40326e
mov rcx, r14
lea r10, [r15 + r14]
xor r9d, r9d
xor r8d, r8d
nop word [rax + rax]
lea r11d, [r8 + 1]
movzx r8d, r11b
movzx r11d, r11b
movzx r15d, byte [r13 + r11]
lea edx, [r15 + r9]
movzx r9d, dl
movzx edx, dl
movzx eax, byte [r13 + rdx]
mov byte [r13 + rdx], r15b
mov byte [r13 + r11], al
add al, byte [r13 + rdx]
movzx eax, al
movzx eax, byte [r13 + rax]
xor byte [rcx], al
add rcx, 1
cmp r10, rcx
jne 0x2ac403228
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x68]
mov r8, rbx
mov rdx, rbp
mov r9d, 0x20
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rax
call fcn.2ac404bd0
test eax, eax
jne 0x2ac4032fe
cmp qword [rsp + 0x70], 0
je 0x2ac4032fe
mov qword [rsp + 0x50], 0
xor r8d, r8d
mov rcx, rbx
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x48], 0
mov edx, 0x1fffff
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r14
call fcn.2ac404e10
mov byte [0x2ac407010], 1
mov qword [rsp + 0x78], 0xffffffff88ca6c00
mov rdx, rbx
xor ecx, ecx
call fcn.2ac404cf0
jmp 0x2ac4031f8
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x2ac4031a0
Function at 0x2ac405070
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2ac405db0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.2ac405db0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x2ac4050e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x2ac41ac24]
mov r12, rcx
test ebx, ebx
jle 0x2ac405210
mov rax, qword [0x2ac41ac28]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x2ac40512b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x2ac4051b5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x2ac405110
mov rcx, r12
call fcn.2ac405890
mov rsi, rax
test rax, rax
je 0x2ac405232
mov rax, qword [0x2ac41ac28]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.2ac4059c0
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2ac41ac28]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2ac405217
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2ac4051ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2ac4051c0
add dword [0x2ac41ac24], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x2ac41ac28]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2ac4051ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2ac405070
nop dword [rax]
xor ebx, ebx
jmp 0x2ac405138
mov rax, qword [0x2ac41ac28]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2ac405070
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.2ac405070
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2ac4054e0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x2ac41ac60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2ac41ac40]
test rbx, rbx
je 0x2ac40553c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x2ac405533
test r12, r12
je 0x2ac405533
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2ac405518
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x2ac405890
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2ac408430]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2ac4058b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2ac4058b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2ac4058b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x2ac405905
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2ac4058fc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2ac4058b0
add rax, 0x28
cmp rax, r9
jne 0x2ac4058e8
xor eax, eax
ret

Function at 0x2ac405910
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2ac408430]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x2ac405930
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2ac405938
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x2ac405930
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x2ac4059c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2ac408430]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x2ac4059e0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x2ac4059e8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x2ac406030
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
mov rax, rcx
jne 0x2ac406053
mov rdx, rcx
lea r8, [rcx + 0xa]
movzx ecx, byte [rax + 0xb]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac406040
mov byte [rax + 0xa], 1
ret

Function at 0x2ac406060
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
mov rbx, rcx
jne 0x2ac406085
mov rdx, rcx
lea rcx, [rcx + 0xb]
movzx r8d, byte [rbx + 0xc]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406070
mov byte [rbx + 0xb], 1
ret

Function at 0x2ac406090
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
mov rbx, rcx
jne 0x2ac4060b5
mov rdx, rcx
lea rcx, [rcx + 0xc]
movzx r8d, byte [rbx + 0xd]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac4060a0
mov byte [rbx + 0xc], 1
ret

Function at 0x2ac4060c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x8d], 0
mov r8, rcx
jne 0x2ac4060fb
mov rax, rcx
lea rcx, [rcx + 0x8d]
nop word cs:[rax + rax]
movzx edx, byte [r8 + 0x8e]
xor byte [rax], dl
add rax, 1
cmp rax, rcx
jne 0x2ac4060e0
mov byte [r8 + 0x8d], 1
mov rax, r8
ret

Function at 0x2ac406100
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
mov rbx, rcx
jne 0x2ac406125
mov rdx, rcx
lea rcx, [rcx + 0xe]
movzx r8d, byte [rbx + 0xf]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406110
mov byte [rbx + 0xe], 1
ret

Function at 0x2ac406130
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x97], 0
mov r8, rcx
jne 0x2ac40616b
mov rax, rcx
lea rcx, [rcx + 0x97]
nop word cs:[rax + rax]
movzx edx, byte [r8 + 0x98]
xor byte [rax], dl
add rax, 1
cmp rax, rcx
jne 0x2ac406150
mov byte [r8 + 0x97], 1
mov rax, r8
ret
Function at 0x2ac406170
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
mov rbx, rcx
jne 0x2ac406195
mov rdx, rcx
lea rcx, [rcx + 0xf]
movzx r8d, byte [rbx + 0x10]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406180
mov byte [rbx + 0xf], 1
ret

Function at 0x2ac4061a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
mov rbx, rcx
jne 0x2ac4061c5
mov rdx, rcx
lea rcx, [rcx + 0x10]
movzx r8d, byte [rbx + 0x11]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac4061b0
mov byte [rbx + 0x10], 1
ret

Function at 0x2ac4061d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
mov rbx, rcx
jne 0x2ac4061f5
mov rdx, rcx
lea rcx, [rcx + 0x11]
movzx r8d, byte [rbx + 0x12]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac4061e0
mov byte [rbx + 0x11], 1
ret

Function at 0x2ac406200
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
mov rbx, rcx
jne 0x2ac406225
mov rdx, rcx
lea rcx, [rcx + 0x13]
movzx r8d, byte [rbx + 0x14]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406210
mov byte [rbx + 0x13], 1
ret

Function at 0x2ac406230
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
mov rbx, rcx
jne 0x2ac406255
mov rdx, rcx
lea rcx, [rcx + 0x14]
movzx r8d, byte [rbx + 0x15]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406240
mov byte [rbx + 0x14], 1
ret

Function at 0x2ac406260
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
mov rbx, rcx
jne 0x2ac406285
mov rdx, rcx
lea rcx, [rcx + 0x1e]
movzx r8d, byte [rbx + 0x1f]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406270
mov byte [rbx + 0x1e], 1
ret

Function at 0x2ac406290
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
mov rbx, rcx
jne 0x2ac4062b5
mov rdx, rcx
lea rcx, [rcx + 0x1f]
movzx r8d, byte [rbx + 0x20]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac4062a0
mov byte [rbx + 0x1f], 1
ret

Function at 0x2ac4062c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
mov rax, rcx
jne 0x2ac4062e3
mov rdx, rcx
lea r8, [rcx + 3]
movzx ecx, byte [rax + 4]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac4062d0
mov byte [rax + 3], 1
ret

Function at 0x2ac4062f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2e], 0
mov rbx, rcx
jne 0x2ac406315
mov rdx, rcx
lea rcx, [rcx + 0x2e]
movzx r8d, byte [rbx + 0x2f]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406300
mov byte [rbx + 0x2e], 1
ret

Function at 0x2ac406320
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
mov rbx, rcx
jne 0x2ac406345
mov rdx, rcx
lea rcx, [rcx + 0x31]
movzx r8d, byte [rbx + 0x32]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406330
mov byte [rbx + 0x31], 1
ret

Function at 0x2ac406350
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
mov rax, rcx
jne 0x2ac406373
mov rdx, rcx
lea r8, [rcx + 4]
movzx ecx, byte [rax + 5]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac406360
mov byte [rax + 4], 1
ret
Function at 0x2ac406380
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x35], 0
mov rbx, rcx
jne 0x2ac4063a5
mov rdx, rcx
lea rcx, [rcx + 0x35]
movzx r8d, byte [rbx + 0x36]
xor byte [rdx], r8b
add rdx, 1
cmp rdx, rcx
jne 0x2ac406390
mov byte [rbx + 0x35], 1
ret

Function at 0x2ac4063b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
mov rax, rcx
jne 0x2ac4063d3
mov rdx, rcx
lea r8, [rcx + 5]
movzx ecx, byte [rax + 6]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac4063c0
mov byte [rax + 5], 1
ret

Function at 0x2ac4063e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
mov rax, rcx
jne 0x2ac406403
mov rdx, rcx
lea r8, [rcx + 7]
movzx ecx, byte [rax + 8]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac4063f0
mov byte [rax + 7], 1
ret

Function at 0x2ac406410
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
mov rax, rcx
jne 0x2ac406433
mov rdx, rcx
lea r8, [rcx + 8]
movzx ecx, byte [rax + 9]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac406420
mov byte [rax + 8], 1
ret

Function at 0x2ac406440
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rax, rcx
jne 0x2ac406463
mov rdx, rcx
lea r8, [rcx + 9]
movzx ecx, byte [rax + 0xa]
xor byte [rdx], cl
add rdx, 1
cmp rdx, r8
jne 0x2ac406450
mov byte [rax + 9], 1
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
retf
insd dword [rdi], dx
cmpsd dword [rsi], dword [rdi]
add eax, 0x315f0363
push 0x6fc12db4
cmp byte [rsi + 0x712cb50e], 0xe8
sub ax, word [rsi]
invalid
jo 0x14003f632
fbstp tbyte [0x10f783ad5]
xor eax, 0xcf744437
int3
jg 0x14003f694
fmul qword [rax - 0x797d8c4f]
in al, dx
invalid
xor dword [r10], esi
invalid
leave
mov dword [rsi - 0x2ff5846c], edi
pop rax
clc
adc eax, 0xa4e91d0c
jmp 0x1151bc7e9
invalid
rcl dword [rdi]
invalid
add eax, 0xe3cee224
insd dword [rdi], dx
jl 0x14003f6a5
jno 0x14003f6d8
ret
jrcxz 0x14003f71e
clc
xchg ebx, ebx
sti
mov edi, 0x53cbdd63
push rbx
loopne 0x14003f777
invalid
in eax, dx
fstpnce st(7), st(0)
cmp dl, byte [0xf6823f18]
movsb byte [rdi], byte [rsi]
mov dh, 0xa4
mov esp, 0xbf2e2e82
scasd eax, dword [rdi]
loopne 0x14003f715
or eax, 0xfc24d447
sbb cl, bl
invalid
invalid
Function at 0x140027db0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001b2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b76
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b78
xor al, al
add rsp, 0x28
ret
Function at 0x14001217c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
mov eax, 0x1040
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea rcx, [rsp + 0x30]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ebx, ebx
test eax, eax
je 0x140012201
lea rax, str.DeploymentRuleSet.jar
lea r9, [rsp + 0x30]
lea r8, str._sSunJavaDeployment_s
lea rcx, [rsp + 0x830]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.140012888
test eax, eax
jle 0x140012201
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400121fd
test al, 0x10
jne 0x1400121fd
mov ebx, 1
mov eax, ebx
jmp 0x140012203
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x1040
pop rbx
ret

Function at 0x140014dc0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140014c30

Function at 0x140015ff8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001600e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140016010
xor eax, eax
test eax, eax
je 0x140016020
mov ecx, eax
call fcn.140016720
or eax, 0xffffffff
jmp 0x140016022
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001b03b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140041c50]
jne 0x14001340a
rol rcx, 0x10
test cx, 0xffff
jne 0x140013406
repz ret
ror rcx, 0x10
jmp 0x14001af94
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140058b80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140058c78]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001b019
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140058b80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001b03b
mov rax, qword [rsp + 0x88]
mov qword [0x140058c78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140058c18], rax
mov rax, qword [0x140058c78]
mov qword [0x140058af0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140058c00], rax
mov dword [0x140058ae0], 0xc0000409
mov dword [0x140058ae4], 1
mov rax, qword [0x140041c50]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140041c58]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140058b78], eax
mov ecx, 1
call fcn.14002897c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140032630]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140058b78], 0
jne 0x14001b0c2
mov ecx, 1
call fcn.14002897c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400239cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x1400239f6
call fcn.140016700
and dword [rax], 0
call fcn.1400166e0
mov ebx, socket
mov dword [rax], ebx
call fcn.14001af74
mov eax, ebx
jmp 0x140023a46
test edx, 0xfffffff9
jne 0x1400239d9
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140023a1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140016720
call fcn.1400166e0
mov eax, dword [rax]
jmp 0x140023a46
test al, 0x10
jne 0x140023a44
test al, 1
je 0x140023a44
test bl, 2
je 0x140023a44
call fcn.140016700
mov dword [rax], 5
call fcn.1400166e0
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x140023a16
xor eax, eax
add rsp, 0x20
pop rbx
ret