joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415ae0
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.004104f0
mov rcx, qword [rbp + 0x90]
call fcn.004104f0
nop
mov rcx, qword [rbp + 0x28]
call fcn.00410360
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00410a30
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x415b83
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x415bbd
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x415bb6
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00412700
jmp 0x415bbd
sub eax, 1
test eax, eax
jne 0x415b88
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.004156b0
cmp qword [rbp + 0x68], 0
je 0x415bfb
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.00415860
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.004109b0
jmp 0x415c97
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00414e20
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.00415860
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.004109b0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x415c70
cmp byte [0x00b75c88], 0
jne 0x415c70
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00414e20
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.00415860
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004109b0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x415c97
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.004159a0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.004109b0
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00410440
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410440
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x416d40
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 0x416d60
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 0x416d84
cmp eax, 1
jae 0x416d89
cmp ecx, 5
jbe 0x416d95
mov dword [0x00b719b0], 0x7f
jmp 0x416d9f
mov dword [0x00b719b0], 0x409
add rsp, 0x28
ret
Function at 0x418540
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.00418530
mov ebx, eax
test ebx, ebx
je 0x41858b
cmp dword [0x00ae2cd4], 0xffffffff
jne 0x418564
mov ecx, 0xe2
call fcn.00410010
mov ecx, ebx
call fcn.00418510
test rax, rax
jne 0x41857d
mov ecx, 0xe2
call fcn.00410010
jmp 0x41858b
mov ecx, dword [0x00ae2cd4]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x4185a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00b75d64], 0
je 0x4185db
mov ecx, dword [0x00ae2cd4]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x4185ef
call fcn.00418540
mov ecx, dword [0x00ae2cd4]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x4185ef
mov rax, qword [0x00b75d98]
jmp 0x4185ef
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x00ae2cd4]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x424f30
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
test esi, esi
je 0x42500b
test esi, esi
setl r14b
mov rcx, rbx
mov edx, 0xb
xor r8, r8
call fcn.00411810
mov edi, 0xb
mov ecx, 0xa
mov eax, esi
cdq
idiv ecx
mov rax, rdx
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
mov r13d, eax
sub r13d, ecx
mov ecx, 0xa
mov eax, esi
cdq
idiv ecx
mov rsi, rax
mov rcx, rbx
call fcn.00410cb0
movsxd rcx, edi
add r13b, 0x30
mov byte [rax + rcx - 1], r13b
sub edi, 1
test esi, esi
jne 0x424f65
test r14b, r14b
je 0x424fc3
mov rcx, rbx
call fcn.00410cb0
movsxd rcx, edi
mov byte [rax + rcx - 1], 0x2d
sub edi, 1
test edi, edi
jle 0x42501a
mov rcx, rbx
call fcn.00410cb0
mov rsi, rax
mov rcx, rbx
call fcn.00410cb0
movsxd rcx, edi
lea rcx, [rsi + rcx]
mov rdx, rax
mov r8d, 0xb
sub r8d, edi
movsxd r8, r8d
call fcn.00408e20
mov rcx, rbx
mov edx, 0xb
sub edx, edi
xor r8, r8
call fcn.00411810
jmp 0x42501a
mov rcx, rbx
lea rdx, [0x00425038]
call fcn.00410ac0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret

Function at 0x425040
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
test esi, esi
je 0x42511c
test esi, esi
setl r14b
mov rcx, rbx
mov edx, 0xb
call fcn.00412320
mov edi, 0xb
mov ecx, 0xa
mov eax, esi
cdq
idiv ecx
mov rax, rdx
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
mov r13d, eax
sub r13d, ecx
mov ecx, 0xa
mov eax, esi
cdq
idiv ecx
mov rsi, rax
mov rcx, rbx
call fcn.00410ca0
movsxd rcx, edi
add r13w, 0x30
mov word [rax + rcx*2 - 2], r13w
sub edi, 1
test esi, esi
jne 0x425072
test r14b, r14b
je 0x4250d4
mov rcx, rbx
call fcn.00410ca0
movsxd rcx, edi
mov word [rax + rcx*2 - 2], 0x2d
sub edi, 1
test edi, edi
jle 0x42512b
mov rcx, rbx
call fcn.00410ca0
mov rsi, rax
mov rcx, rbx
call fcn.00410ca0
movsxd rcx, edi
lea rcx, [rsi + rcx*2]
mov rdx, rax
mov r8d, 0xb
sub r8d, edi
add r8d, r8d
movsxd r8, r8d
call fcn.00408e20
mov rcx, rbx
mov edx, 0xb
sub edx, edi
call fcn.00412320
jmp 0x42512b
mov rcx, rbx
lea rdx, [0x00425148]
call fcn.004109b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x4268a0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
cmp byte [0x00ae39fc], 0
jne 0x4268e4
call sub.kernel32.dll_GetThreadLocale
mov ecx, eax
mov edx, 0xe
lea r8, [rsp + 0x2e]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4268dd
movzx rax, byte [rsp + 0x2e]
mov byte [0x00ae39fc], al
jmp 0x4268e4
mov byte [0x00ae39fc], 0x2c
movzx rax, byte [0x00ae39fc]
add rsp, 0x38
ret

Function at 0x426900
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
cmp word [0x00ae3ad8], 0
jne 0x426948
call sub.kernel32.dll_GetThreadLocale
mov ecx, eax
mov edx, 0xe
lea r8, [rsp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42693f
movzx rax, word [rsp + 0x2c]
mov word [0x00ae3ad8], ax
jmp 0x426948
mov word [0x00ae3ad8], 0x2c
movzx rax, word [0x00ae3ad8]
add rsp, 0x38
ret
Function at 0x427b40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
call fcn.00410ac0
mov rcx, rbx
call fcn.00410cd0
mov rcx, qword [rbx]
call fcn.00410b90
mov ecx, 1
mov edx, eax
mov eax, ecx
cmp eax, edx
jg 0x427b84
add edx, 1
mov rcx, qword [rbx]
movsxd r8, eax
xor byte [rcx + r8 - 1], 0x55
add eax, 1
cmp eax, edx
jne 0x427b71
nop
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x42d180
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0xa0], 0
nop
mov rcx, qword [rbp + 0x38]
call fcn.00410360
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x42d21e
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x40]
xor r8, r8
call fcn.004118e0
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
call qword [0x00ae4048]
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x78]
call fcn.004121e0
jmp 0x42d3f9
mov rcx, qword [rbp + 0x40]
call fcn.00412090
mov rcx, rax
lea rdx, [rbp + 0xa8]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0xac], eax
cmp dword [rbp + 0xac], 0
je 0x42d3f8
lea rcx, [rbp + 0xa0]
mov edx, dword [rbp + 0xac]
call fcn.00412320
mov rcx, qword [rbp + 0x40]
call fcn.00412090
mov rcx, rax
mov edx, dword [rbp + 0xa8]
mov r8d, dword [rbp + 0xac]
mov r9, qword [rbp + 0xa0]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42d3f8
mov rcx, qword [rbp + 0xa0]
lea rdx, [0x0042d4d8]
lea r8, [rbp + 0x98]
lea r9, [rbp + 0xac]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d2f1
mov rax, qword [rbp + 0x98]
cmp dword [rax + 8], 0
jne 0x42d2c7
mov rax, qword [rbp + 0x98]
cmp dword [rax + 0xc], 0
je 0x42d2f1
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x98]
mov eax, dword [rax + 8]
shl rax, 0x20
mov rdx, qword [rbp + 0x98]
mov edx, dword [rdx + 0xc]
lea rdx, [rax + rdx]
call fcn.0042cd50
jmp 0x42d3f8
mov rcx, qword [rbp + 0xa0]
lea rdx, [0x0042d4dc]
lea r8, [rbp + 0x90]
lea r9, [rbp + 0xac]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d3f8
cmp qword [rbp + 0x90], 0
je 0x42d3f8
mov rax, qword [rbp + 0x90]
mov ecx, dword [rax]
call fcn.00421bf0
mov ecx, eax
mov rax, qword [rbp + 0x90]
movzx rdx, word [rax]
call fcn.00421be0
lea rcx, [rbp + 0x58]
mov edx, eax
mov r8d, 8
mov r9w, 0x30
call fcn.00425c70
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov r8d, 2
mov r9d, 0x7fffffff
call fcn.00412700
lea rcx, [rbp + 0x68]
mov edx, 3
lea r8, [0x0042d51c]
mov r9, qword [rbp + 0x60]
lea rax, [0x0042d54c]
mov qword [rsp + 0x20], rax
call fcn.00412610
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x68]
call fcn.00412240
mov rcx, qword [rbp + 0x50]
call fcn.00411a30
mov rcx, qword [rbp + 0xa0]
mov rdx, rax
lea r8, [rbp + 0x88]
lea r9, [rbp + 0xac]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d3f8
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x88]
call fcn.00412130
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
mov rbx, qword [0x00b6ebf0]
call qword [rbx]
nop
lea rcx, [rbp + 0x48]
call fcn.00410360
lea rcx, [rbp + 0x50]
call fcn.00410400
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410440
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.00410470
lea rcx, [rbp + 0xa0]
call fcn.00410360
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0xb8]
pop rbx
pop rbp
ret
Function at 0x42eaa0
Capabilities:
Parse pe header

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], 0
nop
mov rcx, qword [rbp + 0x50]
mov edx, 2
call fcn.004305c0
test al, al
jne 0x42eb10
mov rax, qword [rbp + 0x50]
cmp word [rax], 0x5a4d
jne 0x42eb10
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
mov ecx, dword [rcx + 0x3c]
lea rax, [rax + rcx]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
cmp dword [rax], 0x4550
je 0x42eb10
mov qword [rbp + 0x38], 0
jmp 0x42eb10
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x42ed70
Capabilities:
Read file via mapping

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
xor rsi, rsi
cmp byte [0x00ae4080], 0
jne 0x42eef5
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x42edf3
mov ecx, 0x40
mov edx, 0x10000
call sub.kernel32.dll_LocalAlloc
mov rdi, rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x8000
call sub.kernel32.dll_GetModuleFileNameW
mov rcx, rdi
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
mov rbx, rax
jmp 0x42ee4d
mov ecx, 0x40
mov edx, 0x105
call sub.kernel32.dll_LocalAlloc
mov rdi, rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x104
call sub.kernel32.dll_GetModuleFileNameA
mov rcx, rdi
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_CreateFileA
mov rbx, rax
mov rcx, rdi
call sub.kernel32.dll_LocalFree
cmp rbx, 0xffffffffffffffff
je 0x42eef5
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x42ee97
mov rcx, rbx
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 rdi, rax
jmp 0x42eec0
mov rcx, rbx
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingA
mov rdi, rax
test rdi, rdi
je 0x42eeed
mov rcx, rdi
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov rsi, rax
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
mov rax, rsi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x42f610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x20]
call fcn.004103b0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x42f683
mov rcx, qword [rbp + 0x38]
call fcn.00412090
mov rcx, qword [rbp + 0x28]
mov rdx, rax
mov r8, qword [rbp + 0x30]
call sub.kernel32.dll_FindResourceW
mov rbx, rax
jmp 0x42f712
mov rcx, qword [rbp + 0x30]
movzx rax, cl
cmp rax, rcx
jne 0x42f6be
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x38]
xor r8, r8
call fcn.004118e0
mov rcx, qword [rbp + 0x58]
call fcn.004115a0
mov rcx, qword [rbp + 0x28]
mov rdx, rax
mov r8, qword [rbp + 0x30]
call sub.kernel32.dll_FindResourceA
mov rbx, rax
jmp 0x42f712
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x38]
xor r8, r8
call fcn.004118e0
mov rcx, qword [rbp + 0x50]
call fcn.004115a0
mov rbx, rax
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x30]
call fcn.00412130
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
xor r8, r8
call fcn.004118e0
mov rcx, qword [rbp + 0x40]
call fcn.004115a0
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
mov r8, rax
call sub.kernel32.dll_FindResourceA
mov rbx, rax
test rbx, rbx
je 0x42f764
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
call sub.kernel32.dll_LoadResource
mov rsi, rax
test rsi, rsi
je 0x42f764
mov rcx, rsi
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
call sub.kernel32.dll_SizeofResource
mov rcx, qword [rbp + 0x20]
mov rdx, rdi
mov r8d, eax
xor r9, r9
call fcn.004106d0
mov rcx, rsi
call fcn.00421c20
mov rcx, rsi
call sub.kernel32.dll_FreeResource
nop
lea rcx, [rbp + 0x40]
call fcn.004103b0
lea rcx, [rbp + 0x48]
call fcn.00410360
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.00410470
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x43c1c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43c43d
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43c208
cmp dword [rsi + 8], 0
jne 0x43c43d
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43c25f
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43c25f
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call sub.kernel32.dll_UnmapViewOfFile
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
mov qword [rax + rcx], 0
mov ecx, 0x100000
lea rax, [rbx + rbp + 0xe8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rsi + 0x10]
neg rdx
lea rdx, [rax + rdx]
call fcn.0043c110
mov dword [rsi + 8], eax
cmp dword [rsi + 8], 0
je 0x43c43d
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43c399
lea rax, [rbx + rbp + 0x98]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43c2f0
xor rcx, rcx
mov edx, 0x100000
mov r8d, 0x1000
mov r9d, 4
call sub.kernel32.dll_VirtualAlloc
lea rcx, [rbx + rbp + 0x98]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rsi + 0x10]
xor r8, r8
xor r9, r9
call fcn.0043c120
test al, al
je 0x43c381
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rax, [rbx + rbp + 0x98]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov r8d, dword [rsi + 8]
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x43c381
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rsi + 8]
jne 0x43c381
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
lea rdx, [rbx + rbp + 0x98]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov qword [rax + rcx], rdx
jmp 0x43c3d0
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
mov qword [rax + rcx], 0
jmp 0x43c3d0
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov edx, 4
mov r8, qword [rsi + 0x10]
mov r9d, dword [rsi + 8]
call fcn.0043c190
lea rcx, [rbx + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
lea rax, [rbx + rbp + 0xd8]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov qword [rsi], rax
lea rax, [rbx + rbp + 0xf8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43c43d
lea rax, [rbx + rbp + 0xf8]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
lea rax, [rbx + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov r8d, dword [rsi + 8]
call fcn.00442b90
lea rcx, [rbx + rbp + 0xf8]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov dword [rcx], eax
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret
Function at 0x43c450
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
lea rax, [rcx + rbp + 0xb8]
mov r8, rbp
neg r8
cmp qword [rax + r8], 0
je 0x43c50f
lea rax, [rcx + rbp + 0xc8]
mov r8, rbp
neg r8
cmp qword [rax + r8], 0
jne 0x43c50f
cmp qword [rdx + 0x28], 0
jle 0x43c50f
mov r8d, 0x100000
mov rax, qword [rdx + 0x28]
cqo
idiv r8
mov rbx, rdx
test ebx, ebx
jne 0x43c4af
mov ebx, 0x100000
lea rax, [rcx + rbp + 0xb8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
lea rcx, [rcx + rbp + 0x90]
mov rdx, rbp
neg rdx
mov rdx, qword [rcx + rdx]
mov r8d, ebx
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
mov rcx, rax
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x43c4f4
cmp ebx, dword [rbp + 0x3c]
je 0x43c50f
mov rcx, qword [0x00422518]
lea rdx, [0x0043c524]
call fcn.00422780
mov rcx, rax
call fcn.0040f400
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x43ca40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rdx
mov qword [rbp + 0x50], rcx
mov edi, dword [rbx + 0x24]
mov esi, dword [rbx + 0x38]
sub esi, dword [rbx + 0x7c]
sub esi, dword [rbx + 0x74]
test esi, esi
jne 0x43ca75
cmp dword [rbx + 0x74], 0
jne 0x43ca75
cmp dword [rbx + 0x7c], 0
jne 0x43ca75
mov esi, edi
jmp 0x43cb16
cmp esi, 0xffffffff
jne 0x43ca82
sub esi, 1
jmp 0x43cb16
mov eax, edi
add eax, edi
sub eax, 0x106
cmp dword [rbx + 0x74], eax
jb 0x43cb16
mov rax, qword [rbx + 0x30]
mov ecx, edi
lea rcx, [rax + rcx]
mov rdx, qword [rbx + 0x30]
mov r8d, edi
call fcn.00408e20
lea rax, [rbx + 0x78]
sub dword [rax], edi
lea rax, [rbx + 0x74]
sub dword [rax], edi
lea rax, [rbx + 0x64]
sub dword [rax], edi
mov eax, dword [rbx + 0x54]
mov rcx, qword [rbx + 0x48]
mov edx, eax
lea rdx, [rcx + rdx*2]
sub rdx, 2
movzx ecx, word [rdx]
cmp ecx, edi
jb 0x43cadd
sub cx, di
mov word [rdx], cx
jmp 0x43cae2
mov word [rdx], 0
sub eax, 1
test eax, eax
jne 0x43caca
mov eax, edi
mov rcx, qword [rbx + 0x40]
mov edx, eax
lea rdx, [rcx + rdx*2]
sub rdx, 2
movzx ecx, word [rdx]
cmp ecx, edi
jb 0x43cb08
sub cx, di
mov word [rdx], cx
jmp 0x43cb0d
mov word [rdx], 0
sub eax, 1
test eax, eax
jne 0x43caf5
add esi, edi
mov rax, qword [rbx]
mov rcx, qword [rbp + 0x50]
lea rcx, [rcx + rbp + 0xe8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + 0x10]
cmp rax, qword [rcx + rdx]
je 0x43cbc0
mov rcx, rbp
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x74]
add r8d, dword [rbx + 0x7c]
mov r8d, r8d
lea r8, [rax + r8]
mov r9d, esi
call fcn.0043c990
lea rcx, [rbx + 0x7c]
add dword [rcx], eax
cmp dword [rbx + 0x7c], 3
jb 0x43cb94
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x74]
movzx rax, byte [rax + rcx]
mov dword [rbx + 0x50], eax
mov eax, dword [rbx + 0x50]
movzx rcx, byte [rbx + 0x60]
shl eax, cl
mov rcx, qword [rbx + 0x30]
mov edx, dword [rbx + 0x74]
movzx rcx, byte [rcx + rdx + 1]
xor eax, ecx
and eax, dword [rbx + 0x5c]
mov dword [rbx + 0x50], eax
cmp dword [rbx + 0x7c], 0x106
jae 0x43cbc0
mov rax, qword [rbx]
mov rcx, qword [rbp + 0x50]
lea rcx, [rcx + rbp + 0xe8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + 0x10]
cmp rax, qword [rcx + rdx]
jne 0x43ca55
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x43e9f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
lea rax, [rbx + rbp + 0xa0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ec5e
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ea38
cmp dword [rsi + 8], 0
jne 0x43ec5e
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ea8f
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43ea8f
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call sub.kernel32.dll_UnmapViewOfFile
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov qword [rax + rcx], 0
mov ecx, 0x100000
lea rax, [rbx + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rax, qword [rax + rdx]
mov rdx, qword [rsi + 0x10]
neg rdx
lea rdx, [rax + rdx]
call fcn.0043c110
mov dword [rsi + 8], eax
cmp dword [rsi + 8], 0
je 0x43ec5e
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43ebc9
lea rax, [rbx + rbp + 0x88]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x43eb20
xor rcx, rcx
mov edx, 0x100000
mov r8d, 0x1000
mov r9d, 4
call sub.kernel32.dll_VirtualAlloc
lea rcx, [rbx + rbp + 0x88]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
lea rax, [rbx + rbp + 0xa0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rsi + 0x10]
xor r8, r8
xor r9, r9
call fcn.0043c120
test al, al
je 0x43ebb1
lea rax, [rbx + rbp + 0xa0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rax, [rbx + rbp + 0x88]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov r8d, dword [rsi + 8]
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x43ebb1
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rsi + 8]
jne 0x43ebb1
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
lea rdx, [rbx + rbp + 0x88]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov qword [rax + rcx], rdx
jmp 0x43ec00
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov qword [rax + rcx], 0
jmp 0x43ec00
lea rax, [rbx + rbp + 0xb0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov edx, 4
mov r8, qword [rsi + 0x10]
mov r9d, dword [rsi + 8]
call fcn.0043c190
lea rcx, [rbx + rbp + 0xc8]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
lea rax, [rbx + rbp + 0xc8]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov qword [rsi], rax
cmp qword [rsi + 0x10], 0
jne 0x43ec5e
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
movsxd rax, dword [rax + rcx]
mov qword [rsi + 0x10], rax
lea rax, [rbx + rbp + 0xc0]
mov rcx, rbp
neg rcx
movsxd rax, dword [rax + rcx]
add qword [rsi], rax
lea rax, [rsi + 8]
lea rcx, [rbx + rbp + 0xc0]
mov rdx, rbp
neg rdx
mov ecx, dword [rcx + rdx]
sub dword [rax], ecx
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret