joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c8e20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov rbx, rcx
xor eax, eax
nop dword [rax]
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x100
jl 0x1400c8e40
xor edi, edi
movzx ebp, r8b
xor dl, dl
lea r14, [rbx + 0xff]
mov ecx, 0xff
lea r15, str.jsxduzqxbvowsthhweblbzo
nop word [rax + rax]
xor esi, esi
mov r10d, 1
cmp ecx, r10d
jbe 0x1400c8e90
nop dword [rax]
lea r10d, [r10*2 + 1]
cmp r10d, ecx
jb 0x1400c8e80
nop dword [rax]
movzx edx, dl
lea r9d, [rdi + 1]
movzx edx, byte [rdx + rbx]
add dl, byte [rdi + r15]
movzx r8d, dl
cmp r9d, ebp
lea eax, [r8 + rbp]
movzx edx, al
cmovb edx, r8d
xor edi, edi
cmp r9d, ebp
movzx r11d, dl
mov eax, r11d
cmovb edi, r9d
and eax, r10d
inc esi
cmp esi, 0xb
jbe 0x1400c8ed1
xor edx, edx
div ecx
mov eax, edx
movzx edx, r11b
cmp eax, ecx
ja 0x1400c8e90
movzx r8d, byte [r14]
movzx edx, al
movzx eax, byte [rdx + rbx]
mov byte [r14], al
dec r14
mov byte [rdx + rbx], r8b
movzx edx, r11b
sub ecx, 1
jne 0x1400c8e70
movzx eax, byte [rbx + 1]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov byte [rbx + 0x100], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x101], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x102], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0x103], al
mov rax, rbx
movzx ecx, byte [r11 + rbx]
mov byte [rbx + 0x104], cl
mov rbx, qword [rsp + 0x18]
pop r15
pop r14
ret
Function at 0x1400d3170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
mov word [rbp - 0x39], 0x642e
mov dword [rbp - 0x3f], 0x61776c68
mov word [rbp - 0x36], 0x6c
mov word [rbp - 0x3b], 0x6970
mov byte [rbp - 0x37], 0x6c
mov byte [rbp - 0x40], 0x53
mov dword [rbp - 0x1b], 0x61726269
mov dword [rbp - 0x1f], 0x4c64616f
mov word [rbp - 0x16], 0x4179
mov byte [rbp - 0x20], 0x4c
mov byte [rbp - 0x14], 0
mov byte [rbp - 0x17], 0x72
mov word [rbp - 0x2f], 0x7265
mov dword [rbp - 0x27], 0x6c6c64
mov dword [rbp - 0x2c], 0x32336c65
mov byte [rbp - 0x2d], 0x6e
mov byte [rbp - 0x30], 0x4b
mov byte [rbp - 0x28], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d321c
lea rcx, [rbp - 0x40]
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop rbp
ret
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop rbp
ret

Function at 0x1400d3240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x18], 0x6c6c642e
mov word [rbp - 0x1c], 0x6970
mov word [rbp - 0x1f], 0x7664
mov byte [rbp - 0x14], 0
mov word [rbp - 0x1a], 0x3233
mov byte [rbp - 0x20], 0x41
mov byte [rbp - 0x1d], 0x61
mov dword [rbp - 0x2b], 0x61726269
mov dword [rbp - 0x2f], 0x4c64616f
mov word [rbp - 0x26], 0x4179
mov byte [rbp - 0x30], 0x4c
mov byte [rbp - 0x24], 0
mov byte [rbp - 0x27], 0x72
mov word [rbp - 0x3f], 0x7265
mov dword [rbp - 0x37], 0x6c6c64
mov dword [rbp - 0x3c], 0x32336c65
mov byte [rbp - 0x3d], 0x6e
mov byte [rbp - 0x40], 0x4b
mov byte [rbp - 0x38], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d32f0
lea rcx, [rbp - 0x20]
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop rbp
ret
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop rbp
ret
Function at 0x1400d33c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, ecx
mov dword [rbp - 0x18], 0x61737457
xor ebx, ebx
mov dword [rbp - 0x13], 0x2e323369
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x1c], bl
mov r14, rdx
mov dword [rbp - 0xf], 0x6c6c64
mov byte [rbp - 0x14], 0x70
mov dword [rbp - 0x23], 0x61726269
mov dword [rbp - 0x27], 0x4c64616f
mov word [rbp - 0x1e], 0x4179
mov byte [rbp - 0x28], 0x4c
mov byte [rbp - 0x1f], 0x72
mov word [rbp - 0x3f], 0x7265
mov dword [rbp - 0x37], 0x6c6c64
mov dword [rbp - 0x3c], 0x32336c65
mov byte [rbp - 0x3d], 0x6e
mov byte [rbp - 0x40], 0x4b
mov byte [rbp - 0x38], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d34df
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x90], rdi
call rax
mov rdi, rax
test rax, rax
je 0x1400d34b8
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x51535457
mov rcx, rax
mov dword [rbp - 0x38], 0x72657355
mov dword [rbp - 0x3c], 0x79726575
mov dword [rbp - 0x34], 0x656b6f54
mov word [rbp - 0x30], 0x6e
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d34b0
mov rdx, r14
mov ecx, esi
call rax
mov ebx, eax
mov rcx, rdi
call fcn.1400c4d80
mov rdi, qword [rsp + 0x90]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001e190
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rsi
pop rbp
ret
mov eax, ebx
jmp 0x1400d34c2

Function at 0x1400d3650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, ecx
mov word [rsp + 0x24], 0x70
lea rcx, [rsp + 0x28]
mov word [rsp + 0x21], 0x656c
mov byte [rsp + 0x23], 0x65
mov byte [rsp + 0x20], 0x53
mov word [rsp + 0x29], 0x7265
mov dword [rsp + 0x31], 0x6c6c64
mov dword [rsp + 0x2c], 0x32336c65
mov byte [rsp + 0x2b], 0x6e
mov byte [rsp + 0x28], 0x4b
mov byte [rsp + 0x30], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d36c7
mov ecx, ebx
call rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x40
pop rbx
ret
Function at 0x1400d3860
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rcx
xor ebx, ebx
call fcn.1400d3170
mov rdi, rax
test rax, rax
je 0x1400d38d8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x26], 0x7845656c
mov rcx, rax
mov dword [rsp + 0x2a], 0x73747369
mov word [rsp + 0x2e], 0x41
mov dword [rsp + 0x20], 0x68746150
mov word [rsp + 0x24], 0x6946
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d38d0
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call fcn.1400c4d80
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001e190
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400d3900
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, 0x40
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
call fcn.1400162b0
mov rdi, rax
test rax, rax
je 0x1400d3994
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x16], 0x6e6f6973
mov rcx, rax
mov word [rbp - 0xa], 0x41
mov dword [rbp - 0x1f], 0x69467465
mov dword [rbp - 0x1a], 0x72655665
mov dword [rbp - 0xf], 0x7a69536f
mov word [rbp - 0x11], 0x666e
mov byte [rbp - 0x12], 0x49
mov byte [rbp - 0x1b], 0x6c
mov byte [rbp - 0x20], 0x47
mov byte [rbp - 0xb], 0x65
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d398c
mov rdx, r14
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call fcn.1400c4d80
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001e190
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret

Function at 0x1400d3a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov word [rbp - 0x28], 0x65
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2f], 0x6c61636f
mov word [rbp - 0x2b], 0x7246
mov byte [rbp - 0x30], 0x4c
mov byte [rbp - 0x29], 0x65
mov word [rbp - 0x1f], 0x7265
mov dword [rbp - 0x17], 0x6c6c64
mov dword [rbp - 0x1c], 0x32336c65
mov byte [rbp - 0x1d], 0x6e
mov byte [rbp - 0x20], 0x4b
mov byte [rbp - 0x18], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d3b0c
mov rcx, rbx
call rax
jmp 0x1400d3b0f
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1400d3c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov word [rbp - 0x29], 0x65
lea rcx, [rbp - 0x20]
mov word [rbp - 0x2f], 0x6165
mov r14, r9
mov word [rbp - 0x2c], 0x6946
mov esi, r8d
mov byte [rbp - 0x2a], 0x6c
mov rdi, rdx
mov byte [rbp - 0x30], 0x52
mov byte [rbp - 0x2d], 0x64
mov word [rbp - 0x1f], 0x7265
mov dword [rbp - 0x17], 0x6c6c64
mov dword [rbp - 0x1c], 0x32336c65
mov byte [rbp - 0x1d], 0x6e
mov byte [rbp - 0x20], 0x4b
mov byte [rbp - 0x18], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d3c99
mov r9, r14
mov qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400d3cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x17], 0x746e75
mov dword [rbp - 0x1e], 0x63695474
mov word [rbp - 0x19], 0x6f43
mov word [rbp - 0x20], 0x6547
mov byte [rbp - 0x1a], 0x6b
mov word [rbp - 0x2f], 0x7265
mov dword [rbp - 0x27], 0x6c6c64
mov dword [rbp - 0x2c], 0x32336c65
mov byte [rbp - 0x2d], 0x6e
mov byte [rbp - 0x30], 0x4b
mov byte [rbp - 0x28], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d3d45
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x50
pop rbp
ret
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x50
pop rbp
ret

Function at 0x1400d3d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, qword [rsp + 0x88]
mov rsi, rcx
xor ebx, ebx
call fcn.1400d3240
mov rdi, rax
test rax, rax
je 0x1400d3e06
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x3a], 0x6e656b6f
mov rcx, rax
mov dword [rsp + 0x31], 0x696c7075
mov dword [rsp + 0x35], 0x65746163
mov word [rsp + 0x3f], 0x78
mov byte [rsp + 0x39], 0x54
mov byte [rsp + 0x3e], 0x45
mov byte [rsp + 0x30], 0x44
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d3dfe
mov qword [rsp + 0x28], rbp
lea r9d, [rbx + 2]
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call fcn.1400c4d80
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001e190
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400d3e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, qword [rsp + 0xf8]
mov r14, r8
mov r12, qword [rsp + 0x108]
mov rbp, rdx
mov r13, qword [rsp + 0x110]
mov rsi, rcx
xor ebx, ebx
call fcn.1400d3240
mov rdi, rax
test rax, rax
je 0x1400d3f17
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x61], 0x74616572
mov rcx, rax
mov dword [rsp + 0x6c], 0x55734173
mov dword [rsp + 0x67], 0x65636f72
mov dword [rsp + 0x71], 0x417265
mov byte [rsp + 0x60], 0x43
mov word [rsp + 0x65], 0x5065
mov byte [rsp + 0x6b], 0x73
mov byte [rsp + 0x70], 0x73
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1400d3f0f
mov eax, dword [rsp + 0xf0]
xor r9d, r9d
mov qword [rsp + 0x50], r13
mov r8, r14
mov qword [rsp + 0x48], r12
mov rdx, rbp
mov qword [rsp + 0x40], rbx
mov rcx, rsi
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call r10
mov ebx, eax
mov rcx, rdi
call fcn.1400c4d80
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001e190
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d3f50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov word [rbp - 0x17], 0x7365
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x12], 0x79726f6d
mov r14, r9
mov dword [rbp - 0x20], 0x74697257
mov rsi, r8
mov dword [rbp - 0x1c], 0x6f725065
mov rdi, rdx
mov byte [rbp - 0xe], 0
mov word [rbp - 0x14], 0x654d
mov byte [rbp - 0x15], 0x73
mov byte [rbp - 0x18], 0x63
mov word [rbp - 0x2f], 0x7265
mov dword [rbp - 0x27], 0x6c6c64
mov dword [rbp - 0x2c], 0x32336c65
mov byte [rbp - 0x2d], 0x6e
mov byte [rbp - 0x30], 0x4b
mov byte [rbp - 0x28], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d3ff8
mov r9, r14
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call rax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400d40c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f7020]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x38]
mov word [rbp - 0x21], 0x6d65
mov word [rbp - 0x1e], 0x6d69
mov dword [rbp - 0x16], 0x6d695465
mov word [rbp - 0x12], 0x65
mov word [rbp - 0x23], 0x7473
mov dword [rbp - 0x28], 0x53746547
mov dword [rbp - 0x1b], 0x69467341
mov byte [rbp - 0x1c], 0x65
mov byte [rbp - 0x1f], 0x54
mov byte [rbp - 0x24], 0x79
mov byte [rbp - 0x17], 0x6c
mov word [rbp - 0x37], 0x7265
mov dword [rbp - 0x2f], 0x6c6c64
mov dword [rbp - 0x34], 0x32336c65
mov byte [rbp - 0x35], 0x6e
mov byte [rbp - 0x38], 0x4b
mov byte [rbp - 0x30], 0x2e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d4156
lea rcx, [rbp - 0x40]
call rax
mov eax, dword [rbp - 0x40]
movabs rcx, 0xfe624e212ac18000
mov dword [rbp - 0x38], eax
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x34], eax
movabs rax, 0xd6bf94d5e57a42bd
add rcx, qword [rbp - 0x38]
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rax, rdx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001e190
add rsp, 0x60
pop rbp
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400bf490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400bf4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400a15b0
jmp 0x14000123c
mov rax, qword [0x1400bf4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400bf4a0]
mov dword [rax], 1
mov rax, qword [str._P_f_]
mov rdx, rax
mov rax, qword [0x1400bf4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400c3024], 1
mov rax, qword [0x1400bf4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400bf4c0]
mov rdx, rax
mov rax, qword [0x1400bf4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400bf4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400bf490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400bf3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400bf3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400a0838
mov rax, qword [0x1400bf520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [str._1_f_]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400a0030
mov eax, dword [0x1400c3004]
lea rdx, [0x1400c3008]
mov ecx, eax
call fcn.14000147c
call fcn.14009fdc7
mov rax, qword [0x1400bf410]
mov rax, qword [rax]
mov rdx, qword [0x1400c3010]
mov qword [rax], rdx
mov rcx, qword [0x1400c3010]
mov rdx, qword [0x1400c3008]
mov eax, dword [0x1400c3004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400c301c], eax
mov eax, dword [0x1400c3020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400c301c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400c3024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400c301c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400bf440]
mov dword [rax], 1
mov rax, qword [0x1400bf450]
mov dword [rax], 1
mov rax, qword [0x1400bf460]
mov dword [rax], 1
mov rax, qword [0x1400bf400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
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 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400a0040
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400a13a0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400a0d12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400c3168]
test eax, eax
je 0x1400a0daa
lea rax, [0x1400c3140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400c3170]
mov qword [rbp - 8], rax
jmp 0x1400a0d8e
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 0x1400a0d82
cmp qword [rbp - 0x10], 0
je 0x1400a0d82
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 0x1400a0d48
lea rax, [0x1400c3140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400a0dab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400a0eb0
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 0x1400a0ed8
mov eax, 0
jmp 0x1400a0f26
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 0x1400a0f01
mov eax, 0
jmp 0x1400a0f26
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 0x1400a0f21
mov eax, 0
jmp 0x1400a0f26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400a0f2c
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 0x1400a0faa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400a0fa1
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 0x1400a0fa1
mov rax, qword [rbp - 8]
jmp 0x1400a0fbf
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 0x1400a0f74
mov eax, 0
add rsp, 0x20
pop rbp
ret