joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416970
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.00410b30
movzx rax, word [rbp + 0x56]
cmp word [0x00564c08], ax
ja 0x416a46
movzx rax, word [rbp + 0x56]
cmp ax, word [0x00565008]
mov word [rbp + 0x56], ax
ja 0x416a46
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x416a45
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x00564c08]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x416a04
mov eax, edx
sub eax, 1
jmp 0x416a41
lea rcx, [0x00564c08]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x416a24
mov ecx, edx
add ecx, 1
jmp 0x416a41
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x00564c10]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.00416820
jmp 0x416a45
cmp eax, ecx
jae 0x4169da
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x416b1b
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x416b1b
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.00412810
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00412810
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00412810
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00416b68]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00416b78]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00412ca0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410c10
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x416d70
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, [0x0058def8]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0058df20], ax
jne 0x416dda
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0058df22]
mov r8d, 0x55
call fcn.00412810
lea rcx, [0x0058def8]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x416ee3
lea rcx, [0x0058def8]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00410b30
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x416e9e
cmp byte [0x0058def0], 0
je 0x416e32
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00416c10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.004111c0
jmp 0x416e9e
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.00416970
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004111c0
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x416e9e
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x416e7d
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00416f28]
call fcn.00412aa0
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.00416970
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00412aa0
lea rcx, [0x0058def8]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0058df20], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00412750
lea rcx, [0x0058df22]
mov edx, 0xaa
mov r8, rax
call fcn.00416760
lea rcx, [0x0058def8]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00410c10
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x417890
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.00410d00
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.00412810
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00412b70
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.004176e0
test al, al
jne 0x41795a
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00412810
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00412b70
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.004176e0
test al, al
jne 0x41795a
mov rcx, qword [rbp + 0x28]
call fcn.00410b30
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00410c10
lea rcx, [rbp + 0x70]
call fcn.00410b30
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x4179b0
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.00410d00
mov rcx, qword [rbp + 0x90]
call fcn.00410d00
nop
mov rcx, qword [rbp + 0x28]
call fcn.00410b30
cmp qword [rbp + 0x90], 0
je 0x417b6f
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00411240
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x417a5b
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x417a94
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x417a8d
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00412d90
jmp 0x417a94
sub eax, 1
test eax, eax
jne 0x417a60
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.004175e0
cmp qword [rbp + 0x68], 0
je 0x417ad2
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00417770
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.004111c0
jmp 0x417b6e
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00416d70
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00417770
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.004111c0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x417b47
cmp byte [0x0058def0], 0
jne 0x417b47
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00416d70
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00417770
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004111c0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x417b6e
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00417890
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.004111c0
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00410c10
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410c10
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x41a2d0
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 0x41a2f0
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 0x41a314
cmp eax, 1
jae 0x41a319
cmp ecx, 5
jbe 0x41a325
mov dword [0x00589a28], 0x7f
jmp 0x41a32f
mov dword [0x00589a28], 0x409
add rsp, 0x28
ret
Function at 0x41b5a0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0041b590
mov ebx, eax
test ebx, ebx
je 0x41b5e9
cmp dword [0x00565aac], 0xffffffff
jne 0x41b5c3
mov ecx, 0xe2
call fcn.00410840
mov ecx, ebx
call fcn.0041b570
test rax, rax
jne 0x41b5db
mov ecx, 0xe2
call fcn.00410840
jmp 0x41b5e9
mov ecx, dword [0x00565aac]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x41b5f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x0058f270], 0
je 0x41b62b
mov ecx, dword [0x00565aac]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41b63e
call fcn.0041b5a0
mov ecx, dword [0x00565aac]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41b63e
mov rax, qword [0x0058f2a8]
jmp 0x41b63e
mov rax, qword gs:[0x58]
mov ecx, dword [0x00565aac]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret
Function at 0x43a8a0
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.0043a660
mov ebx, eax
mov rax, qword [0x00588380]
cmp byte [rax], 0
je 0x43a9cf
mov rcx, qword [0x00587fb0]
call fcn.0040b410
call fcn.00409580
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 [0x0043a860]
mov r8d, 1
movsxd r9, esi
call fcn.00415a20
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, [0x0043aa5c]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x43aa12
mov rcx, qword [0x0058f278]
call fcn.00416400
mov rcx, rax
mov rax, qword [0x00587f18]
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 [0x0043a860]
call fcn.00415bf0
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x43c9e0
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.00411240
lea rcx, [rbp + 0x58]
call fcn.00411500
mov rcx, qword [rbp + 0x58]
call fcn.00412750
mov rcx, rax
lea rdx, [rbp + 0x50]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
je 0x43caf0
mov ecx, dword [rbp + 0x54]
call fcn.00409240
mov qword [rbp + 0x68], rax
nop
mov rcx, qword [rbp + 0x58]
call fcn.00412750
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 0x43cae6
mov rcx, qword [rbp + 0x68]
lea rdx, [0x0043cb48]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x44]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43cae6
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.00409270
nop
lea rcx, [rbp + 0x58]
call fcn.00410b30
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x43def0
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.004113e0
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.0041a2b0
mov esi, eax
cmp esi, 0x104
jbe 0x43df4b
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00409240
mov rdi, rax
jmp 0x43df4f
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.0041a2b0
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 0x43dfa5
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 0x43df86
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x43dfb7
mov rcx, rdi
call fcn.00409270
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x44b060
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.0040b4c0
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 0x459f90
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 0x459f97
nop
ret

Function at 0x460e20
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x478030
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 0x47806e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040e330
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x0046ff70]
mov dl, 1
call fcn.004a4dc0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00476b18]
mov dl, 1
call fcn.004a9b60
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00476b18]
mov dl, 1
call fcn.004a9b60
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 0x47812b
mov rcx, qword [rbp + 0x80]
call fcn.0040e370
mov qword [rbp + 0x80], rax
jmp 0x47812b
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4ff220
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 0x4ff25f
mov rcx, rbp
call fcn.004ff140
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4ff27e
mov rcx, rbp
call fcn.004ff140
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.004feb00
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x5118a0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x5118f0
cmp byte [rcx + 0x1d], 0
jne 0x5118f0
cmp byte [rcx + 0x40], 0
jne 0x5118f0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x51190d
mov rcx, qword [0x004ce458]
mov dl, 1
mov r8, qword [0x005882e8]
call fcn.0043ad00
mov rcx, rax
call fcn.0040fe00
jmp 0x51190d
mov rcx, qword [0x004ce458]
mov dl, 1
mov r8, qword [0x005882e8]
call fcn.0043ad00
mov rcx, rax
call fcn.0040fe00
add rsp, 0x28
ret
Function at 0x512500
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.00511720
jmp 0x51255b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x512580
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.00511720
cmp esi, 1
jne 0x5125aa
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x53d490
Capabilities:
Get system information on windows

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
nop
lea rcx, [rbp + 0x50]
call sub.kernel32.dll_GetSystemInfo
lea rcx, [rbp + 0x48]
mov edx, dword [rbp + 0x70]
call fcn.004316b0
lea rcx, [rbp + 0x40]
movzx edx, word [rbp + 0x7c]
call fcn.00431670
lea rcx, [rbp + 0x38]
movzx edx, word [rbp + 0x7e]
call fcn.00431670
mov rcx, qword [rbp + 0x30]
mov edx, 3
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x40]
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.00412ca0
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00410c10
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x53dbe0
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 0x53dc33
sub rax, 1
or rax, 0xfffffffffffffffe
add rax, 1
test rax, rax
jne 0x53dc42
mov qword [rbp + 0x38], 0
jmp 0x53dc4a
mov qword [rbp + 0x38], 1
movzx rax, byte [rbp + 0x38]
add byte [rbp + 0x2f], al
sub edi, 1
test edi, edi
jne 0x53dbff
nop
movzx rax, byte [rbp + 0x2f]
xor byte [rbx], al
sub esi, 1
test esi, esi
jne 0x53dbf6
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 0x53dc6e
nop
mov qword [rbp + 0x38], 0
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x2f]
mov r8d, 1
call fcn.00409600
mov qword [rbp + 0x30], 0
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x53e980
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
xor ecx, ecx
movzx r8, r8b
sub r8d, 1
mov eax, ecx
cmp eax, r8d
ja 0x53ea09
sub r8d, ecx
add r8d, 1
mov ecx, eax
add ecx, ecx
add ecx, ecx
mov r9d, ecx
lea r10, [0x005851b4]
mov r11d, ecx
movzx r11, byte [rdx + r11]
lea rbx, [0x005855b4]
mov esi, ecx
add esi, 1
mov esi, esi
movzx rsi, byte [rdx + rsi]
mov r10d, dword [r10 + r11*4]
xor r10d, dword [rbx + rsi*4]
lea r11, [0x005859b4]
mov ebx, ecx
add ebx, 2
mov ebx, ebx
movzx rbx, byte [rdx + rbx]
xor r10d, dword [r11 + rbx*4]
lea r11, [0x00585db4]
add ecx, 3
mov ecx, ecx
movzx rcx, byte [rdx + rcx]
xor r10d, dword [r11 + rcx*4]
mov dword [rdx + r9], r10d
add eax, 1
sub r8d, 1
test r8d, r8d
jne 0x53e99a
nop
pop rbx
pop rsi
ret
Function at 0x53ef60
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
test rax, rax
je 0x53ef6c
mov rax, qword [rax - 8]
mov r9, qword [rdx]
mov r8, r9
test r8, r8
je 0x53ef7b
mov r8, qword [r8 - 8]
movsxd r10, eax
cmp r8, r10
jge 0x53ef8f
mov rax, r9
test rax, rax
je 0x53ef8f
mov rax, qword [rax - 8]
xor r8, r8
mov r9d, eax
sub r9d, 1
mov eax, r8d
cmp eax, r9d
jg 0x53efc9
sub r9d, r8d
add r9d, 1
movsxd r8, eax
mov r10, qword [rcx]
lea r10, [r10 + r8]
mov r11, qword [rdx]
movzx r8, byte [r11 + r8]
xor byte [r10], r8b
add eax, 1
sub r9d, 1
test r9d, r9d
jne 0x53efa8
nop
ret

Function at 0x53efd0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov rbx, rcx
mov rsi, r8
mov rdi, r9
xor r13, r13
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax]
mov rdx, qword [rdx]
mov r8d, pe_nt_image_headers64
mov r9, qword [rsi]
call fcn.0053ee10
mov rcx, qword [rsi]
lea rdx, [rbp + 0x20]
mov r8d, 0x10
call fcn.00409600
jmp 0x53f065
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax]
lea rdx, [rbp + 0x20]
lea r8, [rbp + 0x20]
call fcn.0053e5b0
xor eax, eax
lea rcx, [rbp + 0x20]
movzx rdx, al
mov r8d, r13d
add r8d, edx
movsxd rdx, r8d
mov r8, qword [rdi]
mov r9, qword [rbx]
movzx r9, byte [r9 + rdx]
xor r9b, byte [rcx]
mov byte [r8 + rdx], r9b
add al, 1
add rcx, 1
cmp al, 0x10
jne 0x53f035
nop
add r13d, 0x10
mov eax, r13d
add eax, 0x10
cmp eax, dword [rbp + 0x80]
jle 0x53f018
cmp r13d, dword [rbp + 0x80]
je 0x53f0e6
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax]
lea rdx, [rbp + 0x20]
lea r8, [rbp + 0x20]
call fcn.0053e5b0
xor ecx, ecx
movzx r8, byte [rbp + 0x80]
sub r8b, r13b
sub r8b, 1
mov eax, ecx
cmp al, r8b
ja 0x53f0e5
sub r8b, cl
add r8b, 1
lea rcx, [rbp + 0x20]
movzx rdx, al
mov r9d, r13d
add r9d, edx
movsxd rdx, r9d
mov r9, qword [rdi]
mov r10, qword [rbx]
movzx r10, byte [r10 + rdx]
xor r10b, byte [rcx]
mov byte [r9 + rdx], r10b
add al, 1
add rcx, 1
sub r8b, 1
test r8b, r8b
jne 0x53f0b6
nop
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax]
call fcn.0053ed60
lea rcx, [rbp + 0x20]
mov edx, 0x10
xor r8, r8
call fcn.0040b4c0
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret