joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463d20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403c43
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409920
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461f40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403c20
cmp byte [0x00659d8b], 0
je 0x463d35
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x460f80
jmp 0x403c20

Function at 0x463d40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0065a0a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00659d8b], 0
je 0x463d75
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0065a360]
aesenc xmm0, xmmword [0x0065a370]
aesenc xmm0, xmmword [0x0065a380]
movq rax, xmm0
ret
jmp 0x409b40

Function at 0x463d80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0065a0a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00659d8b], 0
je 0x463db6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0065a360]
aesenc xmm0, xmmword [0x0065a370]
aesenc xmm0, xmmword [0x0065a380]
movq rax, xmm0
ret
jmp 0x409ba0

Function at 0x465aa0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x465ad4
mov rcx, 0x28
jmp 0x465adf
shl rcx, 3
add rcx, 0x1480
mov qword [0x00659fd0], rcx
pop rbp
ret
Function at 0x480340
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48040a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403b00
xorps xmm15, xmm15
mov r14, qword [0x00659fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4803ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c84a0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044a240
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00481160
inc rbx
cmp rcx, rbx
jae 0x4803de
mov edi, 1
lea rsi, [0x004c84a0]
call fcn.0044a320
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0053d018]
lea rsi, [0x0053c7d8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461f40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00480340
Function at 0x4ac4c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ac4d7
inc rax
cmp rax, 4
jge 0x4ac4ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ac4d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ac500
inc rax
cmp rax, 4
jge 0x4ac50e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ac537
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ac51b
jmp 0x4ac4fd
Function at 0x50001dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rax, 0x88
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp], 0
jmp 0x50001e8a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x14]
cmp dword [rsp], eax
jae 0x50001f56
cmp dword [rsp], 0xffff
ja 0x50001f56
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x38], rax
je 0x50001ed1
jmp 0x50001e82
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jle 0x50001ee4
jmp 0x50001e82
mov dword [rsp + 4], 0
jmp 0x50001ef8
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 4], eax
jae 0x50001f4f
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax*2]
cmp dword [rsp], eax
je 0x50001f1a
jmp 0x50001eee
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x10], eax
cmp qword [rsp + 0x70], 0
je 0x50001f3c
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp]
mov dword [rax], ecx
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
jmp 0x50001f58
jmp 0x50001f56
xor eax, eax
add rsp, 0x58
ret
Function at 0x500052c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x30], 1
cmp dword [rsp + 0x60], 0
jne 0x500052f9
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x52
jne 0x5000532f
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x30], 0xffffffff
jmp 0x50005348
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
test eax, eax
je 0x500054a6
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x500054a6
cmp dword [rsp + 0x60], 2
jb 0x500054a6
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x20
jne 0x5000537f
jmp 0x50005331
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x3a
jne 0x50005393
mov al, 1
jmp 0x500054c1
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x2a
jne 0x500053f6
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
call fcn.500029c0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x50005331
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + rax]
call fcn.50002950
mov dword [rsp + 0x28], eax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + rax]
call fcn.50002950
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x28], 0
jge 0x50005451
movzx eax, byte [rsp + 0x20]
sar eax, 4
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x2c], 0
jge 0x50005464
movzx eax, byte [rsp + 0x20]
and eax, 0xf
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
shl eax, 4
or eax, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0x20]
xor eax, ecx
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x50005331
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x500054bf
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
test eax, eax
jne 0x500054bf
mov al, 1
jmp 0x500054c1
xor al, al
add rsp, 0x48
ret
Function at 0x50005b80
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x18]
mov ecx, dword [rcx + 0x3c]
add ecx, eax
mov eax, ecx
mov eax, eax
add rax, 0x18
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp + 4], 0
jmp 0x50005c04
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x10]
add rax, 0x28
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 6]
cmp dword [rsp + 4], eax
jge 0x50005c8a
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x48]
cmp dword [rax + 0xc], ecx
jbe 0x50005c27
mov byte [rsp], 0
jmp 0x50005c47
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x10]
add eax, dword [rcx + 8]
cmp eax, dword [rsp + 0x48]
ja 0x50005c43
mov byte [rsp], 0
jmp 0x50005c47
mov byte [rsp], 1
movzx eax, byte [rsp]
test eax, eax
jne 0x50005c51
jmp 0x50005bec
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0xc]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x48], eax
jb 0x50005c77
xor eax, eax
jmp 0x50005c8c
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x14]
add eax, dword [rsp + 0x48]
jmp 0x50005c8c
xor eax, eax
add rsp, 0x38
ret
Function at 0x50005ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x50005e24
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov r8d, gethostbyaddr
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x50005d15
jmp 0x50005e24
mov eax, dword [rsp + 0x24]
cmp qword [rsp + 0x58], rax
jbe 0x50005d2a
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
jmp 0x50005d32
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x64], 4
je 0x50005d40
cmp dword [rsp + 0x64], 0x40
jne 0x50005d73
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x38]
call fcn.50005f80
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
jmp 0x50005df3
mov eax, dword [rsp + 0x20]
lea r9, [rsp + 0x2c]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x50005d98
jmp 0x50005e24
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x38]
call fcn.50005f80
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x50005df3
mov eax, dword [rsp + 0x20]
lea r9, [rsp + 0x2c]
mov r8d, dword [rsp + 0x2c]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x50005df3
jmp 0x50005e24
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
je 0x50005dff
jmp 0x50005e24
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x50005cd3
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
add rsp, 0x78
ret
Function at 0x50006260
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
jmp 0x5000628e
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rcx*2]
test eax, eax
je 0x500062c5
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x30]
movzx edx, word [rdx + r8*2]
mov word [rax + rcx*2], dx
jmp 0x50006281
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov word [rcx + rdx*2], ax
mov dword [rsp + 0x20], 0
jmp 0x500062e9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x50006382
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x50006325
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x2f
jne 0x5000637d
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov rdx, qword [rsp + 0x28]
mov word [rdx + rax*2], cx
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x260]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x5000635d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x5000636a
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movsxd rax, dword [rsp + 0x20]
mov ecx, 0x5c
mov rdx, qword [rsp + 0x28]
mov word [rdx + rax*2], cx
jmp 0x500062df
add rsp, 0x258
ret
Function at 0x50008d60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x50008fe4
cmp dword [rsp + 0x20], 1
je 0x50008da7
cmp dword [rsp + 0x20], 2
je 0x50008fe0
cmp dword [rsp + 0x20], 3
je 0x50008fe2
jmp 0x50008fe6
mov rax, qword [rsp + 0x60]
mov qword [0x500127f8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x50012808], rax
lea rax, [0x50012840]
mov qword [0x500127f0], rax
mov rcx, qword [0x500127f8]
call fcn.50005130
mov qword [0x50012800], rax
mov rcx, qword [0x50012808]
call fcn.50005130
mov qword [0x50012810], rax
mov r8d, 0x104
lea rdx, [0x50012a50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x104
lea rcx, [0x50012840]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [0x5001437c]
lea rcx, [0x50012840]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, 0xffffffff
lea rcx, [0x50012a50]
call fcn.500064f0
mov rdx, rax
lea rcx, [0x50012840]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x30], 0x104
mov rax, qword [0x50012808]
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x50012a50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x50012a50]
lea rcx, [0x50012e70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x50012e70]
call fcn.50007580
mov edx, 0xffffffff
lea rcx, [0x50012a50]
call fcn.500064f0
mov qword [rsp + 0x38], rax
mov r8, 0xffffffffffffffff
lea rdx, str.BlueSkyPlan.exe
mov rcx, qword [rsp + 0x38]
call fcn.500068b0
test eax, eax
jne 0x50008edc
mov dword [rsp + 0x24], 1
jmp 0x50008ee4
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x50008efc
mov dword [0x50012234], 1
jmp 0x50008f80
mov r8, 0xffffffffffffffff
lea rdx, str.BlueSkyLauncher.exe
mov rcx, qword [rsp + 0x38]
call fcn.500068b0
test eax, eax
jne 0x50008f22
mov dword [rsp + 0x28], 1
jmp 0x50008f2a
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x50008f3f
mov dword [0x50012234], 2
jmp 0x50008f80
mov r8, 0xffffffffffffffff
lea rdx, str.Splint.exe
mov rcx, qword [rsp + 0x38]
call fcn.500068b0
test eax, eax
jne 0x50008f65
mov dword [rsp + 0x2c], 1
jmp 0x50008f6d
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x50008f80
mov dword [0x50012234], 3
movzx eax, word [0x500170ac]
add eax, dword [0x50012234]
mov word [0x500170ac], ax
lea rdx, [0x50012e70]
lea rcx, [0x50012c60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.FixerLib.ini
lea rcx, [0x50012c60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [0x50012e70]
call fcn.50006260
call fcn.5000ba60
lea rcx, [0x50012a50]
call fcn.500074f0
call fcn.5000b2d0
jmp 0x50008fea
jmp 0x50008fea
jmp 0x50008fea
jmp 0x50008fea
xor eax, eax
jmp 0x50008fef
mov eax, 1
add rsp, 0x58
ret
Function at 0x5000ac80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
jne 0x5000aca7
xor eax, eax
jmp 0x5000ad89
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x5000acc7
mov byte [rsp + 0x20], 0
jmp 0x5000acf8
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x5000acf3
mov byte [rsp + 0x20], 0
jmp 0x5000acf8
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x5000ad08
xor eax, eax
jmp 0x5000ad89
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x5000ad44
mov dword [rsp + 0x24], 1
jmp 0x5000ad4c
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x5000ad70
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.500070c0
jmp 0x5000ad89
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.50006c90
add rsp, 0x58
ret
Function at 0x5000c650
Capabilities:
Get inbound credentials handle via credssp

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x4c8]
test eax, eax
je 0x5000c677
jmp 0x5000c68f
lea rcx, str.Certificate
call fcn.50008ab0
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x4c0], rax
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov r8d, 0x50
xor edx, edx
mov rcx, rax
call fcn.500060a0
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x10], 4
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x58]
or eax, 0x10
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x58], eax
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x58], 0x212
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x4c], 0x80
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x4c0], 0
je 0x5000c720
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0x70]
add rax, 0x4c0
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x70]
add rax, 0x60
mov rcx, qword [rsp + 0x70]
add rcx, 0x10
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, 1
lea rdx, str.Schannel
xor ecx, ecx
call sub.Secur32.dll_AcquireCredentialsHandleA
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x5000c780
mov eax, 0xffffffff
jmp 0x5000c797
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x5000c78d
xor eax, eax
jmp 0x5000c797
mov rcx, qword [rsp + 0x70]
call fcn.5000c7a0
add rsp, 0x68
ret
Function at 0x403ed0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00406540]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x403f3d
mov rcx, r8
call fcn.00403db0
test eax, eax
je 0x403f3d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x403f3d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403f34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403f3f
add rax, 0x28
cmp rax, r9
jne 0x403f20
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rbx, r8
mov r14, rdx
lea r8, [0x140076b80]
lea r13, str.CAPIHook::HookImportedFunction
mov rdx, r13
mov ecx, 5
call fcn.140009480
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
cmp rax, rdi
jne 0x140001058
xor eax, eax
jmp 0x1400012ce
mov rdx, qword [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rsp + 0x38], rax
cmp rax, rdi
jne 0x14000107d
xor eax, eax
jmp 0x1400012ce
mov qword [rsp + 0x40], r14
mov eax, 0x5a4d
cmp word [r14], ax
je 0x140001094
xor eax, eax
jmp 0x1400012ce
movsxd rax, dword [r14 + 0x3c]
add rax, r14
cmp dword [rax], 0x4550
je 0x1400010aa
xor eax, eax
jmp 0x1400012ce
mov esi, dword [rax + 0x90]
add rsi, r14
mov qword [rsp + 0x48], rsi
cmp rsi, rax
jne 0x1400010c4
xor eax, eax
jmp 0x1400012ce
mov eax, dword [rsi + 0xc]
cmp eax, edi
je 0x140001120
mov r12d, 4
mov ebx, eax
add rbx, r14
mov r9, rbx
lea r8, str.pszModName___1_hs__failed._n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
mov rdx, qword [rsp + 0xc8]
mov rcx, rbx
call fcn.14005ae84
cmp eax, edi
je 0x14000110c
add rsi, 0x14
mov eax, dword [rsi + 0xc]
cmp eax, edi
jne 0x1400010d1
jmp 0x140001126
lea r8, str.Found_the_module._n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
jmp 0x140001126
mov r12d, 4
cmp dword [rsi + 0xc], edi
jne 0x140001132
xor eax, eax
jmp 0x1400012ce
lea r8, str.Set_intercept_function._n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
mov ebx, dword [rsi + 0x10]
add rbx, r14
mov qword [rsp + 0x28], rbx
mov r9d, edi
mov dword [rsp + 0x20], edi
mov rax, rbx
cmp qword [rbx], rdi
je 0x14000116f
inc r9d
mov dword [rsp + 0x20], r9d
add rax, 8
cmp qword [rax], rdi
jne 0x14000115e
lea r8, str.cFuncs___1_d__n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
mov rsi, qword [rsp + 0xd8]
cmp qword [rbx], rdi
je 0x1400012c8
mov r9, qword [rbx]
lea r8, str.pThunk__u1.Function__0x_1_x__n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
mov r9, r15
lea r8, str.pfnOriginalProc__0x_1_x__n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
mov r9, rsi
lea r8, str.pfnNewProc__0x_1_x__n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
cmp qword [rbx], r15
jne 0x1400012ba
lea r8, str.Found_the_entry_point._n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
nop
mov qword [rbx], rsi
jmp 0x1400012a3
lea r8, str.Set_alternative_function._n
mov rdx, r13
mov ecx, r12d
call fcn.140009480
mov rax, r15
jmp 0x1400012ce
add rbx, 8
mov qword [rsp + 0x28], rbx
jmp 0x140001189
xor eax, eax
jmp 0x1400012ce
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret