joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2d8f82270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2d8fa1250]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2d8f8228f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2d8f82298
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x2d8f822b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2d8fa1250]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2d8f822d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2d8f822d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2d8f822d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x2d8f822d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x2d8f82324
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x2d8f82330
add rdx, 0x28
cmp r9, rdx
jne 0x2d8f82310
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x2d8f82340
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x2d8fa1250]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x2d8f82362
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x2d8f82370
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2d8f82362
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x2d8f82362
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x2d8f82362
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x2d8f823c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2d8f823d8
add rdx, 0x28
cmp rdx, r10
jne 0x2d8f823b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2d8f823e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2d8f823f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2d8f823ce
test ecx, ecx
jg 0x2d8f823e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x6d7d9d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d7fb5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7d9ed8
mov rax, qword [0x6d7fb5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7d9d9c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7d9e25
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7d9d80
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7d9f0d
mov rax, qword [0x6d7fb5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d7fb5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7d9ef0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7d9e1e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7d9e80
add dword [0x6d7fb5e4], 1
cmp edi, 8
jae 0x6d7d9e53
test dil, 4
jne 0x6d7d9ec4
test edi, edi
je 0x6d7d9e48
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7d9edf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d7d9e48
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d7d9e6c
jmp 0x6d7d9e48
add rsi, qword [0x6d7fb5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d7d9e1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d7d9e48
xor esi, esi
jmp 0x6d7d9da7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7d9e48
mov rax, qword [0x6d7fb5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d7da660
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d7fb8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d7fb8a0]
test rbx, rbx
je 0x6d7da6b4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d7da6ab
test rsi, rsi
je 0x6d7da6ab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7da690
lea rcx, [0x6d7fb8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7da8f0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7da900
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7da910
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7da951
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7da948
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7da953
add rax, 0x28
cmp rax, r9
jne 0x6d7da934
xor eax, eax
ret

Function at 0x6d7da9f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f81f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7daa5d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7daa5d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7daa5d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7daa54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7daa5f
add rax, 0x28
cmp rax, r9
jne 0x6d7daa40
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7dab60
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f81f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7dab80
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7dab78
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7dabdd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7dabd4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7dabe4
add rax, 0x28
cmp rax, r9
jne 0x6d7dabc0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7dac00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f81f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7dac6e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7dac6e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7dac6e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7dac6e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7dac65
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7dac75
add rcx, 0x28
cmp rcx, rax
jne 0x6d7dac50
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7dac88
jmp 0x6d7dac6e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7dac96
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7dac6e
test r9d, r9d
jg 0x6d7dac80
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7dafd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140020de4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140020e68
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400594c0]
cmp byte [rcx + rax], 0
je 0x140020e68
dec r8
sub rdx, 1
jne 0x140020e4e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140022ec4
Capabilities:
Parse pe header

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

Function at 0x140032e64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140032c54
Function at 0x140038934
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140038966
call fcn.14002ef54
mov dword [rax], 0x16
call fcn.140029d2c
jmp 0x140038a85
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140038a85
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140038a85
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140038995
lock or dword [rcx + 0x14], 0x10
jmp 0x140038a85
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400389a9
call fcn.140039230
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140037210
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140039748
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140038a73
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140038a3e
mov rcx, rsi
call fcn.140037210
cmp eax, edi
je 0x140038a29
mov rcx, rsi
call fcn.140037210
cmp eax, 0xfffffffe
je 0x140038a29
mov rcx, rsi
call fcn.140037210
movsxd rbx, eax
lea r14, [0x1400c96f0]
mov rcx, rsi
sar rbx, 6
call fcn.140037210
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140038a30
lea rdx, [0x140071440]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140038a3e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140038a62
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140038a62
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140038a62
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140038a88
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140038fb0
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.140022b70
sub rsp, rax
mov rax, qword [0x140071078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140037210
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140038fff
mov rax, rbp
jmp 0x140039107
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 + 0xc96f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140039f20
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xc96f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140039103
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 0x140039103
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140039f20
test rax, rax
js 0x140039103
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140039103
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400390f5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400390f5
cmp byte [rcx], 0xd
jne 0x1400390db
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400390ea
cmp byte [rcx + 1], 0xa
jne 0x1400390ea
inc rcx
jmp 0x1400390ea
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x71490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400390bd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140039107
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140022740
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003929c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400c96f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400392fa
cmp word [rdx], r12w
jne 0x1400392fa
or byte [rax + r8*8 + 0x38], cl
jmp 0x140039300
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14003945b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140039436
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140039339
mov rcx, r9
jmp 0x14003935c
cmp r9, rdx
jae 0x140039373
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14003931d
jmp 0x14003945b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140039430
cmp dword [rsp + 0x80], edi
je 0x140039430
mov rdx, r14
lea r11, [0x1400c96f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140039409
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400393dc
mov word [rbx], r12w
jmp 0x140039457
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400393e5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140039457
cmp word [rsp + 0x70], r12w
jne 0x140039416
cmp rbx, rsi
je 0x1400393d6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140039f28
cmp word [rsp + 0x70], r12w
je 0x14003945b
mov word [rbx], r13w
jmp 0x140039457
lea r11, [0x1400c96f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140039453
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14003945b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004c040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400c9d28]
mov qword [rsp + 0x98], rax
mov eax, 0x34
mov word [rsp + 0x42], ax
xor eax, eax
mov word [rsp + 0x44], ax
mov eax, 4
mov word [rsp + 0x46], ax
mov eax, 6
mov word [rsp + 0x48], ax
mov eax, 0x1d
mov word [rsp + 0x4a], ax
mov eax, 0x79
mov word [rsp + 0x4c], ax
mov eax, 0x45
mov word [rsp + 0x4e], ax
mov eax, 0x44
mov word [rsp + 0x50], ax
mov eax, 3
mov word [rsp + 0x52], ax
mov eax, 0x18
mov word [rsp + 0x54], ax
mov eax, 0x24
mov word [rsp + 0x56], ax
mov eax, 0x6f
mov word [rsp + 0x58], ax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x42]
call fcn.140020040
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0x98]
mov qword [0x1400c9d10], rax
lea rcx, [rsp + 0x100]
call fcn.140014190
mov byte [rsp + 0x2e], 0x24
mov byte [rsp + 0x2f], 7
mov byte [rsp + 0x30], 0xc
mov byte [rsp + 0x31], 7
mov byte [rsp + 0x32], 0x10
mov byte [rsp + 0x33], 0x24
mov byte [rsp + 0x34], 0x13
mov byte [rsp + 0x35], 0x26
mov byte [rsp + 0x36], 0xe
mov byte [rsp + 0x37], 0x1a
mov byte [rsp + 0x38], 0x2d
mov byte [rsp + 0x39], 0x3b
mov byte [rsp + 0x3a], 0x3b
mov byte [rsp + 0x3b], 0x37
mov byte [rsp + 0x3c], 0x13
mov byte [rsp + 0x3d], 0x2d
mov byte [rsp + 0x3e], 6
mov byte [rsp + 0x3f], 0x19
mov byte [rsp + 0x40], 0x6b
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x2e]
call fcn.1400202e0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400c9d10]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
call fcn.14004c560
mov qword [0x1400c9d38], rax
lea rcx, [rsp + 0x118]
call fcn.140002640
mov byte [rsp + 0x20], 0x34
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x22], 4
mov byte [rsp + 0x23], 6
mov byte [rsp + 0x24], 0x1d
mov byte [rsp + 0x25], 0xf
mov byte [rsp + 0x26], 0xf
mov byte [rsp + 0x27], 0xf
mov byte [rsp + 0x28], 4
mov byte [rsp + 0x29], 1
mov byte [rsp + 0x2a], 0x3c
mov byte [rsp + 0x2b], 0xa
mov byte [rsp + 0x2c], 3
mov byte [rsp + 0x2d], 0x76
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.14001fef0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400c9d10]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xe8]
call fcn.14004c560
mov qword [0x1400c9cf8], rax
lea rcx, [rsp + 0x130]
call fcn.140002640
add rsp, 0x158
ret
Function at 0x14004c560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x14004c57e
cmp qword [rsp + 0x68], 0
jne 0x14004c585
xor eax, eax
jmp 0x14004c6b1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp], 0
jmp 0x14004c626
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp], eax
jae 0x14004c6af
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14004c66e
inc rax
test dl, dl
jne 0x14004c65b
xor eax, eax
jmp 0x14004c673
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004c6aa
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x14004c6b1
jmp 0x14004c61e
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400013b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d11c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 5]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d11c
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r12, [0x140046570]
lea rcx, [rax + 5]
mov r10, rdi
mov qword [rbx + 0x10], rcx
sub r11, rdi
xor ecx, ecx
sub r14, rdi
mov dword [rax], ecx
mov r15, 0xfffffffffffffffe
mov byte [rax + 4], cl
not r10
add rax, 5
movabs rbp, 0x905a38633e06c43b
mov qword [rbx + 8], rax
sub r15, rdi
nop word [rax + rax]
lea rcx, [r15 + r8]
mov rax, rbp
mul rsi
shr rdx, 7
imul rax, rdx, 0xe3
movzx edx, byte [r8 - 2]
sub rsi, rax
mov rax, qword [rbx]
xor dl, byte [rsi + r12]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
movzx edx, byte [r8 - 1]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r10 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
movzx edx, byte [r8]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
mov rcx, r8
sub rcx, rdi
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
movzx edx, byte [r8 + 1]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r11 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add r9d, 5
add rcx, 2
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
movzx edx, byte [r8 + 2]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r14 + r8]
mov byte [rcx + rax], dl
add r8, 5
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 5
jb 0x140001450
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret