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

Disassembly:
mov r10, rcx
cmp r8, 1
jb 0x14009b397
sub r10, rdx
lea r11, [0x140000000]
nop word [rax + rax]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x14009b2fe
cdqe
mov ecx, dword [r11 + rax*4 + 0x9b398]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x14009b2fe
mov r9b, 0x42
jmp case.default.0x14009b2fe
mov r9b, 0x43
jmp case.default.0x14009b2fe
mov r9b, 0x44
jmp case.default.0x14009b2fe
mov r9b, 0x45
jmp case.default.0x14009b2fe
mov r9b, 0x46
jmp case.default.0x14009b2fe
mov r9b, 0x47
jmp case.default.0x14009b2fe
mov r9b, 0x48
jmp case.default.0x14009b2fe
mov r9b, 0x49
jmp case.default.0x14009b2fe
mov r9b, 0x4a
jmp case.default.0x14009b2fe
mov r9b, 0x4b
jmp case.default.0x14009b2fe
mov r9b, 0x4c
jmp case.default.0x14009b2fe
mov r9b, 0x4d
jmp case.default.0x14009b2fe
mov r9b, 0x4e
jmp case.default.0x14009b2fe
mov r9b, 0x4f
jmp case.default.0x14009b2fe
mov r9b, 0x50
jmp case.default.0x14009b2fe
mov r9b, 0x51
jmp case.default.0x14009b2fe
mov r9b, 0x52
jmp case.default.0x14009b2fe
mov r9b, 0x53
jmp case.default.0x14009b2fe
mov r9b, 0x54
jmp case.default.0x14009b2fe
mov r9b, 0x55
jmp case.default.0x14009b2fe
mov r9b, 0x56
jmp case.default.0x14009b2fe
mov r9b, 0x57
jmp case.default.0x14009b2fe
mov r9b, 0x58
jmp case.default.0x14009b2fe
mov r9b, 0x59
jmp case.default.0x14009b2fe
mov r9b, 0x5a
mov byte [r10 + rdx], r9b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14009b397
dec r8
jne 0x14009b2e0
ret
Function at 0x1400a1a20
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x138
call qword [sym.imp.msvcrt.dll_getenv]
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400a1a65
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400a1a65
lea rcx, [rsp + 0x20]
call qword [case.0x14008c3a7.0]
add rsp, 0x138
ret
xor eax, eax
add rsp, 0x138
ret

Function at 0x1400a36b0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.DLL_CryptAcquireContextA]
test eax, eax
je 0x1400a370c
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.DLL_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
test eax, eax
jne 0x1400a371c
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400a7100
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WSOCK32.DLL_ioctlsocket]
add rsp, 0x28
ret
Function at 0x1400a7180
Capabilities:
Resolve dns

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
lea r9, [rsp + 0x68]
mov ebx, r13d
mov r15d, r13d
call qword [sym.imp.WS2_32.DLL_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x1400a7344
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdi
test rsi, rsi
je 0x1400a7324
mov qword [rsp + 0x50], rbp
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400a71dd
lea ebp, [rax + 0xe]
jmp 0x1400a71e9
cmp eax, 0x17
jne 0x1400a7291
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x1400a7291
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400a7291
cmp rax, rbp
jb 0x1400a7291
mov ecx, 0x30
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400a72cc
mov ecx, dword [rsi]
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0x10], ebp
mov dword [rax + 0xc], ecx
mov rcx, rbp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
call qword [sub.msvcrt.dll_malloc]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400a72bb
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400a727e
call qword [case.0x14008c3a7.0]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1400a72a0
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x1400a728e
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400a71d0
jmp 0x1400a72d2
mov rcx, qword [rdi + 0x20]
mov r14d, 8
call qword [sub.msvcrt.dll_free]
mov rcx, rdi
call qword [sub.msvcrt.dll_free]
jmp 0x1400a72d2
mov rcx, rdi
mov r14d, 8
call qword [sub.msvcrt.dll_free]
jmp 0x1400a72d2
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rcx, rcx
je 0x1400a72e7
call qword [sym.imp.WS2_32.DLL_freeaddrinfo]
test r14d, r14d
je 0x1400a731f
test rbx, rbx
je 0x1400a731a
mov rcx, qword [rbx + 0x20]
call qword [sub.msvcrt.dll_free]
mov rcx, qword [rbx + 0x18]
call qword [sub.msvcrt.dll_free]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [sub.msvcrt.dll_free]
mov rbx, rdi
test rdi, rdi
jne 0x1400a72f1
mov rbx, r13
jmp 0x1400a7333
test rbx, rbx
jne 0x1400a7333
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
mov eax, r14d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x1400a9310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rdi, r8
cmp dword [rcx + 8], 2
mov rsi, rdx
jne 0x1400a935a
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1400a934a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rsi
call rax
jmp 0x1400a93a4
cmp qword [rbx + 0x10], 0
jne 0x1400a938f
mov rcx, qword [rcx + 0x10]
lea rdx, [0x1400c5d94]
call qword [sym.imp.msvcrt.dll_fopen]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400a938f
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
mov rdi, rax
test rax, rax
jne 0x1400a93c8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400a93bf
call qword [sym.imp.msvcrt.dll_fclose]
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1400ab5d0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WSOCK32.DLL_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1400ab60a
lea edx, [rax + 0x2e]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1400ab608
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ad950
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400ad992
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400ad9d5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + 0x10]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400ada31
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
dec rbp
jne 0x1400ad9f0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400ada73
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400cc572]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400cc573]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400ada40
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b1110
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400b1340
xor r10d, r10d
lea edx, [rax*4]
mov r11d, eax
movsxd r9, edx
test edx, edx
jle 0x1400b1189
lea r8, [rbx + 8]
lea rcx, [rbx + 8]
lea r8, [r8 + r9*4]
nop
mov eax, dword [r8 - 8]
mov edx, dword [rcx - 8]
add r10, 4
mov dword [rcx - 8], eax
mov eax, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rcx]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rcx + 4]
mov dword [rcx + 4], eax
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rcx, [rcx + 0x10]
cmp r10, r9
jl 0x1400b1140
cmp r11d, 1
jle 0x1400b132d
mov qword [rsp + 0x30], rdi
add rbx, 2
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
nop word [rax + rax]
mov r8d, dword [rbx + 0xe]
lea rbx, [rbx + 0x10]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx - 1]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
mov r9d, dword [rdi + rdx*4 + 0xcda00]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0xce200]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx]
xor r9d, dword [rdi + rcx*4 + 0xce600]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx + 3]
movzx edx, byte [rdi + rax*4 + 0xcd600]
xor r9d, dword [rdi + rcx*4 + 0xcde00]
movzx eax, byte [rbx + 4]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
mov r8d, dword [rdi + rdx*4 + 0xce200]
mov dword [rbx - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0xcde00]
mov r9d, dword [rbx + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, r9b
mov r9d, dword [rbx + 6]
xor r8d, dword [rdi + rcx*4 + 0xcda00]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx + 7]
xor r8d, dword [rdi + rcx*4 + 0xce600]
movzx edx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx + 8]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
mov dword [rbx + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0xce200]
xor r8d, dword [rdi + rcx*4 + 0xcde00]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, r9b
mov r9d, dword [rbx + 0xa]
xor r8d, dword [rdi + rcx*4 + 0xcda00]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx + 0xb]
xor r8d, dword [rdi + rcx*4 + 0xce600]
movzx edx, byte [rdi + rax*4 + 0xcd600]
movzx eax, byte [rbx + 0xc]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
mov dword [rbx + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0xce200]
xor r8d, dword [rdi + rcx*4 + 0xcde00]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xcd600]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xcda00]
movzx ecx, byte [rdi + rax*4 + 0xcd600]
xor r8d, dword [rdi + rcx*4 + 0xce600]
mov dword [rbx + 0xa], r8d
dec r10
jne 0x1400b11b0
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x1400b1850
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rsi, rdx
mov rbx, r8
mov eax, r9d
cdq
mov r12d, r9d
mov r13, rcx
and edx, 0xf
add eax, edx
mov r8d, eax
and eax, 0xf
sub eax, edx
sar r8d, 4
mov edi, eax
test eax, eax
je 0x1400b1899
test r8d, r8d
jne 0x1400b1896
xor eax, eax
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
dec r8d
mov qword [rsp + 0x80], rbp
mov rbp, qword [rsp + 0xa0]
mov qword [rsp + 0x88], r14
movups xmm0, xmmword [rbp]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
test r8d, r8d
je 0x1400b1922
mov qword [rsp + 0x90], r15
mov r14d, r8d
nop dword [rax]
mov edx, dword [r13 + 4]
lea rcx, [r13 + 0xf8]
mov r9, rbx
mov r8, rsi
call fcn.1400b04e0
mov eax, dword [rsp + 0x20]
add rsi, 0x10
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
add rbx, 0x10
xor dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx - 4], eax
movups xmm0, xmmword [rsi - 0x10]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
dec r14
jne 0x1400b18d0
mov r15, qword [rsp + 0x90]
test edi, edi
je 0x1400b1a64
movups xmm0, xmmword [rsi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, [r13 + 0xf8]
movups xmmword [rbp], xmm0
mov edx, dword [r13 + 4]
movups xmmword [rsp + 0x40], xmm0
call fcn.1400b04e0
xor r10d, r10d
test edi, edi
je 0x1400b1a2f
cmp edi, 0x10
jb 0x1400b19e9
lea r9d, [rdi - 1]
lea r11, [rbx + 0x10]
lea rdx, [rsi + 0x10]
lea eax, [r9 + 0x10]
lea rbp, [rax + rsi]
lea r8, [rax + rbx]
cmp r11, rbp
ja 0x1400b1986
cmp r8, rdx
jae 0x1400b19e9
lea rcx, [rsp + 0x30]
mov eax, r9d
add rcx, rax
cmp r11, rcx
ja 0x1400b19a0
lea rax, [rsp + 0x30]
cmp r8, rax
jae 0x1400b19e9
lea rax, [rsp + 0x30]
cmp rax, rbp
ja 0x1400b19af
cmp rcx, rdx
jae 0x1400b19e9
mov eax, edi
mov r8d, edi
and eax, 0xf
sub r8d, eax
nop word [rax + rax]
lea edx, [r10 + 0x10]
mov eax, r10d
mov r10d, edx
movdqu xmm0, xmmword [rsp + rax + 0x30]
movdqu xmm1, xmmword [rdx + rsi]
movdqu xmmword [rsp + rax + 0x30], xmm1
pxor xmm0, xmm1
movdqu xmmword [rdx + rbx], xmm0
cmp edx, r8d
jb 0x1400b19c0
cmp r10d, edi
jae 0x1400b1a2f
lea r8d, [r10 + 0x10]
mov eax, r10d
lea r9, [rsp + 0x30]
mov r11, rbx
add r9, rax
add r8, rsi
sub r11, rsi
sub edi, r10d
mov r10d, edi
nop dword [rax]
movzx eax, byte [r8]
movzx edx, byte [r9]
lea r8, [r8 + 1]
xor dl, al
mov byte [r9], al
lea r9, [r9 + 1]
mov byte [r11 + r8 - 1], dl
dec r10
jne 0x1400b1a10
mov edx, dword [r13 + 4]
lea r8, [rsp + 0x30]
lea rcx, [r13 + 0xf8]
mov r9, rbx
call fcn.1400b04e0
mov eax, dword [rsp + 0x20]
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
xor dword [rbx + 4], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx + 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx + 0xc], eax
jmp 0x1400b1a68
movups xmmword [rbp], xmm1
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov eax, r12d
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b1a90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x40
mov rbx, rdx
mov eax, r9d
mov r12d, r9d
cdq
mov rdi, r8
mov r13, rcx
and edx, 0xf
add eax, edx
mov r10d, eax
and eax, 0xf
sub eax, edx
sar r10d, 4
mov esi, eax
test eax, eax
je 0x1400b1ade
test r10d, r10d
jne 0x1400b1adb
xor eax, eax
jmp 0x1400b1ca6
dec r10d
mov qword [rsp + 0x70], r14
mov r14, qword [rbp + 0x50]
mov qword [rsp + 0x78], r15
mov rcx, r14
test r10d, r10d
je 0x1400b1b4a
mov r15d, r10d
nop word [rax + rax]
mov eax, dword [rbx]
mov edx, dword [r13 + 4]
lea r8, [rbp - 0x20]
xor eax, dword [rcx]
mov r9, rdi
mov dword [rbp - 0x20], eax
mov eax, dword [rcx + 4]
xor eax, dword [rbx + 4]
mov dword [rbp - 0x1c], eax
mov eax, dword [rcx + 8]
xor eax, dword [rbx + 8]
mov dword [rbp - 0x18], eax
mov eax, dword [rcx + 0xc]
lea rcx, [r13 + 8]
xor eax, dword [rbx + 0xc]
mov dword [rbp - 0x14], eax
call fcn.1400b0af0
mov rcx, rdi
add rdi, 0x10
add rbx, 0x10
dec r15
jne 0x1400b1b00
mov r12d, dword [rbp + 0x48]
test esi, esi
je 0x1400b1c7f
movups xmm0, xmmword [rbx]
mov edx, dword [r13 + 4]
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
movd eax, xmm0
xor eax, dword [rcx]
mov dword [rbp - 0x20], eax
mov eax, dword [rcx + 4]
xor dword [rbp - 0x1c], eax
mov eax, dword [rcx + 8]
xor dword [rbp - 0x18], eax
mov eax, dword [rcx + 0xc]
lea rcx, [r13 + 8]
xor dword [rbp - 0x14], eax
call fcn.1400b0af0
xor edx, edx
test esi, esi
je 0x1400b1c5f
cmp esi, 0x10
jb 0x1400b1c16
lea ecx, [rsi - 1]
lea r11, [rbp - 0x10]
lea r9, [rdi + 0x10]
lea eax, [rcx + 0x10]
mov r10d, eax
lea r8, [rax + rdi]
mov eax, ecx
add r11, rax
cmp r9, r11
ja 0x1400b1bc4
lea rax, [rbp - 0x10]
cmp r8, rax
jae 0x1400b1c16
lea rcx, [r10 + rbx]
lea rax, [rbx + 0x10]
cmp r9, rcx
ja 0x1400b1bd6
cmp r8, rax
jae 0x1400b1c16
lea r8, [rbp - 0x10]
cmp r8, rcx
ja 0x1400b1be4
cmp r11, rax
jae 0x1400b1c16
mov eax, esi
mov r8d, esi
and eax, 0xf
sub r8d, eax
nop
lea rcx, [rbp - 0x10]
mov eax, edx
movdqu xmm1, xmmword [rcx + rdx]
add edx, 0x10
movdqu xmm0, xmmword [rdx + rbx]
movdqu xmmword [rdx + rdi], xmm1
pxor xmm0, xmm1
movdqu xmmword [rcx + rax], xmm0
cmp edx, r8d
jb 0x1400b1bf0
cmp edx, esi
jae 0x1400b1c5f
lea r9, [rbp - 0x10]
lea r8d, [rdx + 0x10]
mov eax, edx
add r9, rax
add r8, rdi
sub rbx, rdi
sub esi, edx
mov r10d, esi
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r9]
movzx eax, byte [rbx + r8]
lea r9, [r9 + 1]
xor al, dl
mov byte [r8], dl
lea r8, [r8 + 1]
mov byte [r9 - 1], al
dec r10
jne 0x1400b1c40
mov edx, dword [r13 + 4]
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x10]
lea rcx, [r13 + 8]
call fcn.1400b0af0
lea rcx, [rbp - 0x10]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rdi], xmm0
mov eax, dword [rcx]
mov r15, qword [rsp + 0x78]
mov dword [r14], eax
mov eax, dword [rcx + 4]
mov dword [r14 + 4], eax
mov eax, dword [rcx + 8]
mov dword [r14 + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [r14 + 0xc], eax
mov r14, qword [rsp + 0x70]
mov eax, r12d
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x4e61e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x4e61ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x4e61fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x4e61e5
lea eax, [rcx + 1]
jmp 0x4e620b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x4e621e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x4e6204
sub eax, 3
jb 0x4e623e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x4e628d
sar eax, 1
movsxd rbp, eax
jb 0x4e6274
jmp 0x4e624c
add ebx, ebx
jne 0x4e624a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x4e6274
inc ecx
add ebx, ebx
jne 0x4e625a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x4e6274
call r11
adc ecx, ecx
add ebx, ebx
jne 0x4e626d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x4e625c
add ecx, 2
jmp 0x4e6279
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.004e61a2
jmp 0x4e61ed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa7a00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x4e62dd
cmp rsi, rcx
jae 0x4e62e5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x4e62c4
cmp al, 0x8f
ja 0x4e62c4
cmp byte [rsi - 2], 0xf
je 0x4e62ca
sub al, 0xe8
cmp al, 1
ja 0x4e62ae
cmp rsi, rcx
jae 0x4e62e5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x4e62b4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x4e62e5
lodsb al, byte [rsi]
jmp 0x4e62c4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe1000]
mov eax, dword [rdi]
or eax, eax
je 0x4e6342
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xe6000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x4e62f2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x4e633c
mov qword [rbx], rax
add rbx, 8
jmp 0x4e6312
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.004e63c5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.004e63c5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x4e63b5
sub rsp, 0xffffffffffffff80
jmp 0x4014d0
Function at 0x140002cf0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400048c0
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.1400048c0
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 0x140002d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140002e90
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002dab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002e35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d90
mov rcx, rbx
call fcn.1400037b0
mov rdi, rax
test rax, rax
je 0x140002eb2
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400038f0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002e2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002e40
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002e2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002cf0
nop dword [rax]
xor esi, esi
jmp 0x140002db8
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002cf0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002cf0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003420
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000347c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003473
test rsi, rsi
je 0x140003473
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003458
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]