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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x004291d0]
mov dword [rax], 1
mov rax, qword [0x004291e0]
mov dword [rax], 1
mov rax, qword [0x004291f0]
mov dword [rax], 1
mov rax, qword [0x004291c0]
mov dword [rax], 1
mov rax, qword [0x00429040]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x4014da
mov eax, 0
jmp 0x401587
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x401506
mov eax, 0
jmp 0x401587
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x40152c
cmp eax, 0x20b
je 0x401553
jmp 0x401582
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x40153f
mov eax, 0
jmp 0x401587
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x401587
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x40156e
mov eax, 0
jmp 0x401587
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x401587
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x402aa3
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 0x402ac4
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 0x41afa8

Function at 0x404f9d
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x48
mov byte [rsp + 0x3f], 1
mov al, byte [rsp + 0x3f]
mov r13, rcx
mov qword [rsp + 0x28], rdx
test al, al
je 0x404fed
mov ecx, 2
call qword [fcn.0041b060]
mov r8, qword [rsp + 0x28]
mov rcx, r13
mov edx, 1
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
add rsp, 0x48
pop r12
pop r13
jmp 0x41afa8
add rsp, 0x48
pop r12
pop r13
ret
Function at 0x4054ce
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r12, qword [fcn.0041b060]
xor ebp, ebp
mov r14, rcx
mov r13, rdx
mov rsi, qword [r14 + rbp*8]
mov ecx, 1
lea r15, [0x00423228]
call r12
lea rdx, [0x00423228]
mov rcx, rsi
mov rdi, rax
call fcn.00402a52
mov rcx, rdi
mov r8, rax
call sub.msvcrt.dll_fprintf
mov ebx, eax
movsxd rax, ebx
xor edx, edx
test rsi, rsi
je 0x40552c
mov rdx, qword [rsi]
cmp rax, rdx
jge 0x405562
cmp byte [rsi + rax + 0x10], 0
je 0x405550
lea r8, [rsi + rax + 0x10]
mov rdx, r15
mov rcx, rdi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x405562
add ebx, eax
jmp 0x40551f
xor ecx, ecx
mov rdx, rdi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x405562
inc ebx
jmp 0x40551f
inc rbp
cmp r13, rbp
jne 0x4054ed
mov ecx, 1
call r12
mov r8d, 1
mov edx, 1
lea rcx, [0x00423226]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call r12
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x41afa8
jmp qword [sym.imp.msvcrt.dll_fflush]

Function at 0x405675
Capabilities:
Read file on windows

Disassembly:
push r13
push rbx
sub rsp, 0x38
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sub.msvcrt.dll_fread
cmp rbx, rax
je 0x4056a9
mov rcx, r13
mov qword [rsp + 0x28], rax
call fcn.004055ac
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop r13
ret

Function at 0x405d5a
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x38
mov edx, 0x30
lea rcx, [0x0042f4e0]
call fcn.004042f3
lea rcx, [0x00424be0]
mov r12, rax
lea rax, [0x0042f520]
mov qword [r12], rax
lea rax, [0x0042323a]
mov r13, qword [r12 + 0x18]
mov qword [r12 + 0x10], rax
call fcn.004044e1
mov qword [r12 + 0x18], rax
test r13, r13
je 0x405d27
mov rcx, r13
call fcn.00403751
lea rcx, [r12 + 8]
xor edx, edx
call fcn.004036fc
lea r9, str.parseutils.nim
lea r8, str.integerOutOfRangeError
mov rcx, r12
mov qword [rsp + 0x20], 0x1aa
lea rdx, [0x0042323a]
call fcn.00405340
nop
push r12
push rsi
push rbx
sub rsp, 0x30
mov r9, rcx
mov rcx, rdx
mov edx, 1
mov rsi, r8
mov r12, qword [r9 + 0x58]
mov r9, r12
call sub.msvcrt.dll_fwrite
mov rcx, r12
mov rbx, rax
call fcn.004055ac
movsxd rbx, ebx
cmp rsi, rbx
je 0x405dc2
lea rcx, [0x00424aa0]
call fcn.0040454f
lea r9, str.streams.nim
mov qword [rsp + 0x20], 0x530
lea r8, str.fsWriteData
mov rcx, rax
lea rdx, [0x00423108]
call fcn.00405340
nop
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
Function at 0x40f984
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
lea rdi, [rax + 0x20]
mov r12, rcx
mov esi, edx
mov rdx, qword [rbx + 0x50]
mov rcx, r12
call qword [0x00447d50]
test eax, eax
je 0x40f9c2
mov rbx, qword [rbx]
cmp rdi, rbx
jne 0x40f9a7
jmp 0x40f9c8
mov rax, qword [rbx + 0x20]
jmp 0x40fa43
xor eax, eax
test esi, esi
je 0x40fa43
lea rcx, [0x00426d80]
call fcn.0040f8f8
xor edx, edx
mov rcx, rax
call fcn.0040f984
mov r8d, 1
lea rdx, [0x00426d60]
mov rcx, rax
call fcn.004172ca
mov rbx, rax
test rax, rax
jne 0x40fa05
xor eax, eax
jmp 0x40fa43
lea rsi, [rsp + 0x30]
mov edx, 0x10
mov rcx, rsi
call fcn.00402b37
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x28], 0
call qword [0x00447d48]
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
mov r8, rsi
call rbx
test eax, eax
jne 0x40fa01
mov rax, qword [rsp + 0x28]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
ret
Function at 0x41439d
Capabilities:
Hash data using murmur3

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
xor ecx, ecx
test rdx, rdx
je 0x4143b7
mov rcx, qword [rdx]
mov rax, rcx
mov r9d, 4
xor ebx, ebx
cqo
idiv r9
xor r9d, r9d
shl rax, 2
cmp rax, r9
jg 0x4143f6
cmp rax, 0xfffffffffffffffd
mov r9d, 0
mov r10d, 4
cmovge r9, rax
mov rax, rcx
cqo
idiv r10
add r9, rsi
xor eax, eax
jmp 0x41442d
mov edx, dword [rsi + r9 + 0x10]
add r9, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, ebx
rol edx, 0xd
lea edx, [rdx + rdx*4]
lea ebx, [rdx - 0x19ab949c]
jmp 0x4143ce
dec rdx
shl eax, 8
movzx r10d, byte [r9 + rdx + 0x10]
or eax, r10d
test rdx, rdx
jg 0x41441e
imul eax, eax, 0xcc9e2d51
xor ebx, ecx
mov edx, ebx
rol eax, 0xf
imul ebx, eax, 0x1b873593
xor ebx, edx
mov eax, ebx
shr eax, 0x10
xor ebx, eax
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 0x414472
mov ebx, 0x12b9b0a1
mov qword [r8], rbx
or r12, 0xffffffffffffffff
test rdi, rdi
je 0x4144be
mov rbp, qword [rdi]
test rbp, rbp
je 0x4144be
dec rbp
mov r12, rbx
and r12, rbp
imul rax, r12, 0x18
add rax, rdi
mov rdx, qword [rax + 0x10]
test rdx, rdx
jne 0x4144a4
not r12
jmp 0x4144be
cmp rbx, rdx
jne 0x4144b9
mov rcx, qword [rax + 0x18]
mov rdx, rsi
call fcn.0040900f
test al, al
jne 0x4144be
inc r12
jmp 0x41448c
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x4172ca
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x40]
mov rbx, rcx
mov r13, rdx
mov edx, pe_nt_image_headers64
mov rcx, rbp
mov dword [rsp + 0x120], r8d
call fcn.00402b37
test rbx, rbx
je 0x417548
cmp word [rbx], 0x5a4d
jne 0x417548
movsxd rsi, dword [rbx + 0x3c]
add rsi, rbx
cmp dword [rsi], 0x4550
jne 0x417548
test byte [rsi + 0x17], 0x20
je 0x417548
add rsi, 0x88
mov ecx, 0x20
mov rdi, rbp
rep movsd dword [rdi], dword [rsi]
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
test eax, eax
je 0x417548
movsxd rdi, dword [rsp + 0x40]
test edi, edi
je 0x417548
add rdi, rbx
movsxd rbp, dword [rdi + 0x1c]
add rbp, rbx
test r13, r13
je 0x41738f
cmp qword [r13], 0
je 0x41738f
mov eax, dword [rdi + 0x18]
mov r14d, dword [rbp]
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], eax
movsxd rax, dword [rdi + 0x20]
mov r15d, dword [rax + rbx]
jmp 0x4173fd
movsxd rax, dword [rbp - 4]
jmp 0x417469
mov rax, qword [0x00428620]
movsxd r12, r15d
xor edx, edx
lea r8, [0x0042710d]
add r12, rbx
mov rcx, r12
call qword [rax]
xor edx, edx
mov rcx, rax
call fcn.0040d6ed
test al, al
je 0x41740c
mov esi, dword [rbp + 4]
add rbp, 4
mov eax, 1
test r12, r12
je 0x4173dc
mov rcx, r12
call sub.msvcrt.dll_strlen
inc eax
mov rcx, r13
add r15d, eax
call fcn.00402a52
mov rdx, r12
mov rcx, rax
call fcn.0040d6ed
test al, al
jne 0x417415
inc dword [rsp + 0x2c]
mov r14d, esi
mov edx, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], edx
jge 0x417398
jmp 0x417548
inc dword [rsp + 0x28]
mov esi, r14d
jmp 0x4173c8
mov edx, 0x6e7809e2
lea rcx, [0x00427900]
call fcn.0040d69f
mov edx, 0x48f78ec6
lea rcx, [0x004278c0]
call fcn.0040d69f
mov edx, 0x23b5c1b2
lea rcx, [0x004278a0]
call fcn.0040d69f
mov edx, 0x691feb36
lea rcx, [0x00427860]
call fcn.0040d69f
cmp dword [rsp + 0x120], 0
movsxd rax, r14d
je 0x417469
movsxd rax, esi
add rax, rbx
test rax, rax
je 0x417548
cmp rdi, rax
ja 0x41754a
movsxd rdx, dword [rsp + 0x24]
add rdi, rdx
cmp rax, rdi
jae 0x41754a
lea r12, [rsp + 0x30]
mov ebp, 0x10
mov qword [rsp + 0x30], rax
mov rsi, rax
mov rcx, r12
mov rdi, rbp
mov qword [rsp + 0x38], 0
mov rdx, qword [0x00428e80]
sub rcx, rax
mov r8d, 3
movsxd rcx, ecx
rep movsb byte [rdi], byte [rsi]
mov rdi, rbp
call fcn.0040778d
lea rcx, [rsp + 0x38]
mov rdx, rax
call fcn.00404842
mov rax, qword [rsp + 0x38]
mov ecx, 0x41
xor edx, edx
mov word [rax + 0x10], 0x6c64
lea rsi, [rax + 0x10]
mov byte [rax + 0x12], 0x6c
rep movsd dword [rdi], dword [rsi]
call fcn.0040f984
mov rcx, rax
test rax, rax
je 0x417510
xor r8d, r8d
mov rdx, r12
call fcn.004172ca
jmp 0x41754a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
lea rdi, [rax + 0x20]
cmp rdi, rsi
je 0x417548
mov rcx, qword [rsi + 0x20]
cmp rbx, rcx
je 0x417543
xor r8d, r8d
mov rdx, r12
call fcn.004172ca
test rax, rax
jne 0x41754a
mov rsi, qword [rsi]
jmp 0x417525
xor eax, eax
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x419152
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
xor r14d, r14d
mov qword [rsp + 0xc0], rcx
lea rcx, [0x00427220]
mov qword [rsp + 0xc8], rdx
mov edx, 0x150603d6
mov dword [rsp + 0x5c], 0
call fcn.0040d69f
mov rcx, rax
call fcn.00402a52
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [0x004285c0]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [rax]
xor edx, edx
mov rcx, rax
mov r12, rax
mov rax, qword [0x004285d0]
call qword [rax]
mov ebx, eax
mov rax, qword [0x00428600]
call qword [rax]
movsxd r8, ebx
xor edx, edx
mov rcx, rax
mov rax, qword [0x004285f0]
call qword [rax]
mov rcx, r12
lea r9, [rsp + 0x5c]
mov r8d, ebx
mov rsi, rax
mov rdx, rax
mov rax, qword [0x004285e0]
mov qword [rsp + 0x20], 0
lea r12, [0x00427200]
call qword [rax]
movsxd r13, dword [rsi + 0x3c]
add r13, rsi
mov eax, dword [r13 + 0x88]
movzx edi, word [r13 + 0x14]
lea rbp, [r13 + 0x18]
mov dword [rsp + 0x40], eax
add rdi, rbp
mov r15, rdi
cmp word [r13 + 6], r14w
ja 0x419285
movsxd r8, dword [rsp + 0x40]
movsxd rcx, dword [r15 + 0xc]
xor ebp, ebp
movsxd rdx, dword [r15 + 0x14]
add r8, rsi
sub r8, rcx
lea r13, [r8 + rdx]
movsxd rbx, dword [r13 + 0x20]
add rbx, rsi
sub rbx, rcx
lea rax, [rbx + rdx]
mov qword [rsp + 0x40], rax
movsxd rax, dword [r13 + 0x1c]
add rax, rsi
sub rax, rcx
lea rbx, [rdx + rax + 4]
jmp 0x4192c5
imul eax, r14d, 0x28
movzx ebx, word [r13 + 0x14]
mov ecx, 8
add rbx, rbp
movzx eax, ax
add rbx, rax
call fcn.00404c9e
mov rdx, r12
mov rcx, rax
mov rax, qword [rbx]
mov qword [rcx + 0x10], rax
call fcn.0041755e
test rax, rax
cmovs rbx, r15
inc r14d
mov r15, rbx
jmp 0x419241
cmp dword [r13 + 0x18], ebp
jle 0x419379
mov rax, qword [rsp + 0x40]
movsxd r14, dword [rbx]
add rbx, 4
mov rdx, qword [rsp + 0xc0]
movsxd r12, dword [rax + rbp*4]
movsxd rax, dword [r15 + 0xc]
inc rbp
add r12, rsi
sub r12, rax
movsxd rax, dword [r15 + 0x14]
add r12, rax
mov eax, dword [rdi + 0xc]
mov rcx, r12
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x00428610]
call qword [rax]
test eax, eax
jne 0x4192c5
movsxd r13, dword [rsp + 0x48]
movsxd rbp, dword [rsp + 0x4c]
add rsi, r14
mov ecx, 0x17
mov rdi, qword [rsp + 0xc8]
mov edx, 0x10
sub rsi, r13
lea r13, [rsp + 0x60]
add rsi, rbp
rep movsb byte [rdi], byte [rsi]
mov rcx, r13
call fcn.00402b37
lea rcx, [0x004271c0]
call fcn.004073cc
mov rcx, r12
mov qword [rsp + 0x60], rax
call fcn.004042af
mov edx, 2
mov rcx, r13
mov qword [rsp + 0x68], rax
call fcn.004054ce
nop
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x419900
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
lea rax, [rbp - 0x28]
mov qword [rbp - 0x58], rax
mov ecx, 2
call fcn.0041b060
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 0x58]
mov ecx, 2
call fcn.0041b060
mov r8, rbx
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x41a896
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x00448708]
test eax, eax
je 0x41a924
lea rcx, [0x004486e0]
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x00448710]
mov qword [rbp - 8], rax
jmp 0x41a90b
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x41a8ff
cmp qword [rbp - 0x10], 0
je 0x41a8ff
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x41a8c5
lea rcx, [0x004486e0]
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x41a925
nop
add rsp, 0x30
pop rbp
ret

Function at 0x41aa30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x41aa58
mov eax, 0
jmp 0x41aaa6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x41aa81
mov eax, 0
jmp 0x41aaa6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x41aaa1
mov eax, 0
jmp 0x41aaa6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x41aaac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x41ab2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x41ab21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x41ab21
mov rax, qword [rbp - 8]
jmp 0x41ab3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x41aaf4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140005254
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xlatb
mov rdx, qword [rsp + 0x48]
call fcn.140006efd

Function at 0x140005290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
fstp xword [rbx]
mov r8d, edx
mov edx, 0x463cf9df
cmp al, 0x46
mov byte [rsp + 0xef], 0xb7
mov dword [rsp + 0xd4], 0x7572760f
invalid
invalid
test byte [rax + rcx*8], ah
add byte [rax], al

Function at 0x1400052b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [rbp + 0x5a], ch
or al, 0x44
mov ecx, dword [rsp + 0xdc]
invalid

Function at 0x140005318
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov word [rsp + 0x4e], di
mov dword [rsp + 0x48], r9d

Function at 0x14000531c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x40], r11
invalid

Function at 0x140005330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor edx, edx
mov ecx, edx
mov edx, 0x7572bb5f
mov r9d, dword [rsp + 0x48]
invalid
invalid
mov word [rsp + rbx*8], fs
invalid

Function at 0x140005358
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0xe0
add byte [rax], al
add byte [rsi - 0x75], ah
jl 0x140005385
xor di, 0xffff
movsxd r11, dword [rax + 0x3c]
mov r14, r8
add r14, r11
ror byte [rcx + 0xf], cl
Function at 0x140026020
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140026098
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140026098
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140026098
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14002608c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400260aa
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14002607a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14002609a

Function at 0x140027528
Capabilities:
Parse pe header

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

Function at 0x140030548
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400302ac

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140155c2b
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push 0x52989801
test r9, r9
push 0xffffffffb439e906
lea rsp, [rsp + 0x10]
je 0x140152e5c
push 0xffffffffec3058bf
lea r10, [0x14013dc60]
lea rsp, [rsp + 8]
mov r8d, 0x4212f503
movzx r8d, byte [r8 + rax - 0x4212f503]
push 0x778e8329
xor r8d, edx
and r8d, 0xff
mov r8d, dword [r10 + r8*4]
shr edx, 8
xor edx, r8d
inc rax
xor edx, 0x9dfc2c
dec r9
lea rsp, [rsp + 8]
jne 0x140152e1d
push 0x599b00af
not edx
push 0x58b93ea8
mov dword [rsi], edx
jmp 0x140168d7a
not ax
call fcn.14015c9d3
mov eax, 0x59a62caf
jmp 0x1401632d3
mov rax, qword [rsi + rax - 0x59a62caf]
mov r9, qword [rsi + 8]
add rsi, 0xc
jmp 0x140152df2
lea rsp, [rsp + 0x10]
jmp fcn.14014341f

Function at 0x14015ff3f
Capabilities:
Encode data using xor

Disassembly:
call fcn.14014bc84
lea rcx, [0x140133830]
lea rsp, [rsp + 8]
mov esi, 0xe9317d90
inc esi
sal si, 0xac
movzx esi, byte [r11]
push 0xffffffffbd1eb83a
xor byte [rsp], 0x15
xor esi, edi
and esi, 0xff
push 0xffffffffeea67421
mov esi, dword [rcx + rsi*4]
shr edi, 8
xor edi, esi
inc byte [rsp + 0xd]
inc r11
xor edi, 0xfd1fe608
shl qword [rsp + 4], 0xb
dec rax
lea rsp, [rsp + 0x10]
jne 0x14015ff4b
mov esi, 0x77a45e25
pop rsi
call fcn.140162034
mov edx, 0x3a973a11
mov dx, word [rbx + rdx - 0x3a973a11]
mov di, word [rbx + 2]
mov ecx, 0x318b942e
mov cl, byte [rcx + rbx - 0x318b942a]
add rbx, 4
shrd dx, di, cl
jmp 0x140137ec3
Function at 0x141c07058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141c071df
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 0x141c07089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c0706f
add dl, dl
jne 0x141c07096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c070f6
xor eax, eax
add dl, dl
jne 0x141c070a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c071ad
add dl, dl
jne 0x141c070b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c070c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c070d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c070dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c070ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c0707e
mov eax, 1
add dl, dl
jne 0x141c07106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c07113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c070fb
sub eax, ebx
mov ebx, 1
jne 0x141c0714c
mov ecx, 1
add dl, dl
jne 0x141c0712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c0713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c07123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c0707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c07168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c07175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c0715d
cmp eax, 0x7d00
jae 0x141c0719b
cmp eax, 0x500
jb 0x141c07196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c0707e
cmp eax, 0x7f
ja 0x141c0719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c0707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c071d2
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 0x141c0707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20