joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.140084e00
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x140095da6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x140095dfd
mov ebp, 0x4b0000
jmp 0x140095e0b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.140087240
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140095e21
mov eax, r12d
jmp 0x140095e2a
mov edx, edi
mov ecx, ebp
call fcn.140087240
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140095e46
shl esi, 0x10
mov ecx, esi
jmp 0x140095f35
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x140095ea4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.140084e00
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140095e94
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.140087110
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.140084e00
add ebx, eax
jmp 0x140095f3e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x140095eb1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x140095ef0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.140084e00
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x140095ef5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.140087110
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.140084e00
add ebx, eax
jmp 0x140095f3e
cmp eax, r12d
jge 0x140095f2e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.140084e00
sub ebp, eax
sub r15d, esi
je 0x140095f2e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.140087110
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.140084e00
add ebx, eax
jmp 0x140095f3e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.140084e00
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.140084e00
Function at 0x1400e1f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140139040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400e211c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400e211c
cmp r10d, r14d
jne 0x1400e2020
sub rbx, 0x10
jmp 0x1400e2164
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400e2092
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400e2054
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400e205c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400e207b
movzx edx, r11b
mov rcx, rsi
call fcn.1400e3130
test al, al
jne 0x1400e2175
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400e37a0
test al, al
jne 0x1400e2175
mov edx, dword [rsi + 0x64]
lea r9, [0x1400e3b00]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400e20be
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400e1e00
jmp 0x1400e2112
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400e1e00
test dil, dil
je 0x1400e210a
cmp byte [rsi + 0x6a], 0
jne 0x1400e210a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400e2175
sub rbx, 0x10
jmp 0x1400e2164
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400e2179
mov ebp, dword [rbx]
jmp 0x1400e1fe0
mov al, 1
jmp 0x1400e2182
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ed0b0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400e84d0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400e84ec
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e8540
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e8665
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400e8665
test rax, rax
je 0x1400e8665
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400e8665
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400e85da
lea rax, [0x1400e86c0]
jmp 0x1400e8633
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400e8665
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e8653
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400e8600
lea rax, [0x1400e8690]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400e867a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400e93c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400e93cb
xor eax, eax
ret
lea r11, [0x1401105a0]
not ecx
cmp r8d, 8
jb 0x1400e94a1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400e93f0
test r8d, r8d
je 0x1400e94cd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400e94b0
not ecx
mov eax, ecx
ret
Function at 0x1400ee050
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ee09a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ee09a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ee09a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ee09a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ee09a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ee09c
xor al, al
add rsp, 0x28
ret

Function at 0x1400ee290
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400ee2ca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400ee2cf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400ee318
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140110d80]
cmp byte [rcx + rax], 0
je 0x1400ee318
dec r8
sub rdx, 1
jne 0x1400ee2fe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400eeadc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400ee3a8
mov ebx, eax
test eax, eax
jne 0x1400eeb0c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400eeb6f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eeb66
test al, 0x10
je 0x1400eeb66
bt eax, 0xa
jae 0x1400eeb5f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400eeb80
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400eeb5b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400eeb5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400eeb66
and dword [rsp + 0x3c], 0
jmp 0x1400eeb6b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x2fc4cad50
Capabilities:
Write file on windows

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

Function at 0x2fc4cb752
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb7ea
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb7ce
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 0x2fc4cb7c2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb7c2
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 0x2fc4cb788
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb7eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb8f0
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 0x2fc4cb918
mov eax, 0
jmp 0x2fc4cb966
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 0x2fc4cb941
mov eax, 0
jmp 0x2fc4cb966
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 0x2fc4cb961
mov eax, 0
jmp 0x2fc4cb966
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb96c
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 0x2fc4cb9ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb9e1
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 0x2fc4cb9e1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb9ff
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 0x2fc4cb9b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002567
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180002765
ret
mov edx, dword [rsp + 8]
mov byte [rcx + rax], dl
cmp sp, sp
je 0x180002585
cdqe
mov rcx, qword [rsp + 0x40]
cmp cx, cx
je 0x18000256d
mov rax, qword [rsp + 0x10]
inc rax
jmp 0x180002725
mov qword [rsp + 0x28], rdx
mov rax, rcx
jmp 0x180002650
xor ecx, eax
mov eax, ecx
cmp dl, dl
je 0x180002688
cdq
mov rcx, qword [rsp + 0x28]
jmp 0x1800026f4
cdqe
mov rcx, qword [rsp + 0x50]
cmp ch, ch
je 0x180002671
idiv rcx
mov rax, rdx
cmp cx, cx
je 0x18000265b
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
cmp dx, dx
je 0x180002648
inc rcx
mov edx, dword [rsp + 0x48]
cmp cl, cl
je 0x18000263e
mov dword [rsp + 4], eax
mov rcx, qword [rsp + 0x10]
cmp bl, bl
je 0x18000267d
mov rax, qword [rsp + 0x10]
cdq
cmp bl, bl
je 0x180002666
mov dword [rsp], eax
mov ecx, dword [rsp + 0x58]
cmp al, al
je 0x180002695
add eax, 0x100
cdq
cmp bx, bx
je 0x1800026ca
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 4]
cmp bx, bx
je 0x1800026c2
sub ecx, eax
mov eax, ecx
cmp al, al
je 0x1800026aa
and edx, 0xff
add eax, edx
cmp al, al
je 0x1800026e9
idiv rcx
mov rax, rdx
jmp 0x180002579
mov rax, qword [rsp + 0x10]
cdq
jmp 0x1800026d6
and eax, 0xff
sub eax, edx
cmp bh, bh
je 0x1800026ff
idiv rcx
mov rax, rdx
cmp bp, bp
je 0x18000270b
mov dword [rsp + 8], eax
mov ecx, dword [rsp + 0x48]
cmp bh, bh
je 0x1800026e1
cdqe
mov rcx, qword [rsp + 0x40]
cmp bp, bp
je 0x1800026b5
mov rax, qword [rsp + 0x18]
cmp qword [rsp + 0x10], rax
jg 0x18000272c
jmp 0x180002758
mov qword [rsp + 0x10], rax
jmp 0x180002717
add rsp, 0x38
jmp 0x18000256c
mov rax, qword [rsp + 0x10]
cdq
cmp bl, bl
je 0x18000274c
sub rsp, 0x38
mov eax, dword [rsp + 0x48]
cmp bx, bx
je 0x180002773
mov rcx, qword [rsp + 0x20]
idiv rcx
cmp cl, cl
je 0x1800027a6
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0x20], rax
cmp ah, ah
je 0x180002735
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
cmp bh, bh
je 0x18000278b
dec eax
mov eax, eax
cmp ch, ch
je 0x18000277b
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x10], 0
jmp 0x180002717
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
cmp bh, bh
je 0x18000273f
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
jmp 0x18000269f
mov rax, rdx
cdqe
jmp 0x180002798
Function at 0x180002bca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180002e3a
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x180002bde
cmp bl, bl
je 0x180002bed
jmp 0x180002bfa
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
jmp 0x180002d3e
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
jne 0x180002be0
jmp 0x180002bde
mov eax, dword [rsp + 0x30]
inc eax
jmp 0x180002cf7
mov edx, eax
mov rcx, qword [rsp + 0x50]
cmp cx, cx
je 0x180002c42
call fcn.180003f0c
mov dword [rsp + 0x34], eax
jmp 0x180002e66
mov rax, qword [rsp + 0x58]
add rax, 0x10
cmp cl, cl
je 0x180002c6c
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
jmp 0x180002c9d
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
cmp di, di
je 0x180002c5d
mov qword [rsp + 0x20], 0
mov r9d, 6
cmp ax, ax
je 0x180002ca5
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp di, di
je 0x180002c50
mov ecx, dword [rcx + 0xc]
mov dword [rax + 8], ecx
jmp 0x180002d06
add r9d, 6
lea r8, [rsp + 0x60]
cmp ah, ah
je 0x180002c36
mov rcx, qword [rsp + 0x50]
add rcx, rax
cmp al, al
je 0x180002c90
pop rbp
sbb rax, 0xd99
adc r14, 0x1679
test rax, r10
sbb r15, 0x14c6
mul r14
adc rbp, 0xeed
inc rsi
mov rbp, 0x126
add r9, 0x20a8
not rax
mov rcx, rbx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
jmp 0x180002e57
ret
mov eax, 1
add eax, 0
jmp 0x180002e7e
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x180002d84
xor edx, edx
mov rcx, qword [rsp + 0x98]
cmp al, al
je 0x180002d91
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x28
cmp si, si
je 0x180002d77
mov rcx, qword [rsp + 0x48]
add rcx, rax
cmp bp, bp
je 0x180002d18
mov r8d, 1
add r8d, 0xf
cmp dx, dx
je 0x180002d22
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
cmp bx, bx
je 0x180002d30
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
cmp dx, dx
je 0x180002d5a
add rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x180002bcf
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
jmp 0x180002c7c
call fcn.180003c95
mov dword [rsp + 0x30], 0
jmp 0x180002cfb
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
cmp dh, dh
je 0x180002dda
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
cmp dx, dx
je 0x180002e2b
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x90]
cmp cx, cx
je 0x180002deb
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x34], 0
jmp 0x180002e14
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
cmp ah, ah
je 0x180002e48
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
cmp al, al
je 0x180002dc9
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
jmp 0x180002d4b
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp si, si
je 0x180002df9
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
cmp ch, ch
je 0x180002e06
add rcx, rax
mov rax, rcx
cmp bx, bx
je 0x180002db8
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x180002e7c
jmp 0x180002d69
cmp dword [rsp + 0x34], 0xffffffff
je 0x180002e77
movsxd rax, dword [rsp + 0x34]
jmp 0x180002cb2
jmp 0x180002bfa
xor eax, eax
add rsp, 0x78
jmp 0x180002d05
Function at 0x2fc4ca670
Capabilities:
Write file on windows

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

Function at 0x2fc4cb072
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ef108]
test eax, eax
je 0x2fc4cb10a
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ef110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb0ee
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 0x2fc4cb0e2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb0e2
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 0x2fc4cb0a8
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb10b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb210
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 0x2fc4cb238
mov eax, 0
jmp 0x2fc4cb286
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 0x2fc4cb261
mov eax, 0
jmp 0x2fc4cb286
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 0x2fc4cb281
mov eax, 0
jmp 0x2fc4cb286
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb28c
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 0x2fc4cb30a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb301
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 0x2fc4cb301
mov rax, qword [rbp - 8]
jmp 0x2fc4cb31f
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 0x2fc4cb2d4
mov eax, 0
add rsp, 0x20
pop rbp
ret