joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013cf10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, ecx
lea rcx, [rbp - 0x30]
mov r14, rdx
xor ebx, ebx
mov dword [rbp - 0x2b], 0x2e323369
mov word [rbp - 0x30], 0x7457
mov dword [rbp - 0x27], 0x6c6c64
mov word [rbp - 0x2d], 0x7061
mov byte [rbp - 0x2e], 0x73
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013cfbc
lea rdx, [rbp - 0x20]
mov rcx, rax
mov word [rbp - 0x14], 0x6f54
mov dword [rbp - 0x1e], 0x65755153
mov word [rbp - 0x20], 0x5457
mov dword [rbp - 0x12], 0x6e656b
mov word [rbp - 0x17], 0x6573
mov word [rbp - 0x1a], 0x7972
mov byte [rbp - 0x15], 0x72
mov byte [rbp - 0x18], 0x55
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013cfb3
mov rdx, r14
mov ecx, esi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140057700
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14013cff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x70]
mov r13, qword [rbp + 0x68]
mov esi, ecx
lea rcx, [rbp - 0x40]
mov r12, r9
mov r15, r8
mov qword [rbp - 0x48], rax
mov r14d, edx
mov ebx, 1
mov dword [rbp - 0x38], 0x6c6c64
mov word [rbp - 0x3a], 0x2e69
mov word [rbp - 0x40], 0x6853
mov word [rbp - 0x3d], 0x6177
mov byte [rbp - 0x3b], 0x70
mov byte [rbp - 0x3e], 0x6c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013d0ce
lea rdx, [rbp - 0x30]
mov rcx, rax
mov dword [rbp - 0x2e], 0x51636f73
mov word [rbp - 0x26], 0x7453
mov word [rbp - 0x23], 0x6e69
mov word [rbp - 0x30], 0x7341
mov word [rbp - 0x20], 0x41
mov word [rbp - 0x29], 0x7265
mov byte [rbp - 0x24], 0x72
mov byte [rbp - 0x21], 0x67
mov byte [rbp - 0x2a], 0x75
mov byte [rbp - 0x27], 0x79
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013d0c5
mov rcx, qword [rbp - 0x48]
mov r9, r12
mov r8, r15
mov qword [rsp + 0x28], rcx
mov ecx, esi
mov edx, r14d
mov qword [rsp + 0x20], r13
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140057700
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14013ddb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
lea rcx, [rbp - 0x30]
mov ebx, 0x80004005
mov word [rbp - 0x29], 0x6c6c
mov dword [rbp - 0x2e], 0x2e323365
mov byte [rbp - 0x2a], 0x64
mov byte [rbp - 0x27], 0
mov word [rbp - 0x30], 0x6c4f
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013de4c
lea rdx, [rbp - 0x20]
mov rcx, rax
mov dword [rbp - 0x1f], 0x6572436f
mov dword [rbp - 0x18], 0x64697547
mov byte [rbp - 0x20], 0x43
mov word [rbp - 0x1b], 0x7461
mov byte [rbp - 0x19], 0x65
mov byte [rbp - 0x14], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013de43
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140057700
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret

Function at 0x14013e0f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 3
mov rsi, rdx
xor bpl, bpl
call fcn.1400902f0
call fcn.140090188
mov r8, qword [rsi]
mov edx, 0x2712
mov rcx, rax
mov rdi, rax
call fcn.1400903f0
lea r8, [0x140018050]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400903f0
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.1400903f0
lea r8, [rsp + 0x20]
mov edx, 0x2722
mov rcx, rdi
mov dword [rsp + 0x2e], 0x302e31
mov dword [rsp + 0x24], 0x2d6c7275
mov dword [rsp + 0x20], 0x6362696c
mov dword [rsp + 0x28], 0x6e656761
mov word [rsp + 0x2c], 0x2f74
call fcn.1400903f0
mov rcx, rdi
call fcn.14008fed0
mov ecx, 1
movzx ebx, bpl
test eax, eax
cmove ebx, ecx
mov rcx, rdi
call fcn.14008fe9c
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14013e1c9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140057700
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14013ea20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x6c6c64
mov word [rbp - 0x2a], 0x2e69
mov word [rbp - 0x30], 0x6853
mov word [rbp - 0x2d], 0x6177
mov byte [rbp - 0x2b], 0x70
mov byte [rbp - 0x2e], 0x6c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14013eac9
lea rdx, [rbp - 0x20]
mov rcx, rax
mov word [rbp - 0x1a], 0x6f6d
mov dword [rbp - 0x15], 0x6e657478
mov dword [rbp - 0x1f], 0x52687461
mov dword [rbp - 0xf], 0x416e6f
mov byte [rbp - 0x1b], 0x65
mov word [rbp - 0x11], 0x6973
mov word [rbp - 0x17], 0x4565
mov byte [rbp - 0x20], 0x50
mov byte [rbp - 0x18], 0x76
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013eac0
mov rcx, rdi
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140057700
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x14013f3f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
cmp qword [rcx], 0
mov esi, r9d
mov r14d, r8d
mov rbp, rdx
mov rbx, rcx
jne 0x14013f501
cmp dword [rcx + 8], 0xffffffff
jne 0x14013f501
lea rdx, [rcx + 0x150]
mov ecx, 0x104
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rbx + rax + 0x151], 0
lea rax, [rax + 1]
jne 0x14013f440
movzx ecx, byte [rax + rbx + 0x14f]
cmp cl, 0x5c
je 0x14013f47c
cmp cl, 0x2f
je 0x14013f47c
lea r8, [0x1401457e0]
lea rcx, [rbx + 0x150]
or r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.14005dda4
mov rdi, qword [rsp + 0x48]
cmp esi, 1
jne 0x14013f4af
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14013f4af
mov eax, 0x2000000
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, r14d
mov rcx, rbp
call fcn.14012d490
test rax, rax
jne 0x14013f4d9
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.140016ac0
xor ecx, ecx
mov edx, 0x200
test rax, rax
mov qword [rbx], rax
cmove ecx, edx
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
mov eax, 0x1000000
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret

Function at 0x14013f520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, r8
mov edi, edx
mov ebx, ecx
mov dword [rsp + 0x21], 0x4d6e6570
mov word [rsp + 0x26], 0x6574
mov byte [rsp + 0x25], 0x75
mov byte [rsp + 0x20], 0x4f
mov word [rsp + 0x29], 0x41
mov byte [rsp + 0x28], 0x78
call fcn.14000c060
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013f584
mov r8, rsi
mov edx, edi
mov ecx, ebx
call rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140057700
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14013f5a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
lea rcx, [rbp - 0x40]
mov r12d, r9d
mov r15, r8
mov r14d, edx
xor ebx, ebx
mov dword [rbp - 0x3d], 0x33697061
mov dword [rbp - 0x37], 0x6c6c64
mov word [rbp - 0x3f], 0x7664
mov word [rbp - 0x39], 0x2e32
mov byte [rbp - 0x40], 0x41
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14013f65a
lea rdx, [rbp - 0x30]
mov rcx, rax
mov dword [rbp - 0x2c], 0x72756365
mov dword [rbp - 0x28], 0x44797469
mov dword [rbp - 0x1b], 0x6c636144
mov dword [rbp - 0x24], 0x72637365
mov dword [rbp - 0x20], 0x6f747069
mov dword [rbp - 0x30], 0x53746553
mov byte [rbp - 0x17], bl
mov byte [rbp - 0x1c], 0x72
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013f651
mov r9d, r12d
mov r8, r15
mov edx, r14d
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140057700
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140140140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov word [rsp + 0x20], 0x6547
mov dword [rsp + 0x25], 0x7441656c
mov dword [rsp + 0x2e], 0x41736574
mov word [rsp + 0x23], 0x6946
mov dword [rsp + 0x29], 0x62697274
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x2d], 0x75
mov byte [rsp + 0x22], 0x74
call fcn.14000c060
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401401bd
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140057700
add rsp, 0x40
pop rbx
ret
or eax, 0xffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140057700
add rsp, 0x40
pop rbx
ret

Function at 0x140140750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140176280]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x24], 0x69446574
mov dword [rsp + 0x20], 0x61657243
mov dword [rsp + 0x28], 0x74636572
mov dword [rsp + 0x2d], 0x417972
mov byte [rsp + 0x2c], 0x6f
call fcn.14000c060
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401407b4
mov rdx, rdi
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140057700
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140005040
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140005070
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000506f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140005075
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000506f
mov eax, 0
jmp 0x14000506f

Function at 0x1400056f0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400056a0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000ed00
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 fcn.140017840
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140017840
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000ed70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140477054]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000ef00
mov rax, qword [0x140477058]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000edbc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000ee45
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000eda0
mov rcx, rdi
call fcn.14000f8d0
test rax, rax
mov r12, rax
je 0x14000ef52
mov rax, qword [0x140477058]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000fa10
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140477058]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000ef35
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000ee3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000eeb0
add dword [0x140477054], 1
cmp ebx, 8
jae 0x14000ee71
test bl, 4
jne 0x14000ef10
test ebx, ebx
je 0x14000ee66
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000ef24
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000ee66
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000ee8a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140477058]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000ee3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000ed00
xor esi, esi
jmp 0x14000edc7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000ee66
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000ee66
mov rax, qword [0x140477058]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000ed00
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000ed00
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000f520
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1404770c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1404770a0]
test rbx, rbx
je 0x14000f574
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 0x14000f56b
test rsi, rsi
je 0x14000f56b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000f550
lea rcx, [0x1404770c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000f8d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140472090]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000f93f
mov rcx, r9
call fcn.14000f7a0
test eax, eax
je 0x14000f93f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000f93d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000f934
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000f93f
add rdx, 0x28
cmp rdx, r9
jne 0x14000f920
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140019c00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14046e1c0]
jmp 0x140010700

Function at 0x140019c10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14046e1c0]
jmp 0x140010700
Function at 0x180673058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1806731df
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 0x180673089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067306f
add dl, dl
jne 0x180673096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806730f6
xor eax, eax
add dl, dl
jne 0x1806730a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806731ad
add dl, dl
jne 0x1806730b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806730c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806730d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806730dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806730ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18067307e
mov eax, 1
add dl, dl
jne 0x180673106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180673113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806730fb
sub eax, ebx
mov ebx, 1
jne 0x18067314c
mov ecx, 1
add dl, dl
jne 0x18067312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180673123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180673168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180673175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067315d
cmp eax, 0x7d00
jae 0x18067319b
cmp eax, 0x500
jb 0x180673196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067307e
cmp eax, 0x7f
ja 0x18067319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806731d2
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 0x18067307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d65c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d6fc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fb108]
test eax, eax
je 0x2fc4d705a
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fb110]
mov qword [rbp - 8], rax
jmp 0x2fc4d703e
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 0x2fc4d7032
cmp qword [rbp - 0x10], 0
je 0x2fc4d7032
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 0x2fc4d6ff8
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d705b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7160
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 0x2fc4d7188
mov eax, 0
jmp 0x2fc4d71d6
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 0x2fc4d71b1
mov eax, 0
jmp 0x2fc4d71d6
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 0x2fc4d71d1
mov eax, 0
jmp 0x2fc4d71d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d71dc
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 0x2fc4d725a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d7251
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 0x2fc4d7251
mov rax, qword [rbp - 8]
jmp 0x2fc4d726f
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 0x2fc4d7224
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x1400126e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112fd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014f90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014fb0
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014fc3
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014fed
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015001
xor al, al
jmp 0x140015031
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015013
xor al, al
jmp 0x140015031
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001502f
xor al, al
jmp 0x140015031
mov al, 1
add rsp, 0x38
ret