joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4639c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x489b86
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
push ebp
push esi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b8]
mov esi, dword [esp + 0x2bc]
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [esp + 0x44], cx
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
call fcn.00405c00
push 4
push 0x495634
lea ecx, [esp + 0x40]
mov dword [esp + 0x2b8], ebx
call fcn.0044a310
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x463a58
lea eax, [esp + 0x3c]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x463b49
cmp word [esp + 0x80], 0x2e
je 0x463b35
push 0xffffffffffffffff
push ebx
xor eax, eax
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.00405c00
push 1
push 0x4945c4
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 1
call fcn.0044a310
lea eax, [esp + 0x80]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x463ac0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x24]
call fcn.0044a310
test byte [esp + 0x54], 0x10
je 0x463afd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004639c0
jmp 0x463b1a
lea ecx, [esp + 0x1c]
call fcn.00463ba0
test eax, eax
je 0x463b1a
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004500d0
xor ebx, ebx
mov byte [esp + 0x2b0], bl
cmp dword [esp + 0x34], 8
jb 0x463b35
mov edx, dword [esp + 0x20]
push edx
call fcn.0046f011
add esp, 4
lea eax, [esp + 0x54]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x463a6f
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x50], 8
jb 0x463b64
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0046f011
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.0046f01c
add esp, 0x2a4
ret 8
Function at 0x463ba0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x488ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x74], ebx
call fcn.0044ab20
add esp, 4
cmp eax, 2
je 0x463c2a
cmp eax, 3
jne 0x463c15
cmp dword [esi + 0x18], 8
jb 0x463c0b
mov esi, dword [esi + 4]
jmp 0x463c0e
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x28], 0x10
jb 0x463d30
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x463d28
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x463d07
cmp eax, 0xa00000
ja 0x463d07
push 0xe
lea edx, [esp + 0x14]
push edx
call fcn.0045ada0
mov ebx, 0x10
cmp eax, 0xffffffff
je 0x463cfa
push eax
xor ecx, ecx
lea esi, [esp + 0x4c]
lea edx, [esp + 0x14]
call fcn.0045ad70
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x74], 1
call fcn.00456480
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x463c8a
lea eax, [esp + 0x30]
cmp byte [eax], 0x68
jne 0x463ce8
mov edi, 1
lea eax, [esp + 0x2c]
call fcn.00452ff0
cmp byte [eax], 0x74
jne 0x463ce8
mov edi, 2
lea eax, [esp + 0x2c]
call fcn.00452ff0
cmp byte [eax], 0x74
jne 0x463ce8
mov edi, 3
lea eax, [esp + 0x2c]
call fcn.00452ff0
cmp byte [eax], 0x70
jne 0x463ce8
lea ecx, [esp + 0x2c]
call fcn.00405220
lea ecx, [esp + 0x48]
call fcn.00405220
lea ecx, [esp + 0x10]
call fcn.00405220
lea eax, [edi - 2]
jmp 0x463d32
lea ecx, [esp + 0x2c]
call fcn.00405220
lea ecx, [esp + 0x48]
call fcn.00405220
cmp dword [esp + 0x28], ebx
jb 0x463d30
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x463d28
cmp dword [esi + 0x18], 8
jb 0x463d12
mov esi, dword [esi + 4]
jmp 0x463d15
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x28], 0x10
jb 0x463d30
mov edx, dword [esp + 0x14]
push edx
call fcn.0046f011
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0046f01c
add esp, 0x64
ret
Function at 0x464630
Capabilities:
Read pipe
Write pipe

Disassembly:
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x24]
push 8
lea ecx, [esp + 0x1c]
push ecx
push 8
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x464677
add esp, 0x18
ret 4
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x10000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, 1
add esp, 0x18
ret 4

Function at 0x465270
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 0x14]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.00474b70
add esp, 0xc
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0x67452301
mov dword [esi + 0x60], 0xefcdab89
mov dword [esi + 0x64], 0x98badcfe
mov dword [esi + 0x68], 0x10325476
mov eax, esi
ret
Function at 0x465850
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [edi + 0x18], 8
push ebp
lea ebp, [edi + 4]
jb 0x465865
mov eax, dword [ebp]
jmp 0x465867
mov eax, ebp
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x46591a
mov eax, dword [edi + 0x14]
xor ecx, ecx
add eax, 4
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.0046a020
add esp, 4
cmp dword [edi + 0x18], 8
mov esi, eax
jb 0x4658a1
mov ebp, dword [ebp]
mov eax, dword [edi + 0x14]
push ebp
add eax, 3
push eax
push esi
call fcn.0046f46b
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dword [esi + ecx*2], eax
mov dword [esi + ecx*2 + 4], eax
lea ecx, [esi + ecx*2]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x2c], eax
add esp, 0xc
lea eax, [esp + 0xc]
mov edx, 0x414
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x2a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
push esi
sete bl
call fcn.0046f324
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x20
ret

Function at 0x465aa0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x488ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push 0x1a
mov esi, ecx
xor eax, eax
push str.GlobalMutex_BIDUI18NGUID_
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00405fe0
mov ebp, 8
mov dword [esp + 0x34], 0
cmp dword [esi + 0x18], ebp
jb 0x465b10
mov esi, dword [esi + 4]
jmp 0x465b13
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x465b20
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0044a310
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebp
jae 0x465b48
lea eax, [esp + 0x10]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x465b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x465b80
cmp dword [esp + 0x24], ebp
jb 0x465b79
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046f011
add esp, 4
mov eax, 1
jmp 0x465b95
cmp dword [esp + 0x24], ebp
jb 0x465b93
mov edx, dword [esp + 0x10]
push edx
call fcn.0046f011
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046f01c
add esp, 0x2c
ret
Function at 0x4662d0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x489add
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x258], edi
mov ebx, ecx
mov dword [esp + 0x20], edi
push ebx
mov dword [esp + 0x44], ebx
mov esi, edx
mov dword [esp + 0x1c], edi
call fcn.00449510
mov dword [esp + 0x258], edi
cmp dword [esi + 0x18], 8
mov dword [esp + 0x20], 1
jb 0x466344
mov esi, dword [esi + 4]
jmp 0x466347
add esi, 4
lea eax, [esp + 0x18]
push eax
push 8
push edi
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466468
push 0x206
lea edx, [esp + 0x4a]
xor ecx, ecx
push edi
push edx
xor esi, esi
mov word [esp + 0x50], cx
call fcn.00474b70
mov edx, dword [esp + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x104
call ebp
test eax, eax
jne 0x46645d
jmp 0x4663b2
xor edi, edi
inc esi
xor eax, eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4663d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405fe0
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x25c], 1
call fcn.004500d0
mov byte [esp + 0x258], 0
cmp dword [esp + 0x3c], 8
jb 0x46641f
mov eax, dword [esp + 0x28]
push eax
call fcn.0046f011
add esp, 4
push 0x208
lea ecx, [esp + 0x48]
push 0
push ecx
mov dword [esp + 0x28], 0x104
call fcn.00474b70
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x58]
push eax
push esi
push ecx
call ebp
test eax, eax
je 0x4663b0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0046f01c
add esp, 0x248
ret
Function at 0x4664a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa1c
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0xa18], eax
mov eax, dword [esp + 0xa24]
push esi
xor esi, esi
cmp dword [esp + 0xa3c], 8
push edi
mov dword [esp + 8], esi
jae 0x4664d4
lea eax, [esp + 0xa2c]
lea ecx, [esp + 8]
push ecx
push 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466634
push 0x206
lea eax, [esp + 0x1e]
xor edx, edx
push esi
push eax
mov word [esp + 0x24], dx
call fcn.00474b70
push 0x7fe
lea edx, [esp + 0x232]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x2c], esi
mov word [esp + 0x238], cx
call fcn.00474b70
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
push edx
mov dword [esp + 0x30], 0x400
call edi
test eax, eax
jne 0x466629
mov edi, edi
inc esi
cmp dword [esp + 0x14], 1
jne 0x4665c3
cmp dword [esp + 0xc], 0
jbe 0x4665c3
cmp dword [esp + 0x10], 3
jbe 0x4665c3
lea eax, [esp + 0x18]
push eax
push str.PnpInstanceID
call fcn.0046f9ec
add esp, 8
test eax, eax
jne 0x4665c3
lea edx, [esp + 0x220]
push edx
xor ecx, ecx
push 0x495904
mov word [esp + 0x22e], cx
call fcn.0046f9ec
add esp, 8
test eax, eax
je 0x466669
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00474b70
push 0x800
lea ecx, [esp + 0x230]
push 0
push ecx
call fcn.00474b70
add esp, 0x18
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push ecx
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], 0x400
call edi
test eax, eax
je 0x466570
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xa40], 8
jb 0x46664e
mov edx, dword [esp + 0xa2c]
push edx
call fcn.0046f011
add esp, 4
xor al, al
mov ecx, dword [esp + 0xa20]
pop edi
pop esi
xor ecx, esp
call fcn.0046f01c
add esp, 0xa1c
ret 0x1c
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xa40], 8
jb 0x46668e
mov eax, dword [esp + 0xa2c]
push eax
call fcn.0046f011
add esp, 4
mov al, 1
jmp 0x466650
Function at 0x468b00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4883a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea esi, [ebx + ebx + 2]
cmp esi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ebx
jge 0x468bb4
jmp 0x468b50
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 8
mov edi, dword [ebp + eax*4 - 8]
lea ecx, [ebp + eax*4]
jb 0x468b6d
mov eax, dword [ecx - 0x18]
jmp 0x468b70
lea eax, [ecx - 0x18]
push eax
mov eax, dword [ecx + 0x14]
call fcn.00443140
test eax, eax
jge 0x468b7e
dec esi
push 0xffffffffffffffff
lea ecx, [esi*8]
sub ecx, esi
lea edx, [ebp + ecx*4]
lea eax, [ebx*8]
push 0
sub eax, ebx
push edx
lea ecx, [ebp + eax*4]
call fcn.00405c00
mov ebx, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x30]
jl 0x468b50
mov edi, dword [esp + 0x30]
cmp esi, edi
jne 0x468bdd
push 0xffffffffffffffff
lea ecx, [edi*8]
sub ecx, edi
lea edx, [ebp + ecx*4 - 0x1c]
lea eax, [ebx*8]
push 0
sub eax, ebx
push edx
lea ecx, [ebp + eax*4]
call fcn.00405c00
lea ebx, [edi - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x58]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.00405c00
mov ecx, dword [esp + 0x30]
push ecx
push ebp
mov ecx, ebx
call fcn.00468ce0
add esp, 0x24
cmp dword [esp + 0x4c], 8
jb 0x468c2b
mov edx, dword [esp + 0x38]
push edx
call fcn.0046f011
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x469320
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x488a2b
mov eax, dword fs:[0]
push eax
sub esp, 0xb38
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0xb34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0xb4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb5c]
mov dword [esp + 0x1c], eax
xor al, al
xor ebx, ebx
mov byte [esp + 0x17], al
xor ebp, ebp
cmp al, bl
jne 0x469503
push 0x200
lea ecx, [esp + 0x14c]
push ebx
push ecx
call fcn.00474b70
push ebp
lea edx, [esp + 0x158]
push str..PhysicalDrive_d
push edx
mov edx, 0xff
call fcn.00469860
add esp, 0x18
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4694f5
xor eax, eax
push 0x800
lea ecx, [esp + 0x34c]
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00474b70
add esp, 0xc
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x800
lea eax, [esp + 0x354]
push eax
push 0xc
lea ecx, [esp + 0x50]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4694e8
push 0xff
lea edx, [esp + 0x4d]
push ebx
push edx
call fcn.00474b70
mov eax, dword [esp + 0x36c]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x48], bl
jle 0x469457
lea edi, [esp + 0x48]
lea ecx, [esp + 0x348]
call fcn.00469530
movsx eax, byte [esp + 0x48]
push eax
call fcn.004718c3
add esp, 4
test eax, eax
jne 0x46947b
movsx ecx, byte [esp + 0x5b]
push ecx
call fcn.004718c3
add esp, 4
test eax, eax
je 0x4694ee
lea eax, [esp + 0x48]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x469492
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x28]
call fcn.00404be0
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0xb60], ebx
call fcn.00405090
mov dword [esp + 0xb54], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x4694e1
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0046f011
add esp, 4
mov byte [esp + 0x17], 1
jmp 0x4694ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
inc ebp
cmp ebp, 0x10
jl 0x469370
mov ecx, dword [esp + 0xb4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb34]
xor ecx, esp
call fcn.0046f01c
add esp, 0xb44
ret 4
Function at 0x469680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4889eb
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov eax, dword [esp + 0x484]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [esp + 0x1c], eax
xor al, al
xor ebp, ebp
xor ebx, ebx
mov byte [esp + 0x17], al
mov dword [esp + 0x18], ebx
lea ebx, [ebx]
test al, al
jne 0x469836
push 0x200
lea ecx, [esp + 0x274]
push ebp
push ecx
call fcn.00474b70
push ebx
lea edx, [esp + 0x280]
push str..Scsi_d:
push edx
mov edx, 0xff
call fcn.00469860
add esp, 0x18
push ebp
push ebp
push 3
push ebp
push 3
push 0xc0000000
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469824
xor ebx, ebx
lea ecx, [ecx]
push 0x22d
lea ecx, [esp + 0x44]
push ebp
push ecx
call fcn.00474b70
mov edx, dword [str.SCSIDISK]
mov eax, dword [0x495ab8]
add esp, 0xc
push ebp
lea ecx, [esp + 0x24]
push ecx
push 0x22d
mov dword [esp + 0x50], edx
lea edx, [esp + 0x4c]
push edx
push 0x3c
mov dword [esp + 0x5c], eax
mov eax, edx
push eax
push 0x4d008
push esi
mov dword [esp + 0x60], 0x1c
mov dword [esp + 0x6c], 0x2710
mov dword [esp + 0x78], 0x211
mov dword [esp + 0x70], 0x1b0501
mov byte [esp + 0x86], 0xec
mov byte [esp + 0x88], bl
call edi
test eax, eax
je 0x46980f
cmp byte [esp + 0xa2], 0
je 0x46980f
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x28]
mov ecx, 0x13
push edx
lea edx, [ecx - 9]
call fcn.00469220
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebp
push eax
mov dword [esp + 0x488], ebp
call fcn.00405090
mov dword [esp + 0x47c], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x46980a
mov eax, dword [esp + 0x28]
push eax
call fcn.0046f011
add esp, 4
mov byte [esp + 0x17], 1
inc ebx
cmp ebx, 2
jl 0x469740
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x17]
inc ebx
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x4696e0
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.0046f01c
add esp, 0x46c
ret 4
Function at 0x46b003
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a8024], 0
push esi
jne 0x46af76
call fcn.0046ae9c
test eax, eax
je 0x46afb9
mov eax, dword [0x4a8024]
cmp eax, 1
jne 0x46af97
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46afb9
pop esi
ret
push eax
call dword [0x4a802c]
test eax, eax
jne 0x46b001
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46afbd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4a8024]
call dword [0x4a802c]
mov edi, eax
test edi, edi
je 0x46afe2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46affe
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4a8024]
call dword [0x4a8028]
add edi, 0x10
cmp edi, esi
jb 0x46afea
mov eax, edi
pop edi
pop esi
ret
jmp 0x46af63

Function at 0x46b140
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4a4100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push 0
push 2
mov dword [ebp - 0x234], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
jne 0x46b180
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f01c
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x230]
push ecx
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46b22b
mov esi, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
jmp 0x46b1b0
lea edx, [ebp - 0x20c]
push edx
push str.explorer.exe
call fcn.0046f9ec
add esp, 8
test eax, eax
jne 0x46b1e2
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push ecx
call esi
cmp eax, ebx
je 0x46b20d
lea edx, [ebp - 0x230]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46b1b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f01c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x46b22b
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x46b245
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f01c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x234]
push eax
push 0xa
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop esi
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046f01c
mov esp, ebp
pop ebp
ret