joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008ae90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x140074690]
mov qword [rbp], rax
mov rsi, rcx
mov edi, dword [rsi + 8]
xor ebx, ebx
cmp edi, 0x40
jae 0x14008aee3
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x14008af0d
call fcn.14000178c
mov rcx, qword [rax + 8]
lea edx, [rdi + 1]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
test rbx, rbx
jne 0x14008af05
xor r14d, r14d
xor r15d, r15d
jmp 0x14008af0d
lea r14, [rbx + 0x10]
mov r15d, dword [rbx + 8]
lea rcx, [rsi + 0xc]
mov edx, dword [rsi + 8]
mov edx, edi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.14009dd70
cmp edi, r15d
jae 0x14008affc
mov eax, edi
mov word [r14 + rax*2], 0
mov esi, 0x15051505
mov r12d, 0x15051505
xor eax, eax
test r15d, r15d
je 0x14008af59
mov rax, r14
mov qword [rbp + 0x28], rax
cmp edi, 2
jle 0x14008af94
add edi, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rax]
or edx, 0x200020
xor esi, edx
mov edx, r12d
rol edx, 5
add r12d, edx
mov edx, dword [rax + 4]
or edx, 0x200020
xor r12d, edx
add rax, 8
cmp edi, 2
jg 0x14008af62
test edi, edi
jle 0x14008afae
mov edx, r12d
rol edx, 5
add edx, r12d
mov r12d, dword [rax]
or r12d, 0x200020
xor r12d, edx
xor eax, eax
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x14008afce
call fcn.14000178c
mov rcx, qword [rax + 8]
mov rdx, rbx
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
imul eax, r12d, 0x5d588b65
add eax, esi
lea rcx, [0x140074690]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x14008afec
call fcn.140004290
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r12
pop r14
pop r15
pop rbp
ret
call fcn.1400b95d0
int3

Function at 0x14008df20
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.1400b7e70
xor edx, edx
xor ecx, ecx
mov r8d, eax
sar r8d, 0x1f
and r8d, 3
add eax, r8d
sar eax, 2
test eax, eax
jle 0x14008df5a
mov r8d, ecx
shl r8d, 2
movsxd r8, r8d
xor edx, dword [rsi + r8]
inc ecx
cmp eax, ecx
jg 0x14008df46
mov eax, edx
add rsp, 0x20
pop rsi
ret
Function at 0x1400b9c60
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov esi, r8d
test rcx, rcx
je 0x1400b9c93
add rcx, 0xc
mov rdi, rcx
jmp 0x1400b9c95
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdx
mov rbx, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rbx
mov qword [rbp - 0x5c], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.140006cb0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.140006d00
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.1400018cd
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400bbdb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r9, qword [rcx + 0x20]
lea r10, [rdx + rdx*4]
rol r10, 7
lea r10, [r10 + r10*8]
mov r11, rdx
shl r11, 0x11
xor r8, rax
xor r9, rdx
xor rdx, r8
xor rax, r9
xor r8, r11
rol r9, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r9
mov rax, r10
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.1400bbdb0
ret

Function at 0x1400bbe10
Capabilities:
Encode data using xor

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, edx
movsxd rbx, r8d
movsxd rcx, edi
sub rbx, rcx
cmp rbx, 1
jbe 0x1400bbee6
mov rcx, rbx
or rcx, 1
mov eax, dword [0x140077910]
test eax, 0x1000
je 0x1400bbe52
lzcnt rcx, rcx
mov ebp, ecx
xor ebp, 0x3f
jmp 0x1400bbe58
bsr rcx, rcx
mov ebp, ecx
test al, 0x40
je 0x1400bbe68
xor ecx, ecx
popcnt rcx, rbx
mov r14d, ecx
jmp 0x1400bbe73
mov rcx, rbx
call fcn.14009aa80
mov r14d, eax
cmp r14d, 1
je 0x1400bbe7b
inc ebp
mov ecx, ebp
mov eax, ecx
neg eax
add eax, 0x40
and eax, 0x3f
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
mov r9, qword [rsi + 0x20]
lea r10, [rdx + rdx*4]
rol r10, 7
lea r10, [r10 + r10*8]
mov r11, rdx
shl r11, 0x11
xor r8, rcx
xor r9, rdx
xor rdx, r8
xor rcx, r9
xor r8, r11
rol r9, 0x2d
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov qword [rsi + 0x20], r9
mov ecx, eax
shr r10, cl
cmp r10, rbx
jae 0x1400bbe87
lea eax, [r10 + rdi]
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
mov eax, edi
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
Function at 0x140036320
Capabilities:
Terminate process

Disassembly:
invalid
cld
pop r11
jmp 0x14003632d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003633d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140036325
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140036355
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140036342
sub eax, 3
jb 0x14003636f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400363a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140036396
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140036394
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140036383
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400362e2
jmp 0x14003632d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400363f2
cmp rsi, rcx
jae 0x1400363fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400363d9
cmp al, 0x8f
ja 0x1400363d9
cmp byte [rsi - 2], 0xf
je 0x1400363df
sub al, 0xe8
cmp al, 1
ja 0x1400363c3
cmp rsi, rcx
jae 0x1400363fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400363c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400363fa
lodsb al, byte [rsi]
jmp 0x1400363d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x34000]
mov eax, dword [rdi]
or eax, eax
je 0x140036463
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x37f6c]
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 0x140036407
jns 0x14003643c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140036446
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 0x14003645d
mov qword [rbx], rax
add rbx, 8
jmp 0x140036427
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 + 0x18f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400364bb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x18000af10
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
ret

Function at 0x18000c224
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18000c224
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18000c293
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000c293
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000c293
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000c293
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000c293
cmp dword [rcx + 0x84], 0xe
jbe 0x18000c293
cmp dword [rcx + 0xf8], 0
je 0x18000c293
mov ecx, ebx
call fcn.18000c15c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18000c3b8
nop
cmp dword [rbp + 0x20], 0
je 0x18000c2e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18000c1f0
int3

Function at 0x18000ce50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000ce78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000ce78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800112d0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180011300
xor eax, eax
jmp 0x1800113c3
mov rbp, rbx
cmp word [rax], si
je 0x180011325
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001130c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180011308
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800111f0
movsxd r14, eax
test eax, eax
jne 0x180011363
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800112f9
mov rcx, r14
call fcn.18001171c
mov rdi, rax
test rax, rax
jne 0x18001137c
xor ecx, ecx
call fcn.18000edf4
jmp 0x180011358
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800111f0
test eax, eax
jne 0x1800113ad
mov rcx, rdi
call fcn.18000edf4
jmp 0x1800113b7
xor ecx, ecx
call fcn.18000edf4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x144563807
Capabilities:
Encode data using base64

Disassembly:
lea rcx, [rax + rax*4 - 0x4c64ae56]
xor dword [rsp + rbx*4 - 0x13800], esi
pop r9
movsxd rsi, esi
add r10, rsi
lea rbp, [rax + rdx*4 + 0x22e2b99]
mov rax, qword [r11 + rbx*2 - 0x9c00]
sar rbp, cl
lea rsi, [rcx*4 + 0x7bb94916]
or bx, di
lea rsi, [rsp + rbx - 0x7e66]
dec bx
mov qword [rsi + rbx*2 - 0xfe4a], rax
movzx eax, dx
movzx edx, byte [rbx + r8 - 0x7f2a]
xor dl, r9b
rol dl, 1
add dl, 0x12
rol dl, 1
sar rbx, 0xfd
jns 0x1445d9731
mov edx, 0xe80f5f9a
mov qword [rsp], 0x6096487
xor esi, 0xf821f90e
movsx ebx, dx
and word [rsp + rbx*4 - 0x17e62], 0xb80c
mov eax, edx
bswap esi
dec word [rsp + rbx - 0x5f94]
neg esi
sal qword [rsp + rbx*2 - 0xbf34], 0x7b
mov edi, 0x24071e93
not esi
dec dx
ror edi, 0x3f
neg word [rsp + rbx - 0x5f9a]
bswap esi
sar word [rsp + rbx*2 - 0xbf31], 0x4a
sal byte [rsp + rbx*2 - 0xbf30], 2
and bx, 0x4e01
mov qword [rsp + rbx - 0x4e00], r9
jno 0x14455b414

Function at 0x1445665d3
Capabilities:
Parse pe header

Disassembly:
movsx edx, dil
bswap esi
shr cl, 0x82
xchg word [rsp + rcx - 0xff21], bx
inc edx
mov qword [rsp + rcx*8 - 0x7f980], r9
pop rax
xor dword [rsp + rcx*4 - 0x3fcb4], esi
mov r9, qword [rsp + rcx*4 - 0x3fcb4]
sal ebx, cl
movsxd rsi, esi
neg di
neg rdi
cmovp rbp, qword [rsp + rbx + 0x14]
add r10, rsi
call fcn.14458b0af
Function at 0x14456d393
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sal rdx, 0x4c
call fcn.1445c290b
mov rbx, qword [r11]
mov eax, 0x590a08bb
mov rbp, qword [rax + r11 - 0x590a08b3]
mov ecx, 0x1c2e671c
lea rdx, [rcx + rcx + 0x6702e613]
neg al
add rbx, rbp
neg ecx
sal ecx, cl
mov qword [r11 + rcx*2 - 0x7a331c78], rbx
jbe 0x1445c6892
push rcx
mov edi, dword [r8 + rcx*2 - 0x7a331c84]
lea r8, [rax + r8 - 0x590a0849]
xor edi, r9d
xchg qword [rsp + rax - 0x590a0845], rcx
dec ecx
setge cl
ror edi, cl
bswap edi
rol edi, 3
rol word [rsp + rax - 0x590a083f], 0x6f
neg edi
lea rbx, [rax + rax*8 + 0x5fb57439]
add rdx, rbx
bswap edi
ror edi, cl
movsx ebp, dx
call fcn.144593d4c
mov esi, 0xcb9fd90b
sub r8, 1
movzx ebp, byte [r8]
movzx edi, si

Function at 0x144586788
Capabilities:
Encode data using xor

Disassembly:
pop rax
push r10
lea rax, [0x144575348]
mov r10d, 0x19a4e828
sar r10d, 0x37
sbb r10w, 0x830f
movzx r10d, byte [rsi + r10*2 - 0xfa48]
xor r10d, ebx
push 0xfffffffff62be6bc
and r10d, 0xff
mov r10d, dword [rax + r10*4]
shr ebx, 8
xor ebx, r10d
inc rsi
xor ebx, 0xa38de096
dec rdi
lea rsp, [rsp + 8]
jne 0x144586792
pop r10

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

Disassembly:
xor bpl, 0x96
neg bpl
xor bl, 0x24
sbb bpl, 0x1c
call fcn.1445a168c
lea r11, [r11 + rdi - 0x6f1c7bc0]
call fcn.14457f0f0
jmp 0x1445cf08f
movzx edi, bl
sub bpl, 0x39
sub al, cl
jns 0x14456ec16

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

Disassembly:
xor dword [rsp + rsi + 0x22], eax
pop r9
xor di, 0x7cae
call fcn.1445e4b45
movsxd rax, eax
mov qword [rsp + rsi*8 - 0x798], 0xba94aa8
ror dx, cl
add r10, rax
mov esi, dword [r8 + rsi - 0xfe]
call fcn.1445df03d
mov rsi, qword [r11]
mov edi, 0xa990a221
lea rdx, [rdi + rdi*4 + 0x3195438e]
movsx eax, dl
mov rcx, qword ss:[rsi + rax*4 - 0xcc]
shr rdi, 0xa1
movzx ebx, dil
lea rbx, [rdi*8 + 0x7e3b44b7]
mov qword [r11 + rdi*2], rcx
not edx
movsx esi, ax
lea r8, [r8 + rdi*4 - 4]
lea rbp, [rdx + rdi*2 + 0x28094d15]
rol ax, 3
mov ecx, dword [r8 + rdi*2]
xadd edi, ebx
ror dl, 3
xadd di, dx
xor ecx, r9d
ror ecx, 2
call fcn.1445c205c
xor edi, r9d
lea edi, [rbp + rdi + 0x660c7213]
and byte [rsp + rbp*4 - 0x23e7a], 0x8c
call fcn.1445ce938
rol eax, 1
inc rsi
sar edx, cl
neg eax
lea eax, [rax + rdx*4 - 0x480cd62b]
neg eax
movsx edi, dl
rol eax, 3
xor rcx, rsi
mov ebp, edx
push r9
ja 0x1445e11a5
mov r9, qword [rsp + rsi - 0xde]
rol word [rsp + rsi*2 - 0x1d9], cl
jae 0x1445aeca3
jp 0x1445692db
Function at 0x1445e5815
Capabilities:
Authenticate hmac

Disassembly:
xchg rbx, rdi
not bpl
not byte [rsp + 9]
lea rax, [rdi + rdx*4 - 0x3e5d36f0]
mov ecx, esi
sub bpl, 0x30
xor r9b, bpl
mov qword [rsp], rax
lea rbp, [rsp + rbp + 0x10]
mov edi, dword [rbp + riz]
sal word [rsp + 1], 0x22
sbb r11, 4
shr byte [rsp + 0xd], 0xe7
sbb esi, ebx
mov qword [rsp + 5], rbx
mov dword [r11], edi
sub r8, 4
or qword [rsp + 8], rsi
call fcn.14459da4a
xor ecx, r9d
ror ebx, 0x22
sar rbx, 0x5c
rol ebp, 0x5c
lea ecx, [rcx + rbp + 0x3b138a9]
jns 0x1445a64a0

Function at 0x1445e8c13
Capabilities:
Parse pe header

Disassembly:
sbb dl, 0x3e
ror dl, 1
mov qword [rsp + rbp*4 + 8], rax
inc dl
xor r9b, dl
pop rdi
pop rax
ror rbp, 0xa2
lea rdx, [rsp + rdx + 0x18]
sub bp, ax
add bpl, 0x21
mov byte [rax + rdx], cl
mov edx, dword [rax + r8 - 6]
sub dword [rsp + rax*2 + 0xb], 0x3ca90d81
mov edi, eax
lea r8, [r8 + rax*2 - 6]
call fcn.1445e0de8

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

Disassembly:
xadd rbp, rbx
pop rbx
xor r9, rdi
call fcn.1445c0d21
Function at 0x4025d0
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
test rdx, rdx
jle 0x402734
mov r12, qword [fcn.00418f90]
lea r14, [rcx + rdx*8]
mov rdi, rcx
lea r13, [0x0041b138]
lea rbp, [0x0041b139]
mov rbx, qword [rdi]
mov ecx, 1
call r12
mov rsi, rax
test rbx, rbx
je 0x4026d0
cmp qword [rbx], 0
lea r8, [rbx + 0x10]
mov rdx, rbp
mov rcx, rax
cmove r8, r13
call sub.msvcrt.dll_fprintf
mov r15d, eax
movsxd rax, r15d
cmp rax, qword [rbx]
jge 0x40265f
cmp byte [rbx + rax + 0x10], 0
jne 0x4026b0
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40265f
add r15d, 1
movsxd rax, r15d
cmp rax, qword [rbx]
jl 0x40263e
add rdi, 8
cmp rdi, r14
jne 0x402605
mov ecx, 1
call r12
mov r8d, 1
mov edx, 1
lea rcx, [0x0041b13c]
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 sub.msvcrt.dll_fflush
lea r8, [rbx + rax + 0x10]
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40265f
add r15d, eax
jmp 0x402636
mov r8, r13
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ebx, eax
test ebx, ebx
jns 0x40265f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
jne 0x402719
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40265f
add ebx, 1
test ebx, ebx
jns 0x40265f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
je 0x4026f2
add r8, 0x10
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40265f
add ebx, eax
jmp 0x4026e0
mov r12, qword [fcn.00418f90]
jmp 0x402668

Function at 0x402840
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x40285f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x402a70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.00418f90]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret
Function at 0x40a550
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x0053c2c0], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x40a64f
mov rax, qword [0x005324e0]
lea rcx, [rbp - 0x110]
mov rdx, rbp
mov qword [0x005324e0], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rax
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x40a670
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x40a620
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x40a5ea
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
lea r8, [0x005393a0]
lea rcx, [0x0041a020]
call fcn.004094d0
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x0053c2c0]
mov rax, qword [0x005324e0]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rax, qword [rax]
mov qword [0x005324e0], rax
jne 0x40a6e4
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x40a6f0
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x005324e0]
mov rax, qword [rax]
mov qword [rbp - 0x108], 0
mov qword [0x005324e0], rax
mov rax, qword [0x0053c1e8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x40a6ad
add qword [rbx - 0x10], 8
mov rax, qword [0x0053c1e8]
test rax, rax
je 0x40a6cf
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x40a6cf
lea rcx, [0x005393b8]
call fcn.00405ce0
cmp qword [rbp - 0x108], 0
mov qword [0x0053c1e8], rbx
je 0x40a64f
call fcn.0040ae70
jmp 0x40a64f
mov ecx, 2
call qword [fcn.00418f90]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x40a65e

Function at 0x40e4c0
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x40e535
cmp rcx, 0xffffffffffffffff
mov r8, qword [0x005437d0]
mov r9, qword [0x005437d8]
je 0x40e540
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
not rdx
mov r10, rdx
nop dword [rax]
lea rax, [r9 + r8]
mov rdx, r9
xor rdx, r8
ror r8, 9
mov r9, rdx
xor r8, rdx
ror rdx, 0x1c
shl r9, 0xe
xor r8, r9
cmp rax, r10
mov r9, rdx
ja 0x40e4f0
movq xmm1, rdx
movq xmm0, r8
add rcx, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [0x005437d0], xmm0
div rcx
mov rax, rdx
ret
mov rax, r8
mov rdx, r8
xor rax, r9
ror rdx, 9
mov rcx, rax
xor rdx, rax
ror rax, 0x1c
shl rcx, 0xe
mov qword [0x005437d8], rax
xor rdx, rcx
mov qword [0x005437d0], rdx
lea rdx, [r8 + r9]
mov rax, rdx
ret
Function at 0x40e590
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x00543870]
test al, al
je 0x40e658
mov rcx, qword [0x00543840]
test rcx, rcx
je 0x40e658
mov rdx, qword [0x00543848]
test rdx, rdx
jle 0x40e658
cmp byte [0x00543850], 0
mov dword [rsp + 0x2c], 0
je 0x40e660
cmp al, 2
je 0x40e660
mov rax, rdx
mov r8, rdx
mov r9d, dword [0x00543858]
and rax, 0xfffffffffffffffc
sar r8, 2
cmp rax, 3
jle 0x40e6c7
xor eax, eax
xor dword [rcx + rax*4], r9d
add rax, 1
cmp r8, rax
jg 0x40e601
movzx eax, byte [0x00543850]
test al, al
jne 0x40e6c0
cmp byte [0x00543870], 2
jne 0x40e64f
mov rax, qword [0x0052dc70]
lea r9, [rsp + 0x2c]
mov r8d, 1
mov rdx, qword [0x00543848]
mov rcx, qword [0x00543840]
call qword [rax]
movzx eax, byte [0x00543850]
xor eax, 1
mov byte [0x00543850], al
add rsp, 0x38
ret
mov rax, qword [0x0052dc70]
lea r9, [0x00543860]
mov r8d, 4
call qword [rax]
mov rdx, qword [0x00543848]
mov rcx, qword [0x00543840]
mov r9d, dword [0x00543858]
mov r8, rdx
sar r8, 0x3f
shr r8, 0x3e
lea rax, [rdx + r8]
and eax, 3
sub rax, r8
sub rdx, rax
lea r8, [rdx + 3]
cmovns r8, rdx
sar r8, 2
cmp rdx, 3
jg 0x40e5ff
jmp 0x40e60e
mov rdx, qword [0x00543848]
mov rax, qword [0x0052dc70]
lea r9, [rsp + 0x2c]
mov r8d, dword [0x00543860]
mov rcx, qword [0x00543840]
call qword [rax]
movzx eax, byte [0x00543850]
jmp 0x40e64f