joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e150
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.0040a120
mov rcx, qword [rbp + 0x90]
call fcn.0040a120
nop
mov rcx, qword [rbp + 0x28]
call fcn.00409f90
cmp qword [rbp + 0x90], 0
je 0x40e316
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040a5f0
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40e201
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40e23b
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40e234
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040b960
jmp 0x40e23b
sub eax, 1
test eax, eax
jne 0x40e206
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040dd20
cmp qword [rbp + 0x68], 0
je 0x40e279
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040ded0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040a570
jmp 0x40e315
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040d470
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040ded0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040a570
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40e2ee
cmp byte [0x00471c78], 0
jne 0x40e2ee
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040d470
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040ded0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a570
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40e315
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040e010
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040a570
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040a070
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040a070
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40ecb0
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 0x40ecd0
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 0x40ecf4
cmp eax, 1
jae 0x40ecf9
cmp ecx, 5
jbe 0x40ed05
mov dword [0x0046d9a0], 0x7f
jmp 0x40ed0f
mov dword [0x0046d9a0], 0x409
add rsp, 0x28
ret
Function at 0x40efb0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0040efa0
mov ebx, eax
test ebx, ebx
je 0x40effb
cmp dword [0x00461574], 0xffffffff
jne 0x40efd4
mov ecx, 0xe2
call fcn.00409d80
mov ecx, ebx
call fcn.0040ef80
test rax, rax
jne 0x40efed
mov ecx, 0xe2
call fcn.00409d80
jmp 0x40effb
mov ecx, dword [0x00461574]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x40f010
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00471d54], 0
je 0x40f04b
mov ecx, dword [0x00461574]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40f05f
call fcn.0040efb0
mov ecx, dword [0x00461574]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40f05f
mov rax, qword [0x00471d88]
jmp 0x40f05f
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x00461574]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

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

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov esi, edx
xor rdi, rdi
mov rcx, rbx
call fcn.0040b3b0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
mov r13d, eax
cmp r13d, 0xffffffff
je 0x41cec0
mov eax, r13d
test eax, 0x400
jne 0x41cdfe
test r13d, 0x10
setne dil
jmp 0x41cef3
test sil, sil
je 0x41ce5e
mov rcx, rbx
call fcn.0040b3b0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
cmp rax, 0xffffffffffffffff
je 0x41cef3
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
test r13d, 0x10
setne dil
jmp 0x41cef3
test r13d, 0x10
je 0x41ce6f
mov dil, 1
jmp 0x41cef3
mov rcx, rbx
call fcn.0040b3b0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
cmp rax, 0xffffffffffffffff
je 0x41cebb
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
xor rdi, rdi
jmp 0x41cef3
mov dil, 1
jmp 0x41cef3
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41ceeb
cmp eax, 3
je 0x41ceeb
cmp eax, 0xa1
je 0x41ceeb
cmp eax, 0x7b
je 0x41ceeb
cmp eax, 0x35
je 0x41ceeb
cmp eax, 0x15
je 0x41ceeb
cmp eax, 0x43
jne 0x41cef0
xor rdi, rdi
jmp 0x41cef3
mov dil, 1
mov eax, edi
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x41f8f0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
movdqa xmmword [rbp + 0x20], xmm6
mov rbx, rdx
movapd xmm6, xmm2
mov rcx, rbx
mov edx, 0xa
xor r8, r8
call fcn.00406300
movsd xmm0, qword [0x0041f9b0]
comisd xmm0, xmm6
jbe 0x41f929
mov byte [rbx + 9], 0x80
movapd xmm0, xmm6
call fcn.00405ca0
call fcn.00405bb0
mov rcx, rax
xor r8, r8
jmp 0x41f991
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov r9, rdx
movsxd r10, r8d
mov r11d, 0xa
mov eax, r9d
cdq
idiv r11d
mov r11, rdx
mov esi, 0xa
mov eax, r9d
cdq
idiv esi
shl eax, 4
add r11b, al
mov byte [rbx + r10], r11b
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov rcx, rax
add r8d, 1
test rcx, rcx
jle 0x41f99c
cmp r8d, 9
jl 0x41f93f
mov rax, rbx
movdqa xmm6, xmmword [rbp + 0x20]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret

Function at 0x4238a0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4238c7
movzx rax, word [rbp + 0x2c]
jmp 0x4238c9
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x424f00
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.00424ca0
mov ebx, eax
mov rax, qword [0x0046c750]
cmp byte [rax], 0
je 0x425038
mov rcx, qword [0x0046c510]
call fcn.00406250
call fcn.004055a0
mov ecx, 1
xor rdx, rdx
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_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00424ec0]
mov r8d, 1
movsxd r9, esi
call fcn.0040c920
mov ecx, 1
xor rdx, rdx
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_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
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_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x004250d8]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x42507e
mov rcx, qword [0x00471d58]
call fcn.0040ca90
mov rcx, rax
mov rax, qword [0x0046c4b8]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor rcx, rcx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00424ec0]
call fcn.0040c960
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x426fe0
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.0040a760
mov r13d, eax
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0040ec90
mov esi, eax
cmp esi, 0x104
jbe 0x42703d
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00405260
mov rdi, rax
jmp 0x427041
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.0040ec90
mov rax, rdi
mov rcx, rax
call sub.user32.dll_CharUpperW
xor rbx, rbx
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x427097
add ecx, 1
mov edx, ebx
shl edx, 5
shr ebx, 0x1b
or edx, ebx
mov ebx, edx
movsxd rdx, eax
movzx edx, word [rdi + rdx*2]
xor ebx, edx
add eax, 1
cmp eax, ecx
jne 0x42707b
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x4270a9
mov rcx, rdi
call fcn.00405290
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x428da0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call sub.kernel32.dll_GetCommandLineW_1
mov rsi, rax
xor rax, rax
movzx rcx, word [rsi]
sub cx, 1
cmp cx, 0xffff
je 0x428de4
cmp cx, 0x20
jb 0x428dd3
sub cx, 0x21
test cx, cx
jne 0x428dde
jmp 0x428dd9
test al, al
je 0x428de4
jmp 0x428dde
test al, al
sete al
add rsi, 2
jmp 0x428db4
nop
jmp 0x428deb
add rsi, 2
movzx rcx, word [rsi]
lea rdx, [0x00428e14]
call fcn.0041bac0
test al, al
jne 0x428de7
mov rcx, rbx
mov rdx, rsi
call fcn.0040b450
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
call fcn.0040b3b0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428f4e
test eax, 0x10
je 0x428f53
xor rax, rax
jmp 0x428f55
mov al, 1
add rsp, 0x28
ret

Function at 0x4292d0
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x004762c8]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.00405630
mov dword [0x0047620c], 0xb7e15163
mov ebx, 1
lea rax, [0x0047620c]
movsxd rcx, ebx
lea rdx, [0x00476208]
movsxd r8, ebx
mov edx, dword [rdx + r8*4]
add edx, 0x9e3779b9
mov dword [rax + rcx*4], edx
add ebx, 1
cmp ebx, 0x2c
jne 0x429303
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x0047620c]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.00429120
mov r13d, eax
lea rax, [0x0047620c]
movsxd rcx, ebx
mov dword [rax + rcx*4], r13d
movsxd rax, esi
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, r13d
add ecx, r14d
mov edx, r13d
add edx, r14d
call fcn.00429120
mov r14d, eax
movsxd rax, esi
mov dword [rsp + rax*4 + 0x20], r14d
mov eax, ebx
add eax, 1
mov ecx, 0x2c
cdq
idiv ecx
mov rbx, rdx
mov eax, esi
add eax, 1
mov ecx, 0x10
cdq
idiv ecx
mov rsi, rdx
add edi, 1
cmp edi, 0x85
jne 0x42933f
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x4558e0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rbx
mov rax, rcx
movsxd r10, dword [rax + 0x3c]
lea rcx, [rcx + r10]
cmp word [rax], 0x5a4d
jne 0x4558fc
cmp dword [rcx], 0x4550
je 0x455904
mov eax, 1
jmp 0x455958
lea rax, [rcx + 0x108]
xor r10, r10
xor r11, r11
xor rbx, rbx
movzx esi, word [rcx + 6]
sub esi, 1
cmp ebx, esi
jg 0x45593f
add esi, 1
cmp dword [rax + 0x14], r10d
jbe 0x455934
mov r10d, dword [rax + 0x14]
mov r11d, dword [rax + 0x14]
add r11d, dword [rax + 0x10]
add rax, 0x28
add ebx, 1
cmp ebx, esi
jne 0x455922
nop
mov dword [rdx], r11d
lea rax, [rcx + 0xa8]
mov ecx, dword [rax]
mov dword [r8], ecx
mov eax, dword [rax + 4]
mov dword [r9], eax
xor rax, rax
pop rbx
pop rsi
ret
Function at 0x455960
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
mov qword [rbp + 0x90], r8
mov dword [rbp + 0x98], r9d
cmp byte [rbp + 0x88], 0
je 0x4559ac
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.00407ba0
mov qword [rbp + 0x80], rax
nop
cmp qword [rbp + 0x90], 0
jbe 0x455bca
cmp dword [rbp + 0xa0], 0
jne 0x4559d9
mov rcx, qword [rbp + 0x90]
xor rdx, rdx
call sub.kernel32.dll_GetFileSize_1
mov dword [rbp + 0xa0], eax
mov rcx, qword [rbp + 0x90]
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingW
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x28], rax
mov rax, qword [rbp + 0x80]
cmp qword [rax + 0x28], 0
jne 0x455a45
mov rcx, qword [rbp + 0x80]
call fcn.00455080
mov rcx, qword [0x00454358]
mov dl, 1
lea r8, [0x00455c5c]
call fcn.00425100
mov rcx, rax
call fcn.004091f0
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax + 0x28]
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x80]
cmp qword [rax + 8], 0
jne 0x455aac
mov rcx, qword [rbp + 0x80]
call fcn.00455080
mov rcx, qword [0x00454358]
mov dl, 1
lea r8, [0x00455c84]
call fcn.00425100
mov rcx, rax
call fcn.004091f0
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax + 8]
lea rdx, [rbp + 0x54]
lea r8, [rbp + 0x50]
lea r9, [rbp + 0x4c]
call fcn.004558e0
test eax, eax
jne 0x455adb
cmp dword [rbp + 0x50], 0
jbe 0x455adb
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0xa0], eax
mov dword [rbp + 0x58], 0xffffffff
mov eax, dword [rbp + 0x98]
mov ecx, dword [rbp + 0xa0]
sub ecx, 5
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x5c], ecx
jg 0x455b2a
add ecx, 1
mov rax, qword [rbp + 0x80]
mov rax, qword [rax + 8]
movsxd rdx, dword [rbp + 0x5c]
mov eax, dword [rax + rdx]
add eax, 1
cmp eax, 0x4034b51
jne 0x455b21
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x58], eax
jmp 0x455b2a
add dword [rbp + 0x5c], 1
cmp dword [rbp + 0x5c], ecx
jne 0x455afc
nop
cmp dword [rbp + 0x58], 0
jge 0x455b7a
mov eax, dword [rbp + 0x98]
mov ecx, dword [rbp + 0xa0]
sub ecx, 5
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x5c], ecx
jg 0x455b79
add ecx, 1
mov rax, qword [rbp + 0x80]
mov rax, qword [rax + 8]
movsxd rdx, dword [rbp + 0x5c]
mov eax, dword [rax + rdx]
add eax, 1
cmp eax, 0x6054b51
jne 0x455b70
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x58], eax
jmp 0x455b79
add dword [rbp + 0x5c], 1
cmp dword [rbp + 0x5c], ecx
jne 0x455b4b
nop
cmp dword [rbp + 0x58], 0
jge 0x455ba9
mov rcx, qword [rbp + 0x80]
call fcn.00455080
mov rcx, qword [0x00454358]
mov dl, 1
lea r8, [0x00455cb0]
call fcn.00425100
mov rcx, rax
call fcn.004091f0
mov rcx, qword [rbp + 0x80]
xor rdx, rdx
mov rax, qword [rbp + 0x80]
mov r8, qword [rax + 8]
mov r9d, dword [rbp + 0xa0]
call fcn.00455100
cmp byte [rbp + 0x88], 0
je 0x455c25
mov rcx, qword [rbp + 0x80]
call fcn.00407be0
mov qword [rbp + 0x80], rax
jmp 0x455c25
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret
Function at 0x457200
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbfa0
ja 0x457207
sub rsp, 0x4060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x2001
jne 0x457251
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x457283
test eax, eax
je 0x4572b5
sub eax, 1
test eax, eax
jne 0x45730e
jmp 0x4572f5
mov ecx, 0x2000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.0040a200
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.0041bf90
jmp 0x45730e
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.0040a200
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.0041bf90
jmp 0x45730e
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004058e0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041cf90
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.00426bb0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.0040a570
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.0040a070
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x4060]
pop rbp
ret

Function at 0x457380
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x110
mov rbp, rsp
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x120], rcx
nop
lea rcx, [rbp + 0xe8]
mov edx, 0x18
xor r8, r8
call fcn.00406300
lea rcx, [rbp + 0x80]
mov edx, 0x68
xor r8, r8
call fcn.00406300
mov dword [rbp + 0x80], 0x68
mov dword [rbp + 0xe8], 0x18
mov dword [rbp + 0xbc], 1
mov word [rbp + 0xc0], 0
mov byte [rbp + 0x67], 0
mov dword [rbp + 0xf8], 0
mov rcx, qword [rbp + 0x120]
call fcn.0040b3b0
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xe8]
lea r9, [rbp + 0xe8]
cmp byte [rbp + 0x67], 0
setne al
movzx rax, al
neg eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4574ad
lea rcx, [rbp + 0x108]
lea rdx, [0x004571e0]
call fcn.0040ebc0
nop
mov rcx, qword [0x0046c510]
mov rdx, qword [rbp + 0x108]
call fcn.00406b60
mov rcx, rax
call fcn.00406cd0
call fcn.004055a0
nop
lea rcx, [rbp + 0x108]
call fcn.00409f90
jmp 0x4574db
mov rcx, qword [rbp + 0x68]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0x104]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x108]
call fcn.00409f90
mov eax, dword [rbp + 0x104]
lea rsp, [rbp + 0x110]
pop rbp
ret
Function at 0x457a10
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.0040a120
nop
mov rcx, qword [rbp + 0x68]
call fcn.0040b3b0
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x102
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x58], rax
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x58]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x60]
mov r8d, dword [rax + 0x68]
mov rax, qword [rbp + 0x60]
lea r9, [rax + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x58]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x68]
call fcn.00409f90
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x7ff633731630
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x7ff63373168d
lea rbx, [0x7ff633813190]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x7ff633731674
cmp r10, 2
jb 0x7ff633731674
cmp byte [r9], r8b
jne 0x7ff633731674
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x7ff633731650
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x7ff6337316cf
lea rbx, [0x7ff633813190]
cmp r8b, 0x23
jne 0x7ff6337316b3
cmp byte [r9], r8b
jne 0x7ff6337316b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x7ff6337316a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x7ff633731bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x7ff633731e19
mov qword [r11 + 0x20], rsi
lea rsi, [0x7ff633720000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x7ff633731c52
cmp r8, rbp
jae 0x7ff633731df6
movzx edx, byte [r8]
test dl, dl
je 0x7ff633731df6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xf3040]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x7ff633731c88
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x7ff633731ca1
movzx r13d, byte [rax]
jmp 0x7ff633731ca4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x7ff633731cb3
movzx r12d, byte [rax]
jmp 0x7ff633731cb6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x7ff633731cc5
movzx r15d, byte [rax]
jmp 0x7ff633731cc8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x2c6718]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x7ff633720000]
mov ecx, dword [r10 + rax + 0xf3028]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xf3010]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, pe_nt_image_headers64
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x7ff633720000]
mov ecx, dword [r10 + rcx + 0x2c6700]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x7ff633731dd3
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x7ff633731ddd
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x7ff633731df6
mov word [rdi], si
add rdi, 2
lea rsi, [0x7ff633720000]
cmp rdi, qword [rsp + 8]
jb 0x7ff633731c40
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x7ff633731e2f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret