joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410550
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x005910a0], 0
je 0x4105ea
cmp word [0x005913b0], 0xd7b2
jne 0x410583
cmp dword [0x005913b8], 0
jbe 0x410583
lea rcx, [0x005913a8]
call qword [0x005913d0]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0056c0f8]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rbx, rax
lea rcx, [0x00410620]
call fcn.00411df0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x41060b
cmp byte [0x0056a052], 0
jne 0x41060b
xor ecx, ecx
lea rdx, [0x0056c0f8]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x4108d0
Capabilities:
Create thread

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
cmp qword [0x0056a058], 0
je 0x410901
mov rcx, rsi
mov rdx, rdi
call qword [0x0056a058]
mov r13, rax
jmp 0x410916
mov ecx, 0x10
call fcn.00409230
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x005910a1], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x00410860]
mov r9, r13
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov rbx, rax
test rbx, rbx
jne 0x41095b
mov rcx, r13
call fcn.00409260
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x416610
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00595ef8]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00595f20], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00595ef0], al
cmp byte [0x00595ef0], 0
je 0x4166af
lea rcx, [0x004166b4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x004166ce]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00595ed8], rax
lea rcx, [0x004166b4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x004166ec]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00595ee0], rax
lea rcx, [0x004166b4]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0041670a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00595ee8], rax
add rsp, 0x28
ret
Function at 0x416950
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x1d8
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov word [rbp + 0x56], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x48]
call fcn.00410ad0
movzx rax, word [rbp + 0x56]
cmp word [0x0056cc08], ax
ja 0x416a26
movzx rax, word [rbp + 0x56]
cmp ax, word [0x0056d008]
mov word [rbp + 0x56], ax
ja 0x416a26
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x416a25
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x0056cc08]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x4169e4
mov eax, edx
sub eax, 1
jmp 0x416a21
lea rcx, [0x0056cc08]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x416a04
mov ecx, edx
add ecx, 1
jmp 0x416a21
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x0056cc10]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.00416800
jmp 0x416a25
cmp eax, ecx
jae 0x4169ba
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x416afb
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x416afb
movzx rbx, word [rbp + 0x56]
movzx ebx, bx
mov ecx, ebx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
mov ecx, ebx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.004127b0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.004127b0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.004127b0
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00416b48]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00416b58]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00412c40
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410bb0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x416d50
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x00595ef8]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00595f20], ax
jne 0x416dba
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00595f22]
mov r8d, 0x55
call fcn.004127b0
lea rcx, [0x00595ef8]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x416ec3
lea rcx, [0x00595ef8]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00410ad0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x416e7e
cmp byte [0x00595ef0], 0
je 0x416e12
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00416bf0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00411160
jmp 0x416e7e
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00416950
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00411160
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x416e7e
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x416e5d
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00416f08]
call fcn.00412a40
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00416950
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00412a40
lea rcx, [0x00595ef8]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00595f20], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.004126f0
lea rcx, [0x00595f22]
mov edx, 0xaa
mov r8, rax
call fcn.00416740
lea rcx, [0x00595ef8]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00410bb0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x417870
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.00410ca0
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.004127b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00412b10
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.004176c0
test al, al
jne 0x41793a
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.004127b0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00412b10
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.004176c0
test al, al
jne 0x41793a
mov rcx, qword [rbp + 0x28]
call fcn.00410ad0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00410bb0
lea rcx, [rbp + 0x70]
call fcn.00410ad0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x417990
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.00410ca0
mov rcx, qword [rbp + 0x90]
call fcn.00410ca0
nop
mov rcx, qword [rbp + 0x28]
call fcn.00410ad0
cmp qword [rbp + 0x90], 0
je 0x417b4f
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.004111e0
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x417a3b
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x417a74
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x417a6d
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00412d30
jmp 0x417a74
sub eax, 1
test eax, eax
jne 0x417a40
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.004175c0
cmp qword [rbp + 0x68], 0
je 0x417ab2
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00417750
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00411160
jmp 0x417b4e
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00416d50
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00417750
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00411160
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x417b27
cmp byte [0x00595ef0], 0
jne 0x417b27
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00416d50
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00417750
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00411160
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x417b4e
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00417870
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00411160
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00410bb0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410bb0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x41a2b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x41a2d0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x41a2f4
cmp eax, 1
jae 0x41a2f9
cmp ecx, 5
jbe 0x41a305
mov dword [0x00591a28], 0x7f
jmp 0x41a30f
mov dword [0x00591a28], 0x409
add rsp, 0x28
ret
Function at 0x41b580
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0041b570
mov ebx, eax
test ebx, ebx
je 0x41b5c9
cmp dword [0x0056daac], 0xffffffff
jne 0x41b5a3
mov ecx, 0xe2
call fcn.004107e0
mov ecx, ebx
call fcn.0041b550
test rax, rax
jne 0x41b5bb
mov ecx, 0xe2
call fcn.004107e0
jmp 0x41b5c9
mov ecx, dword [0x0056daac]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x41b5d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00597270], 0
je 0x41b60b
mov ecx, dword [0x0056daac]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41b61e
call fcn.0041b580
mov ecx, dword [0x0056daac]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41b61e
mov rax, qword [0x005972a8]
jmp 0x41b61e
mov rax, qword gs:[0x58]
mov ecx, dword [0x0056daac]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret
Function at 0x43a970
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.0043a730
mov ebx, eax
mov rax, qword [0x00590bb0]
cmp byte [rax], 0
je 0x43aa9f
mov rcx, qword [0x005907f0]
call fcn.0040b3b0
call fcn.00409570
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0043a930]
mov r8d, 1
movsxd r9, esi
call fcn.00415a00
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0043ab2c]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x43aae2
mov rcx, qword [0x00597278]
call fcn.004163e0
mov rcx, rax
mov rax, qword [0x00590760]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW
xor ecx, ecx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0043a930]
call fcn.00415bd0
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x43cad0
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov qword [rbp + 0x98], r9
nop
mov byte [rbp + 0x67], 0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x80]
call fcn.004111e0
lea rcx, [rbp + 0x58]
call fcn.004114a0
mov rcx, qword [rbp + 0x58]
call fcn.004126f0
mov rcx, rax
lea rdx, [rbp + 0x50]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
je 0x43cbe0
mov ecx, dword [rbp + 0x54]
call fcn.00409230
mov qword [rbp + 0x68], rax
nop
mov rcx, qword [rbp + 0x58]
call fcn.004126f0
mov rcx, rax
mov edx, dword [rbp + 0x50]
mov r8d, dword [rbp + 0x54]
mov r9, qword [rbp + 0x68]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x43cbd6
mov rcx, qword [rbp + 0x68]
lea rdx, [0x0043cc38]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x44]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43cbd6
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x88]
mov ecx, dword [rbp + 0x40]
shr ecx, 0x10
movzx ecx, cx
mov dword [rax], ecx
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx + 0x10]
mov dword [rax], ecx
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0x98]
mov ecx, dword [rbp + 0x3c]
shr ecx, 0x10
movzx ecx, cx
mov dword [rax], ecx
mov byte [rbp + 0x67], 1
nop
mov rcx, qword [rbp + 0x68]
call fcn.00409260
nop
lea rcx, [rbp + 0x58]
call fcn.00410ad0
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x43dfe0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00411380
mov r13d, eax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0041a290
mov esi, eax
cmp esi, 0x104
jbe 0x43e03b
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00409230
mov rdi, rax
jmp 0x43e03f
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.0041a290
mov rcx, rdi
call sub.user32.dll_CharUpperW
xor ebx, ebx
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x43e095
sub edx, ecx
add edx, 1
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movsxd rcx, eax
movzx ecx, word [rdi + rcx*2]
xor ebx, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x43e076
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x43e0a7
mov rcx, rdi
call fcn.00409260
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x458aa0
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x458aa7
nop
ret
Function at 0x45f930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x45f954
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x45f93e
nop
ret

Function at 0x476b40
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x476b7e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040e2d0
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x0046ea80]
mov dl, 1
call fcn.004a38d0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00475628]
mov dl, 1
call fcn.004a8670
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00475628]
mov dl, 1
call fcn.004a8670
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x476c3b
mov rcx, qword [rbp + 0x80]
call fcn.0040e310
mov qword [rbp + 0x80], rax
jmp 0x476c3b

Function at 0x4fdd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4fdd6f
mov rcx, rbp
call fcn.004fdc50
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4fdd8e
mov rcx, rbp
call fcn.004fdc50
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004fd610
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x5103b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x510400
cmp byte [rcx + 0x1d], 0
jne 0x510400
cmp byte [rcx + 0x40], 0
jne 0x510400
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x51041d
mov rcx, qword [0x004ccf68]
mov dl, 1
mov r8, qword [0x00590b20]
call fcn.0043add0
mov rcx, rax
call fcn.0040fda0
jmp 0x51041d
mov rcx, qword [0x004ccf68]
mov dl, 1
mov r8, qword [0x00590b20]
call fcn.0043add0
mov rcx, rax
call fcn.0040fda0
add rsp, 0x28
ret
Function at 0x511010
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.00510230
jmp 0x51106b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x511090
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.00510230
cmp esi, 1
jne 0x5110ba
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x539d90
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x58
xor r8, r8
call fcn.0040b460
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x53a4e0
Capabilities:
Check for time delay via queryperformancecounter
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov byte [rbx], 0
mov esi, 0x3e8
mov byte [rbp + 0x2f], 0
mov edi, 8
shl byte [rbp + 0x2f], 1
lea rcx, [rbp + 0x38]
call sub.kernel32.dll_QueryPerformanceCounter
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_QueryPerformanceCounter
mov rax, qword [rbp + 0x30]
sub qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
and rax, 1
jns 0x53a533
sub rax, 1
or rax, 0xfffffffffffffffe
add rax, 1
test rax, rax
jne 0x53a542
mov qword [rbp + 0x38], 0
jmp 0x53a54a
mov qword [rbp + 0x38], 1
movzx rax, byte [rbp + 0x38]
add byte [rbp + 0x2f], al
sub edi, 1
test edi, edi
jne 0x53a4ff
nop
movzx rax, byte [rbp + 0x2f]
xor byte [rbx], al
sub esi, 1
test esi, esi
jne 0x53a4f6
nop
mov esi, 8
lea rcx, [rbp + 0x38]
call sub.kernel32.dll_QueryPerformanceCounter
mov ecx, 1
call sub.kernel32.dll_Sleep
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_QueryPerformanceCounter
mov rax, qword [rbp + 0x30]
sub rax, qword [rbp + 0x38]
mov qword [rbp + 0x38], rax
movzx rax, byte [rbp + 0x38]
mov byte [rbp + 0x2f], al
movzx rax, byte [rbp + 0x2f]
xor byte [rbx], al
sub esi, 1
test esi, esi
jne 0x53a56e
nop
mov qword [rbp + 0x38], 0
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x2f]
mov r8d, 1
call fcn.004095f0
mov qword [rbp + 0x30], 0
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret