joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436cb0
Capabilities:
Hash data using sha1

Disassembly:
push 0xcc
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov edx, eax
mov eax, edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, edx
ret

Function at 0x43b180
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x43b237
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [0x45fd6c]
call fcn.0042fd38
push dword [ebp - 0xc]
push 0x43b250
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov cl, byte [ebp - 1]
mov eax, dword [0x45fd70]
call fcn.0043b070
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0042c83c
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.0042c97c
push eax
call fcn.0043ae84
mov esi, eax
test esi, esi
je 0x43b21c
push 0
push 0
push 0
push 4
push esi
call sub.KERNEL32.dll_MapViewOfFile
test eax, eax
je 0x43b216
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [eax]
mov dword [edx], ecx
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
mov bl, 1
push esi
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b23e
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0042c54c
ret

Function at 0x43b488
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, eax
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x43b4a8
push 0x40
push 0x1000
push ebx
push 0
call sub.KERNEL32.dll_VirtualAlloc
pop ebx
ret
push 0
push ebx
call fcn.00435024
pop ebx
ret

Function at 0x43b778
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
pushfd
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x45fe58]
cmp eax, 0x1c
jne 0x43b7f3
cmp dword [ebp - 0xc], 0x1000
jne 0x43b7ee
cmp dword [ebp - 0x18], 0
je 0x43b7ee
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
je 0x43b7ee
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0
jne 0x43b7cd
mov eax, dword [ebp - 0x18]
cmp eax, 0x80000000
jae 0x43b7f3
push 2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x45fe2c]
cmp eax, 0
je 0x43b7ee
push edi
push esi
mov eax, dword [ebp - 0x18]
push eax
call dword [0x45feac]
add ebx, dword [ebp - 0x10]
jmp 0x43b78f
popfd
popal
add esp, 0x20
pop ebp
ret 0xc
Function at 0x43f4d4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x43f6c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, dword [0x45fcc8]
call fcn.00433ac8
mov dword [0x4616e0], eax
xor edx, edx
mov eax, dword [0x45fccc]
call fcn.00433ac8
mov dword [0x4616e4], eax
lea eax, [ebp - 4]
mov edx, 5
call fcn.0042ca68
lea eax, [ebp - 4]
call fcn.0042c9d4
mov byte [eax], 0x72
lea eax, [ebp - 4]
call fcn.0042c9d4
mov byte [eax + 1], 0x64
lea eax, [ebp - 4]
call fcn.0042c9d4
mov byte [eax + 2], 0x65
lea eax, [ebp - 4]
call fcn.0042c9d4
mov byte [eax + 3], 0x63
lea eax, [ebp - 4]
call fcn.0042c9d4
mov byte [eax + 4], 0x20
lea edx, [ebp - 0xc]
mov eax, dword [0x45fd54]
call fcn.0042fd38
push dword [ebp - 0xc]
push 0x43f6dc
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0042f8e4
push dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 4
call fcn.0042c83c
mov eax, dword [ebp - 4]
call fcn.0042c97c
push eax
push 0
push 0
call fcn.0042dc90
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x43f6a0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
mov dword [0x4616d4], esi
mov dword [0x4616d8], edi
cmp dword [0x4616e0], 0
je 0x43f5f0
cmp dword [0x4616e4], 0
jne 0x43f672
mov dl, 1
mov eax, dword [0x45fc60]
call fcn.00433bd4
mov esi, eax
cmp dword [esi], 0x4244c8b
jne 0x43f684
lea eax, [esi + 4]
mov eax, dword [eax]
and eax, 0xffffff
cmp eax, 0x241c8b
jne 0x43f684
lea eax, [esi + 7]
cmp byte [eax], 0x51
jne 0x43f684
lea eax, [esi + 8]
cmp byte [eax], 0x53
jne 0x43f684
lea eax, [esi + 9]
cmp byte [eax], 0xe8
jne 0x43f684
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea eax, [esi + 0xa]
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x43f684
lea edx, [esi + 0xe]
lea eax, [esi + 0xa]
add edx, dword [eax]
mov dword [0x4616dc], edx
mov edx, 0x43f484
sub edx, esi
sub edx, 0xe
mov dword [eax], edx
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 8]
push edx
push 4
push eax
call sub.KERNEL32.dll_VirtualProtect
mov bl, 1
jmp 0x43f684
push 0x43f430
push 0xffffffffffffffff
call dword [0x4616e0]
test eax, eax
setne bl
test bl, bl
jne 0x43f6a0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f6ca
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0042c54c
lea eax, [ebp - 4]
call fcn.0042c528
ret
Function at 0x43f6e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
cmp dword [0x4616e0], 0
je 0x43f6f8
cmp dword [0x4616e4], 0
jne 0x43f739
mov dl, 1
mov eax, dword [0x45fc60]
call fcn.00433bd4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea esi, [ebx + 0xa]
push esi
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x43f744
mov eax, dword [0x4616dc]
sub eax, ebx
sub eax, 0xe
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
push 4
push esi
call sub.KERNEL32.dll_VirtualProtect
jmp 0x43f744
push 0x43f430
call dword [0x4616e4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x443180
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4432cb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x14]
mov ecx, ebx
mov edx, 0x4432e4
call fcn.0042cd04
mov eax, dword [ebp - 0x14]
call fcn.0042cc88
push eax
call sub.KERNEL32.dll_CreateFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4432b3
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x18
mov edi, dword [ebp - 8]
mov edi, dword [edi]
sub edi, 0x18
dec edi
test edi, edi
jl 0x44320e
inc edi
xor esi, esi
mov al, byte [ebp - 0x10]
xor al, byte [ecx]
mov edx, esi
and dl, 0xff
xor al, dl
mov byte [ecx], al
inc ecx
inc esi
dec edi
jne 0x4431fb
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
sub edx, 0x18
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.00438c64
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x28]
lea edi, [eax + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
add ecx, 0x18
mov edi, dword [ebp - 8]
mov edi, dword [edi]
sub edi, 0x18
dec edi
test edi, edi
jl 0x443270
inc edi
xor esi, esi
mov eax, esi
mov ebx, 0x14
cdq
idiv ebx
mov eax, dword [ebp - 8]
mov al, byte [eax + edx + 4]
xor edx, edx
mov dl, al
shr edx, 4
xor dl, byte [ecx]
and al, 0xf
shl eax, 4
xor dl, al
mov byte [ecx], dl
inc ecx
inc esi
dec edi
jne 0x443248
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_DeviceIoControl
cmp eax, 1
sbb ebx, ebx
inc ebx
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_CloseHandle
push esi
call sub.KERNEL32.dll_SetLastError
jmp 0x4432b5
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4432d2
lea eax, [ebp - 0x14]
call fcn.0042cafc
ret

Function at 0x4432f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov edi, eax
push esp
push 0xf003f
push 0
push ebp
push edi
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
jne 0x44334d
xor esi, esi
push 0x208
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
jmp 0x443329
mov edx, ebx
mov eax, dword [esp]
call fcn.004432f0
inc esi
push 0x104
push ebx
push esi
mov eax, dword [esp + 0xc]
push eax
call sub.ADVAPI32.dll_RegEnumKeyW
test eax, eax
je 0x44331e
push ebx
call sub.KERNEL32.dll_LocalFree
mov eax, dword [esp]
push eax
call sub.ADVAPI32.dll_RegCloseKey
push ebp
push edi
call sub.ADVAPI32.dll_RegDeleteKeyW
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x444434
Capabilities:
Check os version
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd70
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x290], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4445bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x444587
mov edi, 1
mov bl, 1
lea edx, [ebp - 0x28c]
mov eax, dword [0x45fda0]
call fcn.0042fd38
mov eax, dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x290]
mov edx, edi
add dl, 0x30
call fcn.0042c710
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x14]
pop edx
call fcn.0042c7c8
mov eax, dword [ebp - 0x14]
call fcn.0042c97c
push eax
push 0
push 4
call sub.KERNEL32.dll_OpenFileMappingA
mov esi, eax
test esi, esi
je 0x444578
push 0
push 0
push 0
push 4
push esi
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x444572
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x444505
cmp eax, dword [esp]
pop edx
pop eax
jne 0x444569
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x444569
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
imul eax, dword [ebp - 8], 0x4e
mov edx, dword [ebp - 0x10]
push esi
push edi
lea esi, [edx + eax*8 + 0xc]
lea edi, [ebp - 0x288]
mov ecx, 0x9c
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp - 0x288], 0
jne 0x44454a
mov bl, 1
jmp 0x444569
lea eax, [ebp - 0x288]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
cmp eax, dword [ebp - 4]
jne 0x444561
mov byte [ebp - 9], 1
jmp 0x444569
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x444521
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
push esi
call sub.KERNEL32.dll_CloseHandle
or bl, byte [ebp - 9]
jne 0x444587
inc edi
cmp edi, 0xa
jne 0x44447b
cmp byte [ebp - 9], 0
jne 0x444597
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004442e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4445c4
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.0042c54c
lea eax, [ebp - 0x14]
call fcn.0042c528
ret
Function at 0x445124
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
push ebp
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00444e68
pop ecx
test al, al
jne 0x44524c
push 0x104
lea eax, [ebp - 0x111]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
mov cl, 1
call fcn.00444e68
pop ecx
test al, al
jne 0x44524c
push 0x104
lea eax, [ebp - 0x111]
push eax
mov eax, dword [0x461658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x104
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [0x461658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
mov cl, 1
call fcn.00444e68
pop ecx
test al, al
jne 0x44524c
lea eax, [ebp - 0x111]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x31c]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
xor ecx, ecx
call fcn.00444e68
pop ecx
test al, al
jne 0x44524c
push 0x104
lea eax, [ebp - 0x111]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryA
push 0x104
lea eax, [ebp - 0x31c]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
xor ecx, ecx
call fcn.00444e68
pop ecx
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x445ab8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
cmp byte [ebp + 8], 0
je 0x445ae3
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
push ebx
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x445af7
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x445afb
xor eax, eax
jmp 0x445afd
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x445cb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax], 0
je 0x445d4f
push 2
lea ecx, [ebp - 2]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00445a8c
test al, al
je 0x445d4f
cmp word [ebp - 2], 0x5a4d
jne 0x445d4f
push 4
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00445a8c
test al, al
je 0x445d4f
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00445a8c
test al, al
je 0x445d4f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp dword [eax], 0x4550
jne 0x445d4f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
test byte [eax + 0x17], 0x20
je 0x445d53
xor eax, eax
jmp 0x445d55
mov al, 1
test al, al
je 0x445d72
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
movzx ecx, word [ebp - 2]
add edx, ecx
add edx, 0x78
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ecx], edx
pop ecx
pop ecx
pop ebp
ret
Function at 0x44626c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, eax
xor edi, edi
push esi
push 0x2bb
call fcn.00435024
mov ebx, eax
test ebx, ebx
je 0x446475
cmp dword [0x45ffe4], 0
jne 0x4462ae
mov dl, 1
mov eax, dword [0x45fc04]
call fcn.00433bd4
mov dword [0x45ffe4], eax
cmp dword [0x45ffe8], 0
jne 0x4462c8
mov dl, 1
mov eax, dword [0x45fc38]
call fcn.00433bd4
mov dword [0x45ffe8], eax
mov byte [ebp - 0x24a], 0xb8
mov dword [ebp - 0x249], ebx
mov byte [ebp - 0x245], 0xb9
lea eax, [ebx + 0x235]
mov dword [ebp - 0x244], eax
mov word [ebp - 0x240], 0xd1ff
xor eax, eax
mov dword [ebp - 0x23e], eax
xor eax, eax
mov dword [ebp - 0x23a], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00446230
mov dword [ebp - 0x236], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x14]
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov word [ebp - 0x22d], ax
mov ax, word [ebp - 0x22d]
add ax, 2
mov word [ebp - 0x22b], ax
lea eax, [ebx + 0x25]
mov dword [ebp - 0x229], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x14]
push eax
lea eax, [ebp - 0x225]
push eax
call sub.KERNEL32.dll_lstrcpyW
mov eax, dword [0x45ffe8]
mov dword [ebp - 0x1d], eax
mov eax, dword [0x45ffe4]
mov dword [ebp - 0x19], eax
cmp dword [ebp - 0x236], 0
je 0x446475
lea eax, [ebp - 0x10]
push eax
push 0x236
lea eax, [ebp - 0x24a]
push eax
push ebx
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x446475
cmp dword [ebp - 0x10], 0x236
jne 0x446475
lea eax, [ebp - 0x10]
push eax
push 0x85
push 0x4602a0
lea eax, [ebx + 0x235]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x446475
cmp dword [ebp - 0x10], 0x85
jne 0x446475
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x446475
cmp dword [ebp - 0x10], 5
jne 0x446475
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
lea eax, [ebx + 0x18]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x446475
cmp dword [ebp - 0x10], 5
jne 0x446475
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x446475
mov byte [ebp - 9], 0xe9
sub ebx, dword [ebp - 0x236]
sub ebx, 5
mov dword [ebp - 8], ebx
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_VirtualProtectEx
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4465e8
Capabilities:
Get number of processors

Disassembly:
mov eax, dword gs:[0x60]
mov edx, dword gs:[0x64]
ret
Function at 0x447df0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 1
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00446d0c
mov ebx, eax
test bl, bl
je 0x447e46
test esi, 4
jne 0x447e51
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_ResumeThread
jmp 0x447e51
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_TerminateProcess
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44a46c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor eax, eax
mov dword [ebp - 0x150], eax
xor eax, eax
push ebp
push 0x44a511
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x150]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
call fcn.0042c720
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
xor ecx, ecx
call fcn.004488dc
mov ebx, eax
test bl, bl
je 0x44a4f8
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x64
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
push 0
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_TerminateThread
mov eax, dword [ebp - 0x144]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a518
lea eax, [ebp - 0x150]
call fcn.0042c528
ret
Function at 0x44a7b0
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44a99a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x460430], 0
jne 0x44a97f
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x44a978
xor eax, eax
push ebp
push 0x44a971
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
cmp dword [ebp - 8], 0
je 0x44a95a
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x44a954
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x45fd3c]
call fcn.0042fd38
mov eax, dword [ebp - 0x24]
call fcn.0042c97c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x44a888
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x45fd40]
call fcn.0042fd38
mov eax, dword [ebp - 0x28]
call fcn.0042c97c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x44a8bb
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x45fd44]
call fcn.0042fd38
mov eax, dword [ebp - 0x2c]
call fcn.0042c97c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x44a8ee
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x44a940
inc esi
xor ecx, ecx
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 8]
cmp edx, dword [ebp - 0xc]
jne 0x44a90b
cmp eax, dword [ebp - 0x10]
je 0x44a93c
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x14]
jne 0x44a920
cmp eax, dword [ebp - 0x18]
je 0x44a93c
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x1c]
jne 0x44a935
cmp eax, dword [ebp - 0x20]
je 0x44a93c
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x44a8f8
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push ebx
call sub.KERNEL32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a978
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x460430], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a9a1
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0042c54c
ret