joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f560
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040c470
movzx rax, word [rbp + 0x4e]
cmp word [0x00482120], ax
ja 0x40f648
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x00482520]
mov word [rbp + 0x4e], ax
ja 0x40f648
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40f647
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x00482120]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40f601
mov ecx, eax
sub ecx, 1
jmp 0x40f642
lea rdx, [0x00482120]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40f623
mov r8d, eax
add r8d, 1
jmp 0x40f642
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x00482128]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040f400
jmp 0x40f647
cmp ecx, r8d
jae 0x40f5d0
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40f72a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40f72a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
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.0040d7a0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040d7a0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040d7a0
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040f784]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040f794]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040dc10
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040c550
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40f9a0
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, [0x00492c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00492ca8], ax
jne 0x40fa0b
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00492caa]
mov r8d, 0x55
call fcn.0040d7a0
lea rcx, [0x00492c80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40fb17
lea rcx, [0x00492c80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040c470
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40fad0
cmp byte [0x00492c78], 0
je 0x40fa64
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040f830
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040ca70
jmp 0x40fad0
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040f560
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040ca70
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40fad0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40faaf
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040fb64]
call fcn.0040da10
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040f560
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040da10
lea rcx, [0x00492c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00492ca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040d6f0
lea rcx, [0x00492caa]
mov rdx, rax
mov r8d, 0xaa
call sub.kernel32.dll_lstrcpynW
lea rcx, [0x00492c80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040c550
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x4104f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.0040c600
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.0040d7a0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040dae0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00410320
test al, al
jne 0x4105be
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040d7a0
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040dae0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00410320
test al, al
jne 0x4105be
mov rcx, qword [rbp + 0x20]
call fcn.0040c470
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040c550
lea rcx, [rbp + 0x70]
call fcn.0040c470
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x410620
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.0040c600
mov rcx, qword [rbp + 0x90]
call fcn.0040c600
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040c470
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040caf0
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x4106c3
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x4106fd
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x4106f6
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040dcf0
jmp 0x4106fd
sub eax, 1
test eax, eax
jne 0x4106c8
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00410230
cmp qword [rbp + 0x68], 0
je 0x41073b
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.004103c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040ca70
jmp 0x4107d7
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040f9a0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.004103c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040ca70
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4107b0
cmp byte [0x00492c78], 0
jne 0x4107b0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040f9a0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.004103c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040ca70
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4107d7
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.004104f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040ca70
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040c550
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040c550
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x411460
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 0x411480
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 0x4114a4
cmp eax, 1
jae 0x4114a9
cmp ecx, 5
jbe 0x4114b5
mov dword [0x0048e9a0], 0x7f
jmp 0x4114bf
mov dword [0x0048e9a0], 0x409
add rsp, 0x28
ret
Function at 0x4117b0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.004117a0
mov ebx, eax
test ebx, ebx
je 0x4117fb
cmp dword [0x00482a08], 0xffffffff
jne 0x4117d4
mov ecx, 0xe2
call fcn.0040c130
mov ecx, ebx
call fcn.00411780
test rax, rax
jne 0x4117ed
mov ecx, 0xe2
call fcn.0040c130
jmp 0x4117fb
mov ecx, dword [0x00482a08]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x411850
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
lea rax, [0x1b8]
test rax, rax
je 0x411890
cmp dword [0x00482a08], 0xffffffff
je 0x411890
mov ecx, dword [0x00482a08]
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x411890
mov rcx, rax
call sub.kernel32.dll_LocalFree
mov ecx, dword [0x00482a08]
xor rdx, rdx
call sub.kernel32.dll_TlsSetValue
add rsp, 0x28
ret

Function at 0x4118d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00492d54], 0
je 0x41190b
mov ecx, dword [0x00482a08]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41191f
call fcn.004117b0
mov ecx, dword [0x00482a08]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x41191f
mov rax, qword [0x00492d88]
jmp 0x41191f
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x00482a08]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

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

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rcx, rbx
call fcn.0040d6f0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x424592
mov ecx, eax
test ecx, 0x400
je 0x424587
test sil, sil
jne 0x42451f
mov al, 1
jmp 0x4245bc
test eax, 0x10
je 0x42452f
xor rax, rax
jmp 0x4245bc
mov rcx, rbx
call fcn.0040d6f0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
cmp rax, 0xffffffffffffffff
je 0x42457a
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4245bc
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x20
sete al
jmp 0x4245bc
test eax, 0x10
sete al
jmp 0x4245bc
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x4245b5
cmp eax, 3
je 0x4245b5
cmp eax, 0x7b
je 0x4245b5
mov rcx, rbp
mov rdx, rbx
call fcn.00424490
test al, al
jne 0x4245ba
xor rax, rax
jmp 0x4245bc
mov al, 1
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret

Function at 0x42a870
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 0x42a897
movzx rax, word [rbp + 0x2c]
jmp 0x42a899
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret
Function at 0x42bb50
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.0042b900
mov ebx, eax
mov rax, qword [0x0048cf90]
cmp byte [rax], 0
je 0x42bc88
mov rcx, qword [0x0048cc50]
call fcn.00407290
call fcn.00405c50
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 [0x0042bb08]
mov r8d, 1
movsxd r9, esi
call fcn.0040eeb0
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, [0x0042bd24]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x42bcce
mov rcx, qword [0x00492d58]
call fcn.0040f010
mov rcx, rax
mov rax, qword [0x0048cbd8]
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 [0x0042bb08]
call fcn.0040eef0
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x42e310
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.0040cc60
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.00411440
mov esi, eax
cmp esi, 0x104
jbe 0x42e36d
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00405920
mov rdi, rax
jmp 0x42e371
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.00411440
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 0x42e3c7
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 0x42e3ab
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x42e3d9
mov rcx, rdi
call fcn.00405950
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x4691c0
Capabilities:
Resume thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x14], 0
jne 0x4691f3
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x469251
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x18], 0
jne 0x469251
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x60], 0
jne 0x469251
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x16], 0
mov byte [rax + 0x14], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x46927b
lea rcx, [rbp + 0x38]
mov rdx, qword [0x0048cf10]
call fcn.00411370
mov rcx, qword [0x0044fb00]
mov dl, 1
mov r8, qword [rbp + 0x38]
call fcn.0042bd30
mov rcx, rax
call fcn.0040b590
jmp 0x46927b
lea rcx, [rbp + 0x30]
mov rdx, qword [0x0048cf10]
call fcn.00411370
mov rcx, qword [0x0044fb00]
mov dl, 1
mov r8, qword [rbp + 0x30]
call fcn.0042bd30
mov rcx, rax
call fcn.0040b590
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040c550
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x46a080
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 + 0x16]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x16], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.00469090
jmp 0x46a0db
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x46a100
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 8]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.00469090
cmp esi, 1
jne 0x46a12a
mov byte [rbx + 0x16], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x1400067d0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [0x140011390], 0
jne 0x14000686b
mov dword [rsp], 0
jmp 0x1400067fb
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x140006861
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 0xc], 8
jmp 0x14000681f
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
jbe 0x14000684e
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x140006842
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 4], eax
jmp 0x14000684c
mov eax, dword [rsp + 4]
shr eax, 1
mov dword [rsp + 4], eax
jmp 0x140006815
mov eax, dword [rsp]
lea rcx, [0x140010f90]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x1400067f3
mov dword [0x140011390], 1
mov dword [rsp + 8], 0xffffffff
mov dword [rsp], 0
jmp 0x140006884
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1400068bc
mov eax, dword [rsp + 8]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
xor ecx, dword [rsp + 8]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x140010f90]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 8], eax
jmp 0x14000687c
mov eax, dword [rsp + 8]
not eax
add rsp, 0x18
ret
Function at 0x1400083cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x1400083ed
xor eax, eax
jmp 0x140008548
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x14000844c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140008546
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14000bb00
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.1400067d0
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x38], 0
je 0x140008541
cmp qword [rsp + 0x28], 0
je 0x140008541
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x24], eax
jne 0x140008541
cmp dword [rsp + 0x80], 0
je 0x1400084e9
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [0x140010ce8]
jmp 0x140008548
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x140008548
jmp 0x140008442
xor eax, eax
add rsp, 0x68
ret
Function at 0x14000cba4
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
jmp 0x14000cbd2
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 8], rax
jae 0x14000cc07
mov rax, qword [rsp + 8]
movsx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x14000cbc5
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x14000ccb4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x14000cce0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x14000cde2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x104]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x104], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x108]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x108], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x108]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + 0x104]
mov rcx, rax
call fcn.14000ce70
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
movsxd rcx, dword [rcx + 0x108]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x14000ccd6
add rsp, 0x38
ret
Function at 0x140522d40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140522d4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140522d5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140522d45
lea eax, [rcx + 1]
jmp 0x140522d6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140522d7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140522d64
sub eax, 3
jb 0x140522d9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140522ded
sar eax, 1
movsxd rbp, eax
jb 0x140522dd4
jmp 0x140522dac
add ebx, ebx
jne 0x140522daa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140522dd4
inc ecx
add ebx, ebx
jne 0x140522dba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140522dd4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140522dcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140522dbc
add ecx, 2
jmp 0x140522dd9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140522d02
jmp 0x140522d4d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x520000]
mov eax, dword [rdi]
or eax, eax
je 0x140522e49
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x53cd24]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140522df9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140522e43
mov qword [rbx], rax
add rbx, 8
jmp 0x140522e19
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140522e83
cmp al, 0xef
ja 0x140522e75
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140522e55
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140522e64
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140522ed7
sub rsp, 0xffffffffffffff80
jmp 0x140073404