joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800215c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0xa8]
add eax, 0xda5
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
xor eax, 0x3e36
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
sub eax, 0x159e
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
sub eax, 0xb40
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x1829
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
add eax, 0x9b7
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x3734
cmp dword [rsp + 0x2c], eax
jg 0x180021807
mov eax, dword [rsp + 0x20]
xor eax, 0x398d
cmp dword [rsp + 0x34], eax
jg 0x1800216d7
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x88]
xor eax, 0x1663b7
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
imul ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x20]
sub eax, 0xbe8
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x180021807
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rax + 0x44]
imul eax, dword [rcx + 0x48]
add eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jb 0x180021807
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x180021710
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
add eax, 0x4e12
cmp dword [rsp + 0x24], eax
jae 0x180021807
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xb8]
mov dword [rsp + 0x28], eax
jmp 0x180021753
mov eax, dword [rsp + 0x28]
add eax, 4
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x90]
sub eax, 0x21d2
cmp dword [rsp + 0x28], eax
jae 0x180021802
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0x18]
mov eax, dword [rcx + rax + 0xb8]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [rsp + 0x2c]
xor eax, 0x1b76
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x88]
add eax, dword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xb4]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xb4], eax
jmp 0x180021748
jmp 0x180021706
mov eax, dword [rsp + 0x30]
sub eax, 0xd22
add rsp, 0x68
ret
Function at 0x140840318
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14084049f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140840349
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084032f
add dl, dl
jne 0x140840356
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408403b6
xor eax, eax
add dl, dl
jne 0x140840365
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084046d
add dl, dl
jne 0x140840376
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140840383
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140840390
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084039d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408403aa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084033e
mov eax, 1
add dl, dl
jne 0x1408403c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408403d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408403bb
sub eax, ebx
mov ebx, 1
jne 0x14084040c
mov ecx, 1
add dl, dl
jne 0x1408403ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408403fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408403e3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084033e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140840428
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140840435
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084041d
cmp eax, 0x7d00
jae 0x14084045b
cmp eax, 0x500
jb 0x140840456
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084033e
cmp eax, 0x7f
ja 0x14084045e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084033e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140840492
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14084033e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400017de
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x1400017ff
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp fcn.140331dd8

Function at 0x140003afa
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
sub rsp, 0x28
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov r14, r8
mov r9, r13
call sub.msvcrt.dll_fread
mov r12, rax
cmp r14, rax
je 0x140003bd6
mov rcx, r13
call sub.msvcrt.dll_ferror
test eax, eax
je 0x140003bd6
mov r12, qword [sym.imp.msvcrt.dll__errno]
call r12
movsxd rcx, dword [rax]
call fcn.140003ad6
mov r15, rax
call r12
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
mov rcx, rax
call fcn.140003551
xor edx, edx
mov r14, rax
test r15, r15
je 0x140003b6c
mov rdx, qword [r15]
xor eax, eax
test r14, r14
je 0x140003b76
mov rax, qword [r14]
lea rcx, [rdx + rax + 0xa]
call fcn.140003120
lea rdx, [0x140334e20]
mov r12, rax
mov rcx, rax
call fcn.14000198b
mov rdx, r15
mov rcx, r12
call fcn.1400019b1
lea rdx, [0x140334e00]
mov rcx, r12
call fcn.14000198b
mov rdx, r14
mov rcx, r12
call fcn.1400019b1
lea rdx, [0x140334de0]
mov rcx, r12
call fcn.14000198b
mov rcx, r13
call sub.msvcrt.dll_clearerr
mov rcx, r12
call fcn.140003807
mov rax, r12
add rsp, 0x28
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140004472
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [fcn.1403317b0]
xor r12d, r12d
mov rdi, rcx
mov rbx, rdx
cmp rbx, r12
ja 0x14000449e
lea rdx, [rbx - 1]
mov rcx, r12
call fcn.14000398d
mov r13, qword [rdi + r12*8]
mov ecx, 1
inc r12
call rsi
xor r8d, r8d
mov rcx, rax
mov rdx, r13
call fcn.140004385
cmp rbx, r12
jne 0x14000448d
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x1403331d6]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.140331dd8
Function at 0x140325649
Capabilities:
Hash data using murmur3

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor r12d, r12d
mov rdi, rcx
mov rsi, rdx
mov rbp, r8
test rdx, rdx
je 0x140325669
mov r12, qword [rdx]
lea r8, [rsp + 0x28]
mov edx, 4
mov rcx, r12
call fcn.140006761
test al, al
je 0x140325684
call fcn.140003595
imul rax, qword [rsp + 0x28], 4
lea r9, [rsi + 0x10]
mov ecx, 0
mov r10d, 0
jo 0x14032567f
cmp rax, rcx
jg 0x1403256b2
mov rax, r12
mov r8d, 4
cqo
idiv r8
xor eax, eax
jmp 0x1403256f7
cmp rcx, r12
jb 0x1403256c1
lea rdx, [r12 - 1]
jmp 0x14032575a
mov ebx, dword [r9 + rcx]
add rcx, 4
jo 0x14032567f
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor ebx, r10d
rol ebx, 0xd
lea ebx, [rbx + rbx*4]
lea r10d, [rbx - 0x19ab949c]
jmp 0x14032569b
movzx r8d, byte [r9 + r8]
shl eax, 8
or eax, r8d
test rdx, rdx
jg 0x14032573e
imul eax, eax, 0xcc9e2d51
xor r10d, r12d
rol eax, 0xf
imul ebx, eax, 0x1b873593
xor ebx, r10d
mov edx, ebx
shr edx, 0x10
xor ebx, edx
imul ebx, ebx, 0x85ebca6b
mov eax, ebx
shr eax, 0xd
xor ebx, eax
imul ebx, ebx, 0xc2b2ae35
mov eax, ebx
shr eax, 0x10
xor ebx, eax
test rbx, rbx
jne 0x14032575f
mov ebx, 0x12b9b0a1
jmp 0x14032575f
dec rdx
mov r8, rcx
add r8, rdx
jo 0x14032567f
cmp r8, r12
jb 0x1403256ec
lea rdx, [r12 - 1]
mov rcx, r8
call fcn.14000398d
mov qword [rbp], rbx
test rdi, rdi
je 0x1403257c0
mov rbp, qword [rdi]
test rbp, rbp
je 0x1403257c0
lea r13, [rbp - 1]
mov r12, r13
and r12, rbx
cmp rbp, r12
ja 0x140325787
mov rdx, r13
mov rcx, r12
jmp 0x14032575a
imul rax, r12, 0x18
add rax, rdi
mov rdx, qword [rax + 0x10]
test rdx, rdx
jne 0x14032579c
not r12
jmp 0x1403257c4
cmp rdx, rbx
jne 0x1403257b1
mov rcx, qword [rax + 0x18]
mov rdx, rsi
call fcn.140010c5c
test al, al
jne 0x1403257c4
add r12, 1
jo 0x14032567f
and r12, r13
jmp 0x14032577a
or r12, 0xffffffffffffffff
mov rax, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x14032b7e0
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.1403317b0
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.1403317b0
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 0x14032b850
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1403709b4]
mov r12, rcx
test ebx, ebx
jle 0x14032b980
mov rax, qword [0x1403709b8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14032b89c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14032b923
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x14032b880
mov rcx, r12
call fcn.14032c1f0
mov rsi, rax
test rax, rax
je 0x14032b9a2
mov rax, qword [0x1403709b8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.14032c320
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1403709b8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14032b987
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14032b91c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14032b930
add dword [0x1403709b4], 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 [0x1403709b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14032b91c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14032b7e0
nop dword [rax]
xor ebx, ebx
jmp 0x14032b8a7
mov rax, qword [0x1403709b8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14032b7e0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.14032b7e0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14032be60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140370a20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140370a00]
test rbx, rbx
je 0x14032beb4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14032beab
test r12, r12
je 0x14032beab
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14032be90
lea rcx, [0x140370a20]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14032c1f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140343da0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14032c210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14032c218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14032c210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14032c265
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 0x14032c25c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14032c210
add rax, 0x28
cmp rax, r9
jne 0x14032c248
xor eax, eax
ret

Function at 0x14032c270
Capabilities:
Parse pe header

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

Function at 0x14032c320
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140343da0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14032c340
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14032c348
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
push rax
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140027de0
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.14001b784
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b784
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f30
cmp rax, 0xffffffffffffffff
je 0x140027f30
xor edi, edi
test rbp, rbp
jle 0x140027edb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd70
mov rbx, rax
test rax, rax
jne 0x140027e68
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ed1
mov edx, 0x8000
mov ecx, r14d
call fcn.140015928
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.14001c460
cmp eax, 0xffffffff
je 0x140027eb1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e78
mov edx, r15d
mov ecx, r14d
call fcn.140015928
jmp 0x140027ed1
cmp byte [rsi + 0x38], dil
je 0x140027ec8
cmp dword [rsi + 0x34], 5
jne 0x140027ec8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ed1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e48
jmp 0x140027f44
jns 0x140027f44
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b784
cmp rax, 0xffffffffffffffff
jne 0x140027efc
cmp byte [rsi + 0x30], dil
je 0x140027f44
mov edi, dword [rsi + 0x2c]
jmp 0x140027f44
mov ecx, r14d
call fcn.140016f28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f44
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 0x140027f44
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f3d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f42
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b784
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 0x1417bbf9c
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rsp + 0x18]
movsx ecx, cx
jbe 0x141ad90f8
invalid
call fcn.1416762cd
mov r9, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0x1449f6a2
add byte [rsp + 8], 0xb8
mov dword [rsp + 8], 0x46f11bad
push r12
push 0x5a0935f9
and dword [rsp], 0x471a3dcd
mov word [rsp], 0x4b3b
setno byte [rsp + 0x18]
not byte [rsp + 0x18]
pop r12
mov r12, qword [rsp]
sub dword [rsp + 0x10], 0x4c2c2f0e
xor byte [rsp + 0x10], 0x54
call fcn.1417c5cfe
mov ebx, 0x92049746
insd dword [rdi], dx
invalid
Function at 0x4155a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41572b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432d60
xorps xmm15, xmm15
mov r14, qword [0x006d92f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415605
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415614
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415633
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415643
cmp rbx, 0x1000
jae 0x41560b
jmp 0x4156ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415655
xor edx, edx
jmp 0x4156a4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432d60
xorps xmm15, xmm15
mov r14, qword [0x006d92f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415639
jmp 0x415628
call fcn.004651e0
xorps xmm15, xmm15
mov r14, qword [0x006d92f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437320
lea rax, [0x004dc519]
mov ebx, 0x18
nop dword [rax]
call fcn.00437ba0
mov rax, qword [rsp + 0x38]
call fcn.004378e0
lea rax, [0x004dca0d]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437ba0
mov rax, qword [rsp + 0x30]
call fcn.004378e0
call fcn.00437560
call fcn.00437380
lea rax, [0x004deb4b]
mov ebx, 0x21
call fcn.00435980
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004155a0
Function at 0x415760
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415986
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432de0
xorps xmm15, xmm15
mov r14, qword [0x006d92f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4157d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4157e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415805
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415815
cmp rbx, 0x1000
jae 0x4157d9
nop
jmp 0x415898
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41582d
xor esi, esi
jmp 0x41588a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432de0
xorps xmm15, xmm15
mov r14, qword [0x006d92f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41580b
jmp 0x4157f6
call fcn.004651e0
xorps xmm15, xmm15
mov r14, qword [0x006d92f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415920
nop dword [rax + rax]
call fcn.00437320
lea rax, [0x004dca26]
mov ebx, 0x19
call fcn.00437ba0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.004378e0
lea rax, [0x004dca0d]
mov ebx, 0x19
call fcn.00437ba0
mov eax, dword [rsp + 0x34]
call fcn.004378e0
nop
call fcn.00437560
call fcn.00437380
lea rax, [0x004d9359]
mov ebx, 0xd
call fcn.00435980
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4158c0
call fcn.00437320
lea rax, [0x004dca26]
mov ebx, 0x19
call fcn.00437ba0
mov rax, qword [rsp + 0x38]
call fcn.004378e0
lea rax, [0x004dca0d]
mov ebx, 0x19
call fcn.00437ba0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.004378e0
call fcn.00437560
call fcn.00437380
lea rax, [0x004de454]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00435980
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00415760