joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f81ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CResizer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0x32
mov dword [esi + 0x30], 0x43
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x34], 1
test edi, edi
je 0x48da28
push esi
push 0x50cc30
push edi
mov dword [esi + 0xc], edi
call dword [sym.imp.USER32.dll_SetPropW]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x458ac0
push 0xfffffffffffffffc
push edi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
test eax, eax
je 0x48d9c4
push eax
call dword [0x5408e8]
mov dword [esi + 4], 0
mov eax, dword [0x5408dc]
test eax, eax
je 0x48d9fd
call eax
test eax, eax
je 0x48d9fd
mov eax, dword [esi]
mov edi, dword [0x5408e0]
mov eax, dword [eax]
cmp eax, method.CResizer.virtual_0
jne 0x48d9f2
mov eax, 0x50cc20
jmp 0x48d9f6
mov ecx, esi
call eax
push eax
push ebx
call edi
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret 4
Function at 0x48f140
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x53b5e4
push 0x513438
call fcn.0045b7b0
add esp, 8
test eax, eax
jne 0x48f289
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x513450
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x513470
push eax
call fcn.0042fa90
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045b4a0
add esp, 0x18
test al, al
jne 0x48f249
push 0x513450
lea eax, [ebp - 0x414]
push 0x51348c
push eax
call fcn.0042fa90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045b4a0
add esp, 8
test al, al
jne 0x48f249
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x513450
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x501628
push eax
call fcn.0042fa90
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045b4a0
add esp, 0x18
test al, al
je 0x48f273
push 0x53b5e4
lea eax, [ebp - 0x20c]
push eax
push 0x513438
call fcn.0045b520
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x48f283
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x490f00
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f845d
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2dc], 0
test esi, esi
je 0x49100c
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x491004
push esi
lea ecx, [ebp - 0x28]
call fcn.0043c160
mov eax, 0x5567f8
mov dword [ebp - 4], 0
cmp edi, 1
mov ebx, 0x5567f0
cmovne ebx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2e0]
mov ecx, ebx
push eax
call fcn.004a7590
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x490fdf
or edi, 0x100
lea eax, [ebp - 0x2dc]
push edi
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [ebx + 4], 0x3e8
jae 0x490ffc
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0048d1b0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x28], eax
lea ecx, [ebp - 0x28]
call fcn.00404bc0
mov eax, dword [ebp - 0x2dc]
jmp 0x49100e
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0048d1b0
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x2dc], eax
lea ecx, [ebp - 0x28]
call fcn.00404bc0
mov eax, dword [ebp - 0x2dc]
jmp 0x49100e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret

Function at 0x491bb0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 4]
cmovne esi, eax
mov dword [ebp - 4], 0x3e8
cmp dword [edi], 0
jne 0x491be5
mov dword [esi], 0x3e8
push dword [ebp - 4]
call fcn.004c8c9a
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp + 0xc]
push eax
push dword [esi]
push dword [edi]
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x491c37
push dword [edi]
call fcn.004c8c7f
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
add eax, 0x2710
cmp eax, ecx
cmova ecx, eax
push ecx
mov dword [esi], ecx
call fcn.004c8c9a
add esp, 8
mov dword [edi], eax
lea ecx, [ebp + 0xc]
push ecx
push dword [esi]
push eax
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x491c02
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x491c50
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x567850
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
lea eax, [ebp - 4]
push 0
push eax
push 0x56786c
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push dword [0x55b208]
push dword [0x567868]
push 1
push 0x30
push 0
push dword [0x556ab8]
call edi
test eax, eax
jne 0x491d0b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xea
jne 0x491d0a
mov eax, dword [0x567868]
mov dword [ebp - 4], 0
test eax, eax
je 0x491cc5
push eax
call fcn.004c8c7f
add esp, 4
mov eax, dword [0x55b208]
add eax, 0x4000
push eax
mov dword [0x55b208], eax
call fcn.004c8c9a
add esp, 4
mov dword [0x567868], eax
lea ecx, [ebp - 4]
push 0
push ecx
push 0x56786c
lea ecx, [ebp - 8]
push ecx
push dword [0x55b208]
push eax
push 1
push 0x30
push 0
push dword [0x556ab8]
call edi
test eax, eax
je 0x491ca3
pop esi
push 0x567850
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x493300
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x4904a0
push 0
push 0
call fcn.004d6048
add esp, 0x18
mov esi, eax
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x493363
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x20
pop esi
mov esp, ebp
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493da0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ebp - 0x43c], ecx
mov ecx, dword [ebp + 0x18]
push 8
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x440], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x438], ebx
cmp ebx, 0xffffffff
jne 0x493dfe
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x493f89
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push 4
push 0x4fc4f4
push eax
call fcn.004c928a
add esp, 0xc
test eax, eax
jne 0x493e47
lea eax, [ebp - 0x204]
jmp 0x493ebd
push 0xc
lea eax, [ebp - 0x20c]
push 0x51336c
push eax
call fcn.004c94d0
add esp, 0xc
test eax, eax
jne 0x493eb7
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x493e70
push 0
push 0
sub esi, ecx
push 0x513388
sar esi, 1
call ebx
inc eax
add esi, eax
lea eax, [esi + esi]
push eax
call fcn.004c8c9a
add esp, 4
mov edi, eax
push esi
push edi
push 0x513388
call ebx
lea eax, [ebp - 0x1f6]
push eax
push esi
push edi
call fcn.004d6277
add esp, 0xc
jmp 0x493ec8
lea eax, [ebp - 0x20c]
push eax
call fcn.004c8c20
mov edi, eax
add esp, 4
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
test ebx, ebx
je 0x493f0b
lea ecx, [ebx*2 + 2]
push ecx
call fcn.004c8c9a
add esp, 4
mov esi, eax
lea eax, [ebx + 1]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push edi
call fcn.004c8c7f
push 2
push 0
mov edi, esi
call fcn.004c3279
add esp, 0xc
mov eax, dword [ebp - 0x430]
cmp dword [ebp - 0x424], eax
jne 0x493f2c
push edi
push dword [ebp - 0x434]
call fcn.004c9380
add esp, 8
test eax, eax
je 0x493f4f
push 2
push edi
call fcn.004c3279
mov ebx, dword [ebp - 0x438]
lea eax, [ebp - 0x42c]
add esp, 8
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
jmp 0x493e17
mov ecx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
push 2
push edi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x414]
mov dword [ecx], eax
call fcn.004c3279
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x4a81f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lock inc dword [eax + 0x20]
push eax
push 0
push 0x499e30
call fcn.004d5fba
add esp, 0xc
pop ebp
ret
Function at 0x4a9170
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x64]
push esi
mov esi, dword [ebp + 0x14]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 0x10]
push eax
movsd qword [ebp - 0x74], xmm0
movsd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x64], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [ebp + 0xc]
or eax, edx
je 0x4a9207
call fcn.004c3cd0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
movsd qword [ebp - 0x6c], xmm0
call fcn.004c3cd0
movsd xmm1, qword [ebp - 0x6c]
divsd xmm1, xmm0
mulsd xmm1, qword [0x50d110]
movsd qword [ebp - 0x6c], xmm1
jmp 0x4a933d
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.004c3cd0
mulsd xmm0, qword [0x50d0f0]
mov eax, dword [0x556ad0]
movsd qword [eax + 0x30], xmm0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
call fcn.004c3cd0
mulsd xmm0, qword [0x50d0f0]
mov eax, dword [0x556ae4]
movsd qword [eax + 0x30], xmm0
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
sbb edx, dword [ebp - 0x30]
call fcn.004c3c70
mulsd xmm0, qword [0x50d0f0]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x20]
movsd qword [ebp - 0x8c], xmm0
call fcn.004c3cd0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
movsd qword [ebp - 0x74], xmm0
mulsd xmm0, qword [0x50d110]
movsd qword [ebp - 0x6c], xmm0
call fcn.004c3cd0
movsd xmm1, qword [ebp - 0x6c]
divsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x74]
mulsd xmm0, qword [0x50d0f0]
movsd qword [ebp - 0x6c], xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x74], xmm0
jbe 0x4a92e5
mov eax, dword [ebp - 0x54]
shr eax, 0xa
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x504470]
movsd qword [ebp - 0x74], xmm0
movsd xmm0, qword [0x50d110]
movsd qword [ebp - 0x6c], xmm0
movsd xmm0, qword [ebp - 0x8c]
push 0
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [0x556ae4]
call fcn.004596e0
add esp, 0x20
xorps xmm0, xmm0
push 0
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x74]
movsd qword [esp], xmm0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [0x556ad0]
call fcn.004596e0
add esp, 0x20
test edi, edi
je 0x4a934a
movsd xmm0, qword [ebp - 0x74]
movsd qword [edi], xmm0
test esi, esi
je 0x4a935a
movsd xmm0, qword [ebp - 0x8c]
movsd qword [esi], xmm0
fld qword [ebp - 0x6c]
test ebx, ebx
je 0x4a936f
mov eax, dword [0x556ae4]
movsd xmm0, qword [eax + 0x30]
movsd qword [ebx], xmm0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x4a99f0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
jne 0x4a9b4b
mov eax, dword [0x55b204]
test eax, eax
je 0x4a9a11
push eax
call fcn.004c8c7f
add esp, 4
mov eax, dword [0x538dd8]
mov dword [0x55b204], 0
cmp dword [0x538de4], eax
jne 0x4a9a34
mov eax, dword [0x55b200]
mov dword [0x55b204], eax
jmp 0x4a9a51
mov ecx, dword [0x55b200]
test ecx, ecx
je 0x4a9a4c
push ecx
call fcn.004c8c7f
mov eax, dword [0x538dd8]
add esp, 4
mov dword [0x538de4], eax
push dword [0x53b5e8]
call fcn.004c8c9a
add esp, 4
mov dword [0x55b200], eax
cmp byte [0x556aae], 0
lea ecx, [ebp + 8]
mov edi, 0x40
push ecx
push dword [0x53b5e8]
push eax
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x4a9c19
cmp eax, 0xc0000022
je 0x4a9b30
cmp eax, 0xc000009a
je 0x4a9af0
push dword [0x55b200]
call fcn.004c8c7f
mov eax, dword [0x53b5e8]
add eax, eax
push eax
mov dword [0x53b5e8], eax
call fcn.004c8c9a
add esp, 8
mov dword [0x55b200], eax
cmp byte [0x556aae], 0
lea ecx, [ebp + 8]
push ecx
push dword [0x53b5e8]
push eax
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x4a9a91
pop edi
pop esi
pop ebp
ret
push 0x10
push 0x4fc6f4
push 0x5135c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [0x53b5e8]
push esi
push 0
push dword [0x55b200]
call fcn.004c52c0
add esp, 0xc
push esi
push 0
push dword [0x55b200]
call fcn.004c52c0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
mov esi, dword [0x53b5e8]
push esi
push 0
push dword [0x55b200]
call fcn.004c52c0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
mov eax, dword [0x55b1fc]
test eax, eax
je 0x4a9b5d
push eax
call fcn.004c8c7f
add esp, 4
push dword [0x53b5e8]
call fcn.004c8c9a
add esp, 4
mov dword [0x55b1fc], eax
cmp byte [0x556aae], 0
lea ecx, [ebp + 8]
mov edi, 0x40
push ecx
push dword [0x53b5e8]
push eax
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x4a9c19
nop dword [eax]
cmp eax, 0xc0000022
je 0x4a9c03
push dword [0x55b1fc]
call fcn.004c8c7f
mov eax, dword [0x53b5e8]
add eax, eax
push eax
mov dword [0x53b5e8], eax
call fcn.004c8c9a
mov esi, dword [0x53b5e8]
push esi
push 0
push eax
mov dword [0x55b1fc], eax
call fcn.004c52c0
add esp, 0x14
lea eax, [ebp + 8]
cmp byte [0x556aae], 0
push eax
push esi
push dword [0x55b1fc]
mov eax, 0x10
cmovne eax, edi
push eax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x4a9ba0
pop edi
pop esi
pop ebp
ret
push dword [0x53b5e8]
push 0
push dword [0x55b1fc]
call fcn.004c52c0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x4aa250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x55528f], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
je 0x4aa2c4
push eax
lea eax, [ebp - 0x804]
push 0x513238
push eax
call fcn.0044c5f0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x31
push 0x4fc6f4
push eax
push dword [0x555ec8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x4aa2c4
push dword [0x555ecc]
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4aa2f9
push dword [0x555ec8]
push 0x512488
call fcn.004aad00
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4aa331
push dword [0x555ec8]
push 0x51327c
call fcn.004aad00
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x4aa360
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa08
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x55528f], 0
mov eax, dword [ebp + 8]
je 0x4aa3cd
push eax
lea eax, [ebp - 0xa04]
push 0x5132b0
push eax
call fcn.0044c5f0
add esp, 0xc
lea eax, [ebp - 0xa04]
push 0x31
push 0x4fc6f4
push eax
push dword [0x555ec8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x4aa3cd
push dword [0x555ecc]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [0x550f44]
test esi, esi
je 0x4aa507
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, esi
cmp dword [eax + 0x24], ebx
je 0x4aa3f7
mov eax, dword [eax + 0xf8]
test eax, eax
jne 0x4aa3e3
jmp 0x4aa4f7
push dword [esi + 0x24]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4aa4b7
push dword [esi + 0xe4]
lea eax, [ebp - 0xa04]
push 0x51331c
push eax
call fcn.0044c5f0
mov edi, dword [0x555ec8]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4aa485
push 0
push 0
lea ecx, [ebp - 0xa08]
push ecx
push 0x400
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0xa08]
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x204]
push 0x5130b4
push eax
call fcn.00466ab0
add esp, 0x10
push dword [ebp - 0xa08]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4aa4a0
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x204]
push 0x5130c4
push eax
call fcn.00466ab0
add esp, 0xc
push 0x10
push 0x4fc6f4
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4aa4f7
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4aa4f0
push dword [esi + 0xe4]
lea eax, [ebp - 0xa04]
push 0x513340
push eax
call fcn.0044c5f0
push dword [0x555ec8]
lea eax, [ebp - 0xa04]
push eax
call fcn.004aad00
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x5c0]
test esi, esi
jne 0x4aa3e1
pop edi
pop ebx
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x4aaa30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2b0], 0
xor esi, esi
mov ebx, 0x564610
mov edi, 0x41
nop dword [eax]
push edi
lea eax, [ebp - 0x18]
push 0x5134a4
push eax
call fcn.0048d440
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4aaa94
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x4aac85
push edi
lea eax, [ebp - 0x2a8]
push 0x5134b0
push eax
call fcn.0048d560
mov eax, dword [0x5509cc]
add esp, 0xc
mov dword [ebp - 0x2c8], 0x18
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2bc], 0x40
test eax, eax
jne 0x4aaaec
push 0x50d1fc
push 0x4fbf14
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5509cc], eax
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x2d8]
push ecx
call eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c8]
push eax
push 0x20001
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2b4], 0
push eax
call sub.ntdll.dll_NtOpenSymbolicLinkObject
test eax, eax
jne 0x4aac85
mov eax, 0x104
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2ac]
call sub.ntdll.dll_NtQuerySymbolicLinkObject
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x2cc], eax
mov eax, dword [0x5509cc]
mov dword [ebp - 0x2c8], 0x18
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2bc], 0x40
test eax, eax
jne 0x4aabc8
push 0x50d1fc
push 0x4fbf14
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5509cc], eax
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2e0]
push ecx
call eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c8]
push eax
push 0x20001
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2b4], 0
push eax
call sub.ntdll.dll_NtOpenSymbolicLinkObject
test eax, eax
jne 0x4aac50
mov eax, 0x104
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2ac]
call sub.ntdll.dll_NtQuerySymbolicLinkObject
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x224]
lea eax, [ebx - 0x200]
push 0x100
push eax
call fcn.004c905a
lea eax, [esi + 0x41]
add esp, 0xc
mov word [ebx], ax
mov eax, dword [ebp - 0x2b0]
inc eax
add ebx, 0x202
mov dword [ebp - 0x2b0], eax
jmp 0x4aac8b
mov eax, dword [ebp - 0x2b0]
inc esi
inc edi
cmp si, 0x1a
jb 0x4aaa60
imul eax, eax, 0x202
xor ecx, ecx
pop edi
pop esi
pop ebx
mov word [eax + 0x564410], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret