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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [0x006710a8], 0
je 0x408238
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.0040f050
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, qword [0x005880d0]
call fcn.0040f050
mov rcx, rsi
mov rdx, qword [0x005880d0]
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, rbx
call fcn.0040f050
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40824b
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9d, 0x2010
call sub.user32.dll_MessageBoxA
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x40c510
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.0040cb40
mov esi, eax
test sil, sil
jne 0x40c6c4
test ebx, ebx
je 0x40c6c4
xor edi, edi
test r13d, r13d
jle 0x40c5f1
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x40c5d5
cmp ebx, 0xffffffff
je 0x40c583
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40c583
xor esi, esi
jmp 0x40c6c4
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x40c5d5
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x40c5c3
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40c5c3
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40c6c4
lea rcx, [rbp + 0x3c]
call fcn.0040c0f0
sub r13d, 1
test r13d, r13d
jg 0x40c56a
nop
cmp ebx, 0xffffffff
je 0x40c5f1
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40c5ef
xor esi, esi
jmp 0x40c6c4
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40c52d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c5f1
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.0040c770
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x006719a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40c654
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jae 0x40c652
sub ebx, eax
jmp 0x40c654
xor ebx, ebx
test sil, sil
je 0x40c685
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40c682
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c659
mov dil, 1
nop
jmp 0x40c6a2
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40c685
mov dil, 1
test dil, dil
je 0x40c614
nop
test sil, sil
je 0x40c6c4
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x40e240
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x006710a8], 0
je 0x40e2da
cmp word [0x006713b8], 0xd7b2
jne 0x40e273
cmp dword [0x006713c0], 0
jbe 0x40e273
lea rcx, [0x006713b0]
call qword [0x006713d8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x00589cac]
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, [0x0040e310]
call fcn.0040f510
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40e2fb
cmp byte [0x0058805a], 0
jne 0x40e2fb
xor ecx, ecx
lea rdx, [0x00589cac]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40e5f0
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 [0x00588060], 0
je 0x40e621
mov rcx, rsi
mov rdx, rdi
call qword [0x00588060]
mov r13, rax
jmp 0x40e636
mov ecx, 0x10
call fcn.00409160
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x006710a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x0040e580]
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 0x40e67b
mov rcx, r13
call fcn.00409190
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x4136b0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00675f08]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00675f30], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00675f00], al
cmp byte [0x00675f00], 0
je 0x41374e
lea rcx, [0x00413754]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0041376e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00675ee8], rax
lea rcx, [0x00413754]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0041378c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00675ef0], rax
lea rcx, [0x00413754]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x004137aa]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00675ef8], rax
add rsp, 0x28
ret
Function at 0x4139f0
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.0040e7f0
movzx rax, word [rbp + 0x56]
cmp word [0x0058a610], ax
ja 0x413ac6
movzx rax, word [rbp + 0x56]
cmp ax, word [0x0058aa10]
mov word [rbp + 0x56], ax
ja 0x413ac6
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x413ac5
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x0058a610]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x413a84
mov eax, edx
sub eax, 1
jmp 0x413ac1
lea rcx, [0x0058a610]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x413aa4
mov ecx, edx
add ecx, 1
jmp 0x413ac1
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x0058a618]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.004138a0
jmp 0x413ac5
cmp eax, ecx
jae 0x413a5a
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x413b9b
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x413b9b
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.0040fab0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040fab0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040fab0
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x00413be8]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x00413bf8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040ff10
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040e8d0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret
Function at 0x413df0
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, [0x00675f08]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00675f30], ax
jne 0x413e5a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00675f32]
mov r8d, 0x55
call fcn.0040fab0
lea rcx, [0x00675f08]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x413f63
lea rcx, [0x00675f08]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.0040e7f0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x413f1e
cmp byte [0x00675f00], 0
je 0x413eb2
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00413c90
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040ee60
jmp 0x413f1e
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.004139f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040ee60
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x413f1e
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x413efd
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00413fa8]
call fcn.0040fd20
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.004139f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040fd20
lea rcx, [0x00675f08]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00675f30], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040f9f0
lea rcx, [0x00675f32]
mov edx, 0xaa
mov r8, rax
call fcn.004137e0
lea rcx, [0x00675f08]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040e8d0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x414910
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.0040e9c0
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.0040fab0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040fde0
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00414760
test al, al
jne 0x4149da
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040fab0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040fde0
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00414760
test al, al
jne 0x4149da
mov rcx, qword [rbp + 0x28]
call fcn.0040e7f0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040e8d0
lea rcx, [rbp + 0x70]
call fcn.0040e7f0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x414a30
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.0040e9c0
mov rcx, qword [rbp + 0x90]
call fcn.0040e9c0
nop
mov rcx, qword [rbp + 0x28]
call fcn.0040e7f0
cmp qword [rbp + 0x90], 0
je 0x414bef
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040eef0
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x414adb
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x414b14
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x414b0d
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040ffa0
jmp 0x414b14
sub eax, 1
test eax, eax
jne 0x414ae0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00414660
cmp qword [rbp + 0x68], 0
je 0x414b52
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.004147f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040ee60
jmp 0x414bee
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00413df0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.004147f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040ee60
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x414bc7
cmp byte [0x00675f00], 0
jne 0x414bc7
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00413df0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.004147f0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040ee60
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x414bee
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.00414910
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040ee60
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040e8d0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040e8d0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x416e20
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 0x416e40
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 0x416e63
cmp eax, 1
jae 0x416e68
cmp ecx, 5
jbe 0x416e74
mov dword [0x00671a30], 0x7f
jmp 0x416e7e
mov dword [0x00671a30], 0x409
add rsp, 0x28
ret
Function at 0x4171d0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.004171c0
mov ebx, eax
test ebx, ebx
je 0x417219
cmp dword [0x0058b0d8], 0xffffffff
jne 0x4171f3
mov ecx, 0xe2
call fcn.0040e4d0
mov ecx, ebx
call fcn.004171a0
test rax, rax
jne 0x41720b
mov ecx, 0xe2
call fcn.0040e4d0
jmp 0x417219
mov ecx, dword [0x0058b0d8]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x417280
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x006772d0], 0
je 0x4172bb
mov ecx, dword [0x0058b0d8]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x4172ce
call fcn.004171d0
mov ecx, dword [0x0058b0d8]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x4172ce
mov rax, qword [0x006772c8]
jmp 0x4172ce
mov rax, qword gs:[0x58]
mov ecx, dword [0x0058b0d8]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x42ddf0
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.0040ab10
movsd xmm0, qword [0x0042dea8]
comisd xmm0, xmm6
jbe 0x42de28
mov byte [rbx + 9], 0x80
movapd xmm0, xmm6
call fcn.0040a900
call fcn.0040a820
mov rcx, rax
xor r8, r8
jmp 0x42de8c
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 0x42de97
cmp r8d, 9
jl 0x42de3e
mov rax, rbx
movdqa xmm6, xmmword [rbp + 0x20]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4344e0
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.004342a0
mov ebx, eax
mov rax, qword [0x00670798]
cmp byte [rax], 0
je 0x43460f
mov rcx, qword [0x006703e8]
call fcn.0040aa60
call fcn.004094a0
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 [0x004344a0]
mov r8d, 1
movsxd r9, esi
call fcn.00412aa0
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, [0x0043469c]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x434652
mov rcx, qword [0x00677298]
call fcn.00413480
mov rcx, rax
mov rax, qword [0x00670370]
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 [0x004344a0]
call fcn.00412c70
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x436930
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.0040f050
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.00416e00
mov esi, eax
cmp esi, 0x104
jbe 0x43698b
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00409160
mov rdi, rax
jmp 0x43698f
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.00416e00
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 0x4369e5
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 0x4369c6
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x4369f7
mov rcx, rdi
call fcn.00409190
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x44aa10
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 0x44aa17
nop
ret
Function at 0x451640
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x467cb0
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 0x467cee
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040c030
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x0045fbf0]
mov dl, 1
call fcn.004903b0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00466798]
mov dl, 1
call fcn.00492840
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00466798]
mov dl, 1
call fcn.00492840
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 0x467dab
mov rcx, qword [rbp + 0x80]
call fcn.0040c070
mov qword [rbp + 0x80], rax
jmp 0x467dab
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4de580
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x4de5d0
cmp byte [rcx + 0x1d], 0
jne 0x4de5d0
cmp byte [rcx + 0x40], 0
jne 0x4de5d0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4de5ed
mov rcx, qword [0x004a7ad0]
mov dl, 1
mov r8, qword [0x00670708]
call fcn.00434860
mov rcx, rax
call fcn.0040da90
jmp 0x4de5ed
mov rcx, qword [0x004a7ad0]
mov dl, 1
mov r8, qword [0x00670708]
call fcn.00434860
mov rcx, rax
call fcn.0040da90
add rsp, 0x28
ret

Function at 0x4decf0
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.004de480
jmp 0x4ded4b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x4ded70
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.004de480
cmp esi, 1
jne 0x4ded9a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x55dea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, r8d
xor r8, r8
test rcx, rcx
je 0x55df05
test rdx, rdx
je 0x55df05
not eax
xor r8, r8
lea r9, [rdx - 1]
mov rdx, r8
cmp rdx, r9
ja 0x55defe
sub r9, r8
add r9, 1
lea r8, [0x005b2c34]
movzx r10, byte [rcx + rdx]
mov r11d, eax
xor r11d, r10d
and r11d, 0xff
mov r11d, r11d
shr eax, 8
mov r8d, dword [r8 + r11*4]
xor r8d, eax
mov eax, r8d
add rdx, 1
sub r9, 1
test r9, r9
jne 0x55dec8
nop
mov r8d, eax
not r8d
mov eax, r8d
ret

Function at 0x55dfb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x2c], edx
xor eax, eax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x55e0e1
mov eax, dword [rbp + 0x2c]
test eax, eax
je 0x55e0e1
mov rax, qword [rbp + 0x20]
cmp word [rax], 0x5a4d
jne 0x55e0e1
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x20]
lea rax, [rcx + rax]
cmp dword [rax], 0x4550
jne 0x55e0e1
lea rcx, [rax + 0x88]
cmp dword [rcx], 0
je 0x55e0e1
cmp dword [rcx + 4], 0
je 0x55e0e1
mov eax, dword [rax + 0x88]
mov rcx, qword [rbp + 0x20]
lea rax, [rcx + rax]
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x55e0e1
mov edx, dword [rax + 0x20]
mov r8, qword [rbp + 0x20]
lea rbx, [r8 + rdx]
mov edx, dword [rax + 0x1c]
mov r8, qword [rbp + 0x20]
lea rsi, [r8 + rdx]
mov eax, dword [rax + 0x24]
mov rdx, qword [rbp + 0x20]
lea rax, [rdx + rax]
mov qword [rbp + 0x38], rax
xor eax, eax
mov r14d, ecx
sub r14d, 1
mov r14d, r14d
mov rdi, rax
cmp rdi, r14
ja 0x55e0e0
sub r14, rax
add r14, 1
mov eax, dword [rbx + rdi*4]
mov rcx, qword [rbp + 0x20]
lea r13, [rax + rcx]
lea rcx, [rbp + 0x40]
mov edx, 0x80
xor r8, r8
call fcn.0040ab10
mov rcx, r13
lea rdx, [rbp + 0x40]
call fcn.0055df40
lea rcx, [rbp + 0x40]
call fcn.0055df10
mov ecx, dword [rbp + 0x2c]
cmp eax, ecx
jne 0x55e0d3
mov rax, qword [rbp + 0x38]
movzx rax, word [rax + rdi*2]
mov eax, dword [rsi + rax*4]
mov rcx, qword [rbp + 0x20]
lea rax, [rax + rcx]
mov qword [rbp + 0x30], rax
jmp 0x55e0e0
add rdi, 1
sub r14, 1
test r14, r14
jne 0x55e081
nop
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0xc8]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret