joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac650
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x4ac6ba
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rdx, rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx eax, word [rax + 0x14]
movzx eax, ax
add rax, rdx
add rax, 0x18
mov qword [rbp - 0x10], rax
mov dword [rbp - 4], 0
jmp 0x4ac878
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
test eax, eax
jne 0x4ac7b7
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x38]
mov dword [rbp - 0x24], eax
cmp dword [rbp - 0x24], 0
jle 0x4ac7b2
mov eax, dword [rbp - 0x24]
cdqe
mov rdx, qword [rbp - 0x10]
mov edx, dword [rdx + 0xc]
mov ecx, edx
mov rdx, qword [rbp - 0x18]
add rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x4ac772
mov eax, 0
jmp 0x4ac894
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 8], edx
mov eax, dword [rbp - 0x24]
movsxd rdx, eax
mov rax, qword [rbp - 0x20]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x4ac86f
jmp 0x4ac86f
mov rax, qword [rbp - 0x10]
mov edx, dword [rax + 0x14]
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
add eax, edx
mov edx, eax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.CheckSize
test eax, eax
jne 0x4ac7e3
mov eax, 0
jmp 0x4ac894
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 0x18]
add rax, rcx
mov r9d, 4
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x4ac826
mov eax, 0
jmp 0x4ac894
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
mov ecx, eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov rax, qword [rbp - 0x20]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 8], edx
add dword [rbp - 4], 1
add qword [rbp - 0x10], 0x28
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx eax, word [rax + 6]
movzx eax, ax
cmp eax, dword [rbp - 4]
jg 0x4ac70d
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x4ae7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00821e64]
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
test esi, esi
jle 0x4ae964
mov rax, qword [0x00821e68]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x4ae7fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4ae889
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x4ae7e0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4ae999
mov rax, qword [0x00821e68]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00821e68]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4ae97c
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4ae882
sub eax, 0x40
and eax, 0xffffffbf
jne 0x4ae904
add dword [0x00821e64], 1
cmp edi, 8
jae 0x4ae8c0
test dil, 4
jne 0x4ae950
test edi, edi
je 0x4ae8ac
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x4ae96b
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbp]
mov qword [rbx], rax
mov eax, edi
mov rdx, qword [rbp + rax - 8]
mov qword [rbx + rax - 8], rdx
lea rax, [rbx + 8]
and rax, 0xfffffffffffffff8
sub rbx, rax
sub rbp, rbx
add ebx, edi
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x4ae8ac
and ebx, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r8, qword [rbp + rcx]
cmp edx, ebx
mov qword [rax + rcx], r8
jb 0x4ae8f0
jmp 0x4ae8ac
add rsi, qword [0x00821e68]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4ae882
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax + rax]
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4ae8ac
xor esi, esi
jmp 0x4ae807
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4ae8ac
mov rax, qword [0x00821e68]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rsi + 0x18]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop dword [rax]
Function at 0x4af0f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00822140]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00822120]
test rbx, rbx
je 0x4af144
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4af13b
test rsi, rsi
je 0x4af13b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4af120
lea rcx, [0x00822140]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4af380
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4af390
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4af3a0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x4af3e1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x4af3d8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4af3e3
add rax, 0x28
cmp rax, r9
jne 0x4af3c4
xor eax, eax
ret

Function at 0x4af480
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x007c49a0]
mov rdx, rcx
cmp word [r8], 0x5a4d
jne 0x4af4ed
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4af4ed
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 0x4af4ed
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 0x4af4e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4af4ef
add rax, 0x28
cmp rax, r9
jne 0x4af4d0
xor eax, eax
add rsp, 0x28
ret

Function at 0x4af5f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x007c49a0]
xor eax, eax
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x4af610
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4af608
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 0x4af66d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4af664
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4af674
add rax, 0x28
cmp rax, r9
jne 0x4af650
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x4af690
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x007c49a0]
mov r9d, ecx
cmp word [r11], 0x5a4d
jne 0x4af6fe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4af6fe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x4af6fe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x4af6fe
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x4af6f5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x4af705
add rcx, 0x28
cmp rcx, rax
jne 0x4af6e0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x4af718
jmp 0x4af6fe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x4af726
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x4af6fe
test r9d, r9d
jg 0x4af710
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret

Function at 0x4afb10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
mov r8d, 0x1b
mov edx, 1
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x2041114b0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x70
movzx ebx, word [section..rdata]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rcx
mov r11, rdx
mov r12, r8
mov rsi, qword [rax]
lea r10, [rsi - 0x10]
nop dword [rax]
mov r8, r10
mov r10, qword [r10]
cmp rsi, r10
je 0x20411155e
mov rax, qword [r8 + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x2041114f0
mov edx, 0x2108
mov r9d, edx
add rcx, 2
shl r9d, 6
add edx, r9d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x204111510
cmp edx, 0xfcdfbd0e
jne 0x2041114f0
mov edx, dword [r8 + 0x40]
mov rax, qword [r8 + 0x30]
cmp edx, 2
je 0x20411155e
sub edx, 3
lea rdx, [rax + rdx + 1]
nop word cs:[rax + rax]
cmp word [rax], bx
je 0x204111560
add rax, 1
cmp rax, rdx
jne 0x204111550
xor eax, eax
movq xmm0, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov rdx, r12
mov rcx, r11
movhps xmm0, qword [rsp + 0x90]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], 0
movaps xmmword [rsp + 0x50], xmm0
call fcn.2041125c0
add rsp, 0x70
pop rbx
pop rsi
pop r12
ret

Function at 0x2041115d0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx ebx, word [section..rdata]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov r11, rcx
mov r12, rdx
mov r8d, r8d
mov dword [rsp + 0x5c], 0
mov rdi, qword [rax]
lea r10, [rdi - 0x10]
mov rsi, r10
mov r10, qword [r10]
cmp rdi, r10
je 0x204111676
mov rax, qword [rsi + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x204111610
mov edx, 0x2108
mov r9d, edx
add rcx, 2
shl r9d, 6
add edx, r9d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x204111630
cmp edx, 0xfcdfbd0e
jne 0x204111610
mov edx, dword [rsi + 0x40]
mov rax, qword [rsi + 0x30]
cmp edx, 2
je 0x204111676
sub edx, 3
lea rdx, [rax + rdx + 1]
nop dword [rax]
cmp word [rax], bx
je 0x204111678
add rax, 1
cmp rdx, rax
jne 0x204111668
xor eax, eax
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x5c]
mov rdx, r12
mov rcx, r11
mov qword [rsp + 0x40], 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], 0
call fcn.2041125c0
test eax, eax
mov eax, 0
cmovne eax, dword [rsp + 0x5c]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
ret
Function at 0x204111890
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x78
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rcx
mov r13, r8
mov r8, r9
movzx r9d, word [section..rdata]
mov r12, rdx
mov rsi, qword [rax]
lea r11, [rsi - 0x10]
nop
mov rbx, r11
mov r11, qword [r11]
cmp rsi, r11
je 0x204111937
mov rax, qword [rbx + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x2041118d0
mov edx, 0x2108
mov r10d, edx
add rcx, 2
shl r10d, 6
add edx, r10d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x2041118f0
cmp edx, 0xfcdfbd0e
jne 0x2041118d0
mov edx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x30]
cmp edx, 2
je 0x204111937
sub edx, 3
lea rdx, [rax + rdx + 1]
nop dword [rax]
cmp word [rax], r9w
je 0x204111939
add rax, 1
cmp rax, rdx
jne 0x204111928
xor eax, eax
movq xmm0, rax
mov rax, qword [rsp + 0xe0]
mov rdx, r13
mov rcx, r12
mov r9, qword [rsp + 0xc0]
movhps xmm0, qword [rsp + 0xa0]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd8]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.2041125c0
add rsp, 0x78
pop rbx
pop rsi
pop r12
pop r13
ret
Function at 0x204112df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [str.kernel32LoadLibrLocalAllGetProcA_not_found_]
lea rsi, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rsp + 0x28], 0x6c6c642e
mov byte [rsp + 0x2c], 0
call fcn.2041128b0
mov byte [rsp + 0x2c], 0
mov rbx, rax
mov rax, qword [0x2041f50a8]
mov dword [rsp + 0x28], 0x41797261
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x3c]
mov ebp, dword [rbx + rax + 0x88]
test ebp, ebp
je 0x204112fc0
lea r12, [rbx + rbp]
mov edi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rdi, rbx
test r13d, r13d
je 0x204113020
xor r14d, r14d
jmp 0x204112e89
add r14, 1
add rdi, 4
cmp r14, r13
je 0x204113020
mov ecx, dword [rdi]
mov rdx, rsi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x204112e78
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x204226050], rax
lea r12, [rbx + rbp]
xor r14d, r14d
mov rax, qword [0x2041f50b8]
mov byte [rsp + 0x2e], 0
mov qword [rsp + 0x20], rax
mov eax, 0x7373
mov dword [rsp + 0x28], 0x65726464
mov word [rsp + 0x2c], ax
mov edi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rdi, rbx
test r13d, r13d
jne 0x204112f11
jmp 0x204113010
add r14, 1
add rdi, 4
cmp r13, r14
je 0x204113010
mov ecx, dword [rdi]
mov rdx, rsi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x204112f00
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
add rbp, rbx
mov edx, 0x636f
mov byte [rsp + 0x2a], 0
xor r12d, r12d
mov qword [0x204226058], rax
mov rax, qword [0x2041f50b0]
mov word [rsp + 0x28], dx
mov qword [rsp + 0x20], rax
mov edi, dword [rbp + 0x20]
mov r13d, dword [rbp + 0x18]
add rdi, rbx
test r13d, r13d
jne 0x204112f8d
jmp 0x204112fd6
add r12, 1
add rdi, 4
cmp r13, r12
je 0x204112fd6
mov ecx, dword [rdi]
mov rdx, rsi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x204112f80
mov edx, dword [rbp + 0x24]
lea rcx, [rbx + r12*2]
mov eax, dword [rbp + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rbx, rax
jmp 0x204112fd8
mov qword [0x204226050], 0
mov qword [0x204226058], 0
xor ebx, ebx
mov ecx, 0x4098
mov qword [0x204226048], rbx
call fcn.204112d50
test rax, rax
mov qword [0x204226040], rax
setne al
movzx eax, al
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor eax, eax
jmp 0x204112f3e
xor eax, eax
jmp 0x204112eb6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x204112df0
Function at 0x204113030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [str.kernel32LoadLibrLocalAllGetProcA_not_found_]
lea rsi, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rsp + 0x28], 0x6c6c642e
mov byte [rsp + 0x2c], 0
call fcn.2041128b0
mov byte [rsp + 0x2c], 0
mov rbx, rax
mov rax, qword [0x2041f50a8]
mov dword [rsp + 0x28], 0x41797261
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x3c]
mov ebp, dword [rbx + rax + 0x88]
test ebp, ebp
je 0x204112fc0
lea r12, [rbx + rbp]
mov edi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rdi, rbx
test r13d, r13d
je 0x204113020
xor r14d, r14d
jmp 0x204112e89
add r14, 1
add rdi, 4
cmp r14, r13
je 0x204113020
mov ecx, dword [rdi]
mov rdx, rsi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x204112e78
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
mov qword [0x204226050], rax
lea r12, [rbx + rbp]
xor r14d, r14d
mov rax, qword [0x2041f50b8]
mov byte [rsp + 0x2e], 0
mov qword [rsp + 0x20], rax
mov eax, 0x7373
mov dword [rsp + 0x28], 0x65726464
mov word [rsp + 0x2c], ax
mov edi, dword [r12 + 0x20]
mov r13d, dword [r12 + 0x18]
add rdi, rbx
test r13d, r13d
jne 0x204112f11
jmp 0x204113010
add r14, 1
add rdi, 4
cmp r13, r14
je 0x204113010
mov ecx, dword [rdi]
mov rdx, rsi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x204112f00
mov edx, dword [r12 + 0x24]
lea rcx, [rbx + r14*2]
mov eax, dword [r12 + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
add rbp, rbx
mov edx, 0x636f
mov byte [rsp + 0x2a], 0
xor r12d, r12d
mov qword [0x204226058], rax
mov rax, qword [0x2041f50b0]
mov word [rsp + 0x28], dx
mov qword [rsp + 0x20], rax
mov edi, dword [rbp + 0x20]
mov r13d, dword [rbp + 0x18]
add rdi, rbx
test r13d, r13d
jne 0x204112f8d
jmp 0x204112fd6
add r12, 1
add rdi, 4
cmp r13, r12
je 0x204112fd6
mov ecx, dword [rdi]
mov rdx, rsi
add rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x204112f80
mov edx, dword [rbp + 0x24]
lea rcx, [rbx + r12*2]
mov eax, dword [rbp + 0x1c]
movzx edx, word [rcx + rdx]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rbx, rax
jmp 0x204112fd8
mov qword [0x204226050], 0
mov qword [0x204226058], 0
xor ebx, ebx
mov ecx, 0x4098
mov qword [0x204226048], rbx
call fcn.204112d50
test rax, rax
mov qword [0x204226040], rax
setne al
movzx eax, al
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor eax, eax
jmp 0x204112f3e
xor eax, eax
jmp 0x204112eb6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x204112df0
Function at 0x204116060
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
lea rcx, [rcx + 0xf]
sub rcx, rdx
cmp rcx, 0x1e
jbe 0x204116144
movdqu xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movdqu xmm0, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm0
movzx edi, byte [rax + 0x1f]
movzx r9d, byte [rax + 0x1e]
mov r10d, 8
lea r11, [0x2041f5380]
movzx r8d, byte [rax + 0x1d]
movzx edx, byte [rax + 0x1c]
lea rbx, [0x2041f5260]
jmp 0x204116109
movzx r8d, r8b
movzx edx, dl
movzx ecx, byte [r11 + r8]
movzx r8d, r9b
movzx r9d, dil
movzx edi, byte [r11 + rdx]
mov edx, r10d
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + r9]
shr edx, 3
xor cl, byte [rbx + rdx]
mov edx, ecx
xor dl, byte [rax]
xor r8b, byte [rax + 1]
add r10d, 1
add rax, 4
xor r9b, byte [rax - 2]
xor dil, byte [rax - 1]
mov byte [rax + 0x1c], dl
mov byte [rax + 0x1d], r8b
mov byte [rax + 0x1e], r9b
mov byte [rax + 0x1f], dil
cmp r10d, 0x3c
je 0x204116140
mov ecx, r10d
and ecx, 7
je 0x2041160b0
cmp ecx, 4
jne 0x2041160de
movzx edx, dl
movzx r8d, r8b
movzx esi, r9b
movzx ecx, dil
movzx edx, byte [r11 + rdx]
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + rsi]
movzx edi, byte [r11 + rcx]
jmp 0x2041160de
pop rbx
pop rsi
pop rdi
ret
movzx ecx, byte [rdx]
mov byte [rax], cl
movzx ecx, byte [rdx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rdx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rdx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rdx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rdx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rdx + 7]
mov byte [rax + 7], cl
movzx ecx, byte [rdx + 8]
mov byte [rax + 8], cl
movzx ecx, byte [rdx + 9]
mov byte [rax + 9], cl
movzx ecx, byte [rdx + 0xa]
mov byte [rax + 0xa], cl
movzx ecx, byte [rdx + 0xb]
mov byte [rax + 0xb], cl
movzx ecx, byte [rdx + 0xc]
mov byte [rax + 0xc], cl
movzx ecx, byte [rdx + 0xd]
mov byte [rax + 0xd], cl
movzx ecx, byte [rdx + 0xe]
mov byte [rax + 0xe], cl
movzx ecx, byte [rdx + 0xf]
mov byte [rax + 0xf], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rax + 0x10], cl
movzx ecx, byte [rdx + 0x11]
mov byte [rax + 0x11], cl
movzx ecx, byte [rdx + 0x12]
mov byte [rax + 0x12], cl
movzx ecx, byte [rdx + 0x13]
mov byte [rax + 0x13], cl
movzx ecx, byte [rdx + 0x14]
mov byte [rax + 0x14], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rax + 0x15], cl
movzx ecx, byte [rdx + 0x16]
mov byte [rax + 0x16], cl
movzx ecx, byte [rdx + 0x17]
mov byte [rax + 0x17], cl
movzx ecx, byte [rdx + 0x18]
mov byte [rax + 0x18], cl
movzx ecx, byte [rdx + 0x19]
mov byte [rax + 0x19], cl
movzx ecx, byte [rdx + 0x1a]
mov byte [rax + 0x1a], cl
movzx ecx, byte [rdx + 0x1b]
mov byte [rax + 0x1b], cl
movzx ecx, byte [rdx + 0x1c]
mov byte [rax + 0x1c], cl
movzx ecx, byte [rdx + 0x1d]
mov byte [rax + 0x1d], cl
movzx ecx, byte [rdx + 0x1e]
mov byte [rax + 0x1e], cl
movzx edx, byte [rdx + 0x1f]
mov byte [rax + 0x1f], dl
jmp 0x204116087
Function at 0x2041213e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov r9, rdx
not eax
cmp r8, 3
jbe 0x2041214b0
lea rdx, [r8 - 4]
lea r10, [0x2041f5ca0]
shr rdx, 2
lea rcx, [r9 + rdx*4 + 4]
nop dword [rax]
mov edx, eax
xor al, byte [r9]
add r9, 4
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [r9 - 2]
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
cmp r9, rcx
jne 0x204121408
and r8d, 3
test r8, r8
je 0x2041214a4
mov r9d, eax
xor al, byte [rcx]
lea rdx, [0x2041f5ca0]
movzx eax, al
shr r9d, 8
xor r9d, dword [rdx + rax*4]
mov eax, r9d
sub r8, 1
je 0x2041214a4
xor al, byte [rcx + 1]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
mov eax, r9d
cmp r8, 1
je 0x2041214a4
xor al, byte [rcx + 2]
mov r8d, r9d
movzx eax, al
shr r8d, 8
xor r8d, dword [rdx + rax*4]
mov eax, r8d
not eax
ret
mov rcx, rdx
jmp 0x204121454