joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a970
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.004083d0
movzx rax, word [rbp + 0x4e]
cmp word [0x0042a9a8], ax
ja 0x40aa58
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x0042ada8]
mov word [rbp + 0x4e], ax
ja 0x40aa58
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40aa57
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x0042a9a8]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40aa11
mov ecx, eax
sub ecx, 1
jmp 0x40aa52
lea rdx, [0x0042a9a8]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40aa33
mov r8d, eax
add r8d, 1
jmp 0x40aa52
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x0042a9b0]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040a810
jmp 0x40aa57
cmp ecx, r8d
jae 0x40a9e0
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40ab3a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ab3a
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.00409290
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00409290
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00409290
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040ab94]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040aba4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00409640
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.004084b0
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40adb0
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, [0x00432c78]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00432ca0], ax
jne 0x40ae1b
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00432ca2]
mov r8d, 0x55
call fcn.00409290
lea rcx, [0x00432c78]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40af27
lea rcx, [0x00432c78]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.004083d0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40aee0
cmp byte [0x00432c70], 0
je 0x40ae74
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040ac40
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00408900
jmp 0x40aee0
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040a970
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00408900
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40aee0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40aebf
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040af74]
call fcn.00409440
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040a970
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00409440
lea rcx, [0x00432c78]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00432ca0], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.004091e0
lea rcx, [0x00432ca2]
mov rdx, rax
mov r8d, 0xaa
call sub.kernel32.dll_lstrcpynW
lea rcx, [0x00432c78]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.004084b0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40b900
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.00408560
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.00409290
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00409510
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040b730
test al, al
jne 0x40b9ce
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00409290
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00409510
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040b730
test al, al
jne 0x40b9ce
mov rcx, qword [rbp + 0x20]
call fcn.004083d0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.004084b0
lea rcx, [rbp + 0x70]
call fcn.004083d0
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40ba30
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.00408560
mov rcx, qword [rbp + 0x90]
call fcn.00408560
nop
mov rcx, qword [rbp + 0x28]
call fcn.004083d0
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00408980
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40bad3
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40bb0d
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40bb06
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00409720
jmp 0x40bb0d
sub eax, 1
test eax, eax
jne 0x40bad8
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040b640
cmp qword [rbp + 0x68], 0
je 0x40bb4b
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040b7d0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00408900
jmp 0x40bbe7
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040adb0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040b7d0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00408900
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40bbc0
cmp byte [0x00432c70], 0
jne 0x40bbc0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040adb0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040b7d0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00408900
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40bbe7
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040b900
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00408900
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.004084b0
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.004084b0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40c4e0
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 0x40c500
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 0x40c524
cmp eax, 1
jae 0x40c529
cmp ecx, 5
jbe 0x40c535
mov dword [0x0042e998], 0x7f
jmp 0x40c53f
mov dword [0x0042e998], 0x409
add rsp, 0x28
ret
Function at 0x40c820
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0040c810
mov ebx, eax
test ebx, ebx
je 0x40c86b
cmp dword [0x0042b1cc], 0xffffffff
jne 0x40c844
mov ecx, 0xe2
call fcn.00408240
mov ecx, ebx
call fcn.0040c7f0
test rax, rax
jne 0x40c85d
mov ecx, 0xe2
call fcn.00408240
jmp 0x40c86b
mov ecx, dword [0x0042b1cc]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x40c880
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00432d4c], 0
je 0x40c8bb
mov ecx, dword [0x0042b1cc]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40c8cf
call fcn.0040c820
mov ecx, dword [0x0042b1cc]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40c8cf
mov rax, qword [0x00432d80]
jmp 0x40c8cf
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x0042b1cc]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x41eeb0
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 0x41eed7
movzx rax, word [rbp + 0x2c]
jmp 0x41eed9
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x420190
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.0041ff40
mov ebx, eax
mov rax, qword [0x0042d280]
cmp byte [rax], 0
je 0x4202c8
mov rcx, qword [0x0042d0c0]
call fcn.004055c0
call fcn.00405060
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 [0x00420148]
mov r8d, 1
movsxd r9, esi
call fcn.0040a2c0
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, [0x00420364]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x42030e
mov rcx, qword [0x00432d50]
call fcn.0040a420
mov rcx, rax
mov rax, qword [0x0042d070]
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 [0x00420148]
call fcn.0040a300
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x422670
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.00408af0
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.0040c4c0
mov esi, eax
cmp esi, 0x104
jbe 0x4226cd
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00404d30
mov rdi, rax
jmp 0x4226d1
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.0040c4c0
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 0x422727
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 0x42270b
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x422739
mov rcx, rdi
call fcn.00404d60
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x423c40
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 0x423c84
cmp cx, 0x20
jb 0x423c73
sub cx, 0x21
test cx, cx
jne 0x423c7e
jmp 0x423c79
test al, al
je 0x423c84
jmp 0x423c7e
test al, al
sete al
add rsi, 2
jmp 0x423c54
nop
jmp 0x423c8b
add rsi, 2
movzx rcx, word [rsi]
lea rdx, [0x00423cb4]
call fcn.0041b530
test al, al
jne 0x423c87
mov rcx, rbx
mov rdx, rsi
call fcn.00409260
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
call fcn.004091e0
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423dee
test eax, 0x10
je 0x423df3
xor rax, rax
jmp 0x423df5
mov al, 1
add rsp, 0x28
ret

Function at 0x424180
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x00437308]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.004050f0
mov dword [0x0043724c], 0xb7e15163
mov ebx, 1
lea rax, [0x0043724c]
movsxd rcx, ebx
lea rdx, [0x00437248]
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 0x4241b3
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x0043724c]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.00423fc0
mov r13d, eax
lea rax, [0x0043724c]
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.00423fc0
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 0x4241ef
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x4243b0
Capabilities:
Get common file path

Disassembly:
push rbp
mov byte [rsp - 0x60], 0
mov byte [rsp - 0x1060], 0
mov byte [rsp - 0x2060], 0
sub rsp, 0x2060
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, 0x1001
jne 0x4243fe
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x424430
test eax, eax
je 0x424462
sub eax, 1
test eax, eax
jne 0x4244bb
jmp 0x4244a2
mov ecx, 0x1000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x1000
call fcn.00408660
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.0041b640
jmp 0x4244bb
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, 0x1000
call fcn.00408660
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.0041b640
jmp 0x4244bb
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004053a0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041bfe0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.00422080
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.00408900
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.004084b0
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x2060]
pop rbp
ret
Function at 0x424530
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x118
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
nop
lea rcx, [rbp + 0xf0]
mov edx, 0x18
xor r8, r8
call fcn.00405650
lea rcx, [rbp + 0x88]
mov edx, 0x68
xor r8, r8
call fcn.00405650
mov dword [rbp + 0x88], 0x68
mov dword [rbp + 0xf0], 0x18
mov dword [rbp + 0xc4], 1
mov word [rbp + 0xc8], 0
mov dword [rbp + 0x100], 0xffffffff
mov bl, 1
mov rcx, qword [rbp + 0x58]
call fcn.004091e0
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xf0]
lea r9, [rbp + 0xf0]
test bl, bl
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 + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x42465e
lea rcx, [rbp + 0x68]
lea rdx, [0x00424370]
call fcn.0040c3f0
lea rcx, [rbp + 0x60]
lea rdx, [0x004246e4]
call fcn.00408980
mov rcx, qword [rbp + 0x68]
call fcn.004091e0
mov rbx, rax
mov rcx, qword [rbp + 0x60]
call fcn.004091e0
xor rcx, rcx
mov rdx, rbx
mov r8, rax
mov r9d, 0x40
call sub.user32.dll_MessageBoxW
jmp 0x42468c
mov rcx, qword [rbp + 0x70]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x10c]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.004084b0
mov eax, dword [rbp + 0x10c]
lea rsp, [rbp + 0x118]
pop rbx
pop rbp
ret

Function at 0x424b90
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.00408560
nop
mov rcx, qword [rbp + 0x68]
call fcn.004091e0
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
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 r9, qword [rbp + 0x60]
add r9, 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.004083d0
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x141a75058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141a751df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141a75089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a7506f
add dl, dl
jne 0x141a75096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a750f6
xor eax, eax
add dl, dl
jne 0x141a750a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a751ad
add dl, dl
jne 0x141a750b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a750c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a750d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a750dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141a750ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141a7507e
mov eax, 1
add dl, dl
jne 0x141a75106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a75113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a750fb
sub eax, ebx
mov ebx, 1
jne 0x141a7514c
mov ecx, 1
add dl, dl
jne 0x141a7512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a7513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a75123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a7507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141a75168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a75175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a7515d
cmp eax, 0x7d00
jae 0x141a7519b
cmp eax, 0x500
jb 0x141a75196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a7507e
cmp eax, 0x7f
ja 0x141a7519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a7507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141a751d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141a7507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140004e88
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004cb4
Function at 0x140002300
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000234a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000234a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000234a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000234a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000234a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000234c
xor al, al
add rsp, 0x28
ret

Function at 0x140001b28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b72
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b74
xor al, al
add rsp, 0x28
ret