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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x404815
xor eax, eax
jmp 0x404874
mov cl, byte [edi + 0xe]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
xor esi, esi
mov eax, 0x4d42
inc esi
push edi
shl esi, cl
mov word [ebp - 0x10], ax
call ebx
push dword [ebp + 8]
add eax, 0xe
mov dword [ebp - 0xe], eax
xor eax, eax
mov word [ebp - 0xa], ax
mov word [ebp - 8], ax
mov eax, dword [edi]
lea eax, [eax + esi*4 + 0xe]
push 0xe
mov dword [ebp - 6], eax
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.0055b33c
add esp, 0x10
push dword [ebp + 8]
push edi
call ebx
push eax
push 1
push edi
call fcn.0055b33c
add esp, 0x10
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4
Function at 0x408911
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [0x5f72d8]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push edi
push eax
call fcn.004090a7
and dword [ebp - 0x20], 0
pop ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 0x14], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x408a57
push ebx
push edi
call fcn.0054996d
pop ecx
mov ebx, eax
push ebx
push edi
push 0
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x408a4f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5b0804
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408a4f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5b0808
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408a31
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.StringFileInfo_04x_04xFileVersion
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4089ea
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push 0x100
push eax
call fcn.0045ea70
add esp, 0xc
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.StringFileInfo_04x_04xCompanyName
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408a31
push dword [ebp - 0x14]
lea eax, [esi + 0x110]
push 0x100
push eax
call fcn.0045ea70
add esp, 0xc
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
push ebx
call fcn.00549978
pop ecx
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop edi
call fcn.0055a90d
add ebp, 0x74
leave
ret 4
Function at 0x409972
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
cmp dword [esi + 0xa8], 0
je 0x409980
xor eax, eax
pop ecx
ret
lea eax, [esp]
push eax
push 4
push esi
push 0x409a1a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
je 0x40997c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0xa8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
pop ecx
ret

Function at 0x409a46
Capabilities:
Create thread
Resume thread

Disassembly:
push 8
mov eax, 0x5834cc
call fcn.0055ccd2
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x8c8]
cmp dword [eax + 0xa60], 1
je 0x409bfe
mov ecx, dword [eax + 0xa64]
xor ebx, ebx
cmp ecx, ebx
je 0x409bfe
push eax
call fcn.0042524c
cmp dword [esi + 0xd64], ebx
jne 0x409b7c
cmp dword [esi + 0xd68], ebx
jne 0x409b7c
mov ecx, dword [esi + 0xd7c]
cmp ecx, ebx
je 0x409ae3
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x409ac1
mov eax, dword [esi + 0xd7c]
mov dword [eax + 8], 7
mov ecx, dword [esi + 0xd7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [esi + 0xd7c]
mov ebx, 0x17013200
call fcn.004023f0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xd7c]
mov dword [eax + 0xc], 3
jmp 0x409b36
push 0x54
call fcn.0054993e
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x409afe
mov edi, eax
call fcn.004022f4
jmp 0x409b00
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xd7c], eax
mov ebx, 0x17013200
mov esi, eax
call fcn.004023f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd7c]
mov dword [ecx + 0xc], 3
mov eax, dword [eax + 0xd7c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xd7c]
xor eax, eax
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0xd7c]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi + 0xd7c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0xd7c]
mov dword [eax + 8], 1
mov ecx, dword [esi + 0xd7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xd7c]
cmp dword [ecx + 8], 6
jne 0x409b66
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0x8c8]
xor ecx, ecx
mov word [eax + 0x404], cx
cmp dword [ebp + 0xc], ebx
je 0x409bac
push dword [ebp + 0xc]
mov eax, dword [esi + 0x8c8]
add eax, 0x404
push 0x100
push eax
call fcn.0045eae0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 4
push dword [esi + 0x8c8]
push 0x409dca
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0xac]
mov dword [edi], eax
cmp eax, ebx
je 0x409be4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x409bfe
mov eax, dword [0x609578]
cmp eax, ebx
je 0x409bf3
push ebx
call fcn.00410543
mov eax, dword [esi + 0x8c8]
call fcn.0042528a
call fcn.0055cdaa
ret 8
Function at 0x409c06
Capabilities:
Create thread
Resume thread

Disassembly:
push 8
mov eax, 0x5834cc
call fcn.0055ccd2
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x8c8]
mov ecx, dword [eax + 0xa64]
xor ebx, ebx
cmp ecx, ebx
je 0x409dc0
push eax
call fcn.0042524c
cmp dword [esi + 0xd64], ebx
jne 0x409d2f
cmp dword [esi + 0xd68], ebx
jne 0x409d2f
mov ecx, dword [esi + 0xd7c]
cmp ecx, ebx
je 0x409c96
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x409c74
mov eax, dword [esi + 0xd7c]
mov dword [eax + 8], 7
mov ecx, dword [esi + 0xd7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [esi + 0xd7c]
mov ebx, 0x17013200
call fcn.004023f0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xd7c]
mov dword [eax + 0xc], 3
jmp 0x409ce9
push 0x54
call fcn.0054993e
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x409cb1
mov edi, eax
call fcn.004022f4
jmp 0x409cb3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xd7c], eax
mov ebx, 0x17013200
mov esi, eax
call fcn.004023f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd7c]
mov dword [ecx + 0xc], 3
mov eax, dword [eax + 0xd7c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xd7c]
xor eax, eax
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0xd7c]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi + 0xd7c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0xd7c]
mov dword [eax + 8], 1
mov ecx, dword [esi + 0xd7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xd7c]
cmp dword [ecx + 8], 6
jne 0x409d19
mov esi, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov eax, dword [esi + 0x8c8]
mov edi, 0x200
add eax, 0x604
push edi
push eax
call fcn.0045eae0
push dword [ebp + 0x10]
mov eax, dword [esi + 0x8c8]
add eax, 4
push edi
push eax
call fcn.0045eae0
mov eax, dword [esi + 0x8c8]
mov ecx, dword [ebp + 0x14]
add esp, 0x18
mov dword [eax + 0xa58], ecx
lea eax, [ebp - 0x14]
push eax
push 4
push dword [esi + 0x8c8]
push 0x409e19
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0xac]
mov dword [edi], eax
cmp eax, ebx
je 0x409da6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x409dc0
mov eax, dword [0x609578]
cmp eax, ebx
je 0x409db5
push ebx
call fcn.00410543
mov eax, dword [esi + 0x8c8]
call fcn.0042528a
xor eax, eax
call fcn.0055cdaa
ret 0x10
Function at 0x40ccf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x40cd7d
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0055bea0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x40cd3d
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x40cd5f
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x40ce27
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x40cda5
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x40cdaf
xor eax, eax
jmp 0x40cde8
sub ecx, dword [ebp - 4]
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 0x18], 1
jne 0x40cdd2
push dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
call fcn.0040d605
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
pop ecx
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.0055bea0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x40ce13
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x40ce27
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x40ccfb
pop edi
pop ebx
leave
ret
Function at 0x40f582
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x5f72d8]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3a8]
push ebx
push esi
push edi
push 5
xor esi, esi
push esi
push esi
push eax
push str.open
push esi
mov dword [ebp - 0x80], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x7c], eax
cmp eax, 0x20
ja 0x40f6bf
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x78]
push eax
push 1
push esi
push str..htm
push SysReAllocString
call ebx
cmp eax, esi
jne 0x40f6bf
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x74]
call fcn.0040f522
cmp eax, esi
jne 0x40f6bf
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x5bc4f0
mov eax, edi
push eax
call esi
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov eax, edi
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x40f6bf
lea eax, [ebp - 0x78]
push eax
call fcn.0040f522
test eax, eax
jne 0x40f6bf
mov eax, edi
push 0x5bc518
push eax
call fcn.0055b478
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40f675
lea eax, [ebp - 0x74]
push 0x5bc524
push eax
call fcn.0055b478
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40f675
lea eax, [ebp - 0x74]
push eax
call ebx
lea edi, [ebp + eax*2 - 0x76]
jmp 0x40f67a
xor eax, eax
mov word [edi], ax
push 0x5af6d0
push edi
call esi
push dword [ebp - 0x80]
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x40f69a
xor eax, eax
jmp 0x40f6b3
lea esi, [eax + eax]
mov eax, esi
call fcn.0055c8c0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0040f8fa
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
call fcn.0055a90d
add ebp, 0x3a0
leave
ret 4
Function at 0x40fce3
Capabilities:
Get memory capacity

Disassembly:
push 0x7c
push 0x5d2fd8
call fcn.0055d534
and dword [ebp - 0x1c], 0
push str.GetPhysicallyInstalledSystemMemory
mov ebx, 0x5aff5c
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
test eax, eax
je 0x40fd34
lea ecx, [ebp - 0x2c]
push ecx
call eax
test eax, eax
je 0x40fd34
fild qword [ebp - 0x2c]
fmul qword [0x5c1140]
fadd qword [0x5c1138]
call fcn.0055ce70
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40fdf7
push str.GlobalMemoryStatusEx
push ebx
call esi
push eax
call edi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x40fdf7
push 0x40
pop edi
push edi
push ebx
lea eax, [ebp - 0x8c]
push eax
call fcn.0055b160
add esp, 0xc
mov dword [ebp - 0x8c], edi
wait
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x8c]
push eax
call esi
test eax, eax
je 0x40fdad
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
and eax, 0x7fffffff
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
and dword [ebp - 0x20], 0x80000000
mov dword [ebp - 0x24], ebx
fild qword [ebp - 0x24]
fchs
faddp st(1)
jmp 0x40fdc7
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x44]
fild dword [ebp - 0x44]
test eax, eax
jge 0x40fdc7
fadd qword [0x5c1130]
fmul qword [0x5c1128]
fadd qword [0x5c1138]
call fcn.0055ce70
mov dword [ebp - 0x1c], eax
test al, 1
je 0x40fde2
inc dword [ebp - 0x1c]
wait
jmp 0x40fdf0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.0055d579
ret

Function at 0x410b07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x5f72d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x608], ecx
mov ecx, dword [eax + 0x810]
test ecx, ecx
je 0x410bcb
push dword [ebp + 8]
call fcn.00467a40
test eax, eax
je 0x410bcb
push ebx
push esi
mov ecx, eax
call fcn.0046b3e0
mov ebx, eax
push ebx
xor esi, esi
call fcn.0055b840
pop ecx
test eax, eax
jle 0x410b86
push edi
mov edi, ebx
lea eax, [ebp - 0x204]
sub edi, eax
lea eax, [edi + esi]
mov al, byte [ebp + eax - 0x204]
xor al, 0xe2
mov byte [ebp + esi - 0x204], al
push ebx
inc esi
call fcn.0055b840
cmp esi, eax
pop ecx
jl 0x410b66
pop edi
mov byte [ebp + esi - 0x204], 0
mov esi, 0x200
push esi
lea eax, [ebp - 0x604]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x604]
push eax
push esi
push dword [ebp - 0x608]
call fcn.0055b4d9
add esp, 0xc
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x410bcd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055a90d
leave
ret 8
Function at 0x410c54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x5f72d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x608], ecx
mov ecx, dword [eax + 0x810]
test ecx, ecx
je 0x410d18
push dword [ebp + 8]
call fcn.00467a40
test eax, eax
je 0x410d18
push ebx
push esi
mov ecx, eax
call fcn.0046b420
mov ebx, eax
push ebx
xor esi, esi
call fcn.0055b840
pop ecx
test eax, eax
jle 0x410cd3
push edi
mov edi, ebx
lea eax, [ebp - 0x204]
sub edi, eax
lea eax, [edi + esi]
mov al, byte [ebp + eax - 0x204]
xor al, 0xb7
mov byte [ebp + esi - 0x204], al
push ebx
inc esi
call fcn.0055b840
cmp esi, eax
pop ecx
jl 0x410cb3
pop edi
mov byte [ebp + esi - 0x204], 0
mov esi, 0x200
push esi
lea eax, [ebp - 0x604]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x604]
push eax
push esi
push dword [ebp - 0x608]
call fcn.0055b4d9
add esp, 0xc
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x410d1a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055a90d
leave
ret 8
Function at 0x4252b5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x89c
mov eax, 0x58271a
call fcn.0055cd3b
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x8a8], esi
mov edi, edx
mov dword [ebp - method.CRJK.virtual_0], vtable.CRJK.0
mov byte [ebp - 0x8a0], bl
mov dword [ebp - 4], ebx
mov eax, dword [0x609d94]
mov dl, byte [eax]
mov cl, 0x30
add dl, cl
mov byte [ebp - 0x30], dl
mov dl, byte [eax + 4]
add dl, cl
push edi
push dword [ebp + 8]
mov byte [ebp - 0x2f], dl
mov dl, byte [eax + 8]
mov al, byte [eax + 0xc]
add al, cl
push str._X:_s_
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x430]
add dl, cl
push 0x100
push eax
mov byte [ebp - 0x2e], dl
mov byte [ebp - 0x2c], 0x35
mov byte [ebp - 0x2b], cl
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x36
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x6b
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x75
mov byte [ebp - 0x24], 0x39
mov byte [ebp - 0x23], 0x37
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x61
call fcn.0045eae0
add esp, 0x14
push ebx
push ebx
push 0x200
lea eax, [ebp - 0x230]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x230]
push eax
call fcn.0055b840
lea edi, [eax + 0x10]
pop ecx
mov ecx, dword [esi + 0xa54]
and edi, 0xfffffff0
add ecx, edi
cmp ecx, 0x1c000
ja 0x4253f7
cmp eax, edi
jge 0x4253b1
mov edx, edi
sub edx, eax
push edx
lea ecx, [ebp + eax - 0x230]
push ebx
push ecx
call fcn.0055b160
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x8a4]
call fcn.004201ae
lea ecx, [ebp - 0x230]
push edi
mov eax, ecx
call fcn.00420af1
mov esi, dword [ebp - 0x8a8]
push edi
lea eax, [ebp - 0x230]
push eax
mov eax, dword [esi + 0xa44]
add eax, dword [esi + 0xa54]
push eax
call fcn.0055bea0
add esp, 0xc
add dword [esi + 0xa54], edi
call fcn.0055cdbe
ret 4
Function at 0x428cc3
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push 0x4a8
mov eax, 0x5828e5
call fcn.0055cd3b
lea eax, [ebp - 0x4b4]
push 0x1388
push eax
mov edi, ecx
call fcn.004605a0
mov ecx, eax
call fcn.0045cca0
test eax, eax
je 0x428eb4
push 1
push edi
call fcn.004253ff
mov eax, dword [edi + 0xa54]
xor ebx, ebx
mov byte [ebp - 0x30], 0x31
mov byte [ebp - 0x2f], 0x62
mov byte [ebp - 0x2e], 0x33
mov byte [ebp - 0x2d], 0x30
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x63
mov byte [ebp - 0x2a], 0x37
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x32
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x30
mov byte [ebp - 0x25], 0x30
mov byte [ebp - 0x24], 0x34
mov byte [ebp - 0x23], 0x37
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x30
mov byte [ebp - 0x20], bl
mov dword [ebp - 0x4b0], eax
mov dword [ebp - method.CRJK.virtual_0], vtable.CRJK.0
mov byte [ebp - 0x4a0], bl
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x4a4]
mov dword [ebp - 4], ebx
call fcn.004201ae
mov eax, dword [edi + 0xa44]
push dword [ebp - 0x4b0]
mov ecx, eax
call fcn.00420af1
lea esi, [edi + 0x404]
cmp word [esi], bx
jne 0x428dde
push 0x5c0340
push 0x100
push esi
call fcn.0045eae0
mov ecx, dword [0x609578]
add esp, 0xc
cmp ecx, ebx
je 0x428dde
push dword [0x609d88]
mov eax, dword [ecx]
push ebx
call dword [eax + 0xb8]
fstp dword [ebp - 0x4a8]
fld dword [ebp - 0x4a8]
call fcn.0055ce70
push eax
push str.cpuz__d.cvf
push 0x100
push esi
call fcn.0045eae0
add esp, 0x10
push ebx
push 0x80000080
push 2
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4a8], eax
cmp eax, 0xffffffff
je 0x428ea8
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [ebp - 0x4ac]
push ecx
push 0xb
lea ecx, [ebp - 0x20]
push ecx
push eax
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x55
mov byte [ebp - 0x1d], 0x5a
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x56
mov byte [ebp - 0x1a], 0x46
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 0x30
mov byte [ebp - 0x16], 0x23
call esi
push ebx
lea eax, [ebp - 0x4ac]
push eax
push dword [ebp - 0x4b0]
push dword [edi + 0xa44]
mov edi, dword [ebp - 0x4a8]
push edi
call esi
mov eax, dword [0x609d94]
mov dl, byte [eax]
mov cl, 5
add dl, cl
mov byte [ebp - 0x20], dl
mov dl, byte [eax + 4]
add dl, cl
mov byte [ebp - 0x1f], dl
mov dl, byte [eax + 8]
add dl, cl
mov byte [ebp - 0x1e], dl
mov al, byte [eax + 0xc]
add al, cl
push ebx
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x4ac]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004605a0
mov ecx, eax
call fcn.0045c5b0
call fcn.0055cdbe
ret
Function at 0x43aa20
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x188]
sub esp, 0x208
mov eax, dword [0x5f72d8]
xor eax, ebp
mov dword [ebp + 0x184], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
push 0x54
mov dword [esi], vtable.CKMDriver.0
mov byte [esi + 0x410], bl
mov byte [esi + 0x610], bl
mov byte [esi + 0x210], bl
mov byte [esi + 0xa10], bl
mov byte [esi + 0x810], bl
mov byte [esi + 4], bl
mov byte [esi + 0xb40], bl
mov dword [esi + 0x204], edi
mov dword [esi + 0xb30], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x20c], ebx
mov dword [esi + 0xb1c], ebx
mov dword [esi + 0xb20], ebx
mov dword [esi + 0xb24], ebx
mov dword [esi + 0xb28], ebx
mov dword [esi + 0xd44], ebx
mov dword [esi + 0xb10], edi
mov dword [esi + 0xb14], edi
mov dword [esi + 0xb18], edi
mov dword [esi + 0xb2c], edi
mov dword [esi + 0xd40], edi
mov dword [esi + 0xd48], edi
mov dword [esi + 0xd4c], edi
mov dword [esi + 0xd50], edi
mov dword [esi + 0xd54], edi
call fcn.0054993e
pop ecx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x43aafe
push 0x54
push ebx
push eax
call fcn.0055b160
mov eax, dword [ebp - 0x80]
add esp, 0xc
jmp 0x43ab00
xor eax, eax
mov dword [esi + 0xb3c], eax
mov byte [eax], bl
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x44], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x48], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x4c], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x50], edi
push 0x200
lea eax, [ebp - 0x7c]
push eax
mov dword [esi + 0xb34], ebx
mov dword [esi + 0xb38], ebx
mov byte [ebp - 0x7c], bl
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
mov dword [ebp - 0x80], eax
cmp eax, ebx
jbe 0x43abcd
push str._temp
lea eax, [ebp - 0x7c]
push 0x200
push eax
call fcn.0045eb50
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x43ab82
test al, 0x10
jne 0x43ab85
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x80], ebx
jbe 0x43abcd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x7c]
push eax
push str._scpuz_driver__d.log
push 0x200
lea edi, [esi + 0xb40]
push edi
call fcn.0045ea70
push 0x586e1c
push edi
lea edi, [esi + 0xb34]
push edi
call fcn.0055bc59
mov edi, dword [edi]
add esp, 0x20
cmp edi, ebx
je 0x43abcd
push edi
call fcn.0055b0dd
pop ecx
mov ecx, dword [ebp + 0x184]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a90d
add ebp, 0x188
leave
ret