joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4519f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59652e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x614b80]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K17_FIDVID_Control.0
xor edi, edi
lea ebp, [esi + 0x3c]
jmp 0x451a60
push 0x10
call fcn.00568473
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x451a87
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00494a60
jmp 0x451a89
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 8
mov byte [esp + 0x24], bl
jl 0x451a60
push 0x10
call fcn.00568473
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x451ac1
push 0xc0010293
mov ecx, eax
call fcn.00494a60
mov dword [esi + 0x34], eax
jmp 0x451ac4
mov dword [esi + 0x34], ebx
mov eax, esi
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 0x475820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x597118
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x614b80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPCIDevice.0
mov eax, dword [esi + 0x30]
xor edi, edi
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x475868
push eax
call fcn.005684ad
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x475886
call fcn.0043a0f0
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x475883
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x4758a4
call fcn.0043a0f0
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x4758a1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x20], edi
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0x4758b6
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x18], edi
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
je 0x4758c8
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4758db
push eax
call fcn.005684ad
add esp, 4
mov dword [esi + 0x38], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00464960
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x481c64
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x84]
push edi
push esi
call fcn.00455dc0
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
cmp edi, 0xffffffff
je 0x481eb4
mov eax, dword [esi + 0x170]
cmp eax, ebp
je 0x481eb4
cmp dword [esi + 0x174], ebp
je 0x481eb4
cmp dword [esi + 0x180], ebp
je 0x481eb4
cmp dword [esi + 0x17c], ebp
je 0x481eb4
mov edx, dword [esi + 0x110]
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + edi*4]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x481ea7
mov eax, dword [esp + 0xc]
cmp eax, ebp
jbe 0x481ea7
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.005684a2
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx + edi*4]
mov ebx, eax
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x170]
push edx
call eax
add esp, 0x10
test eax, eax
jne 0x481e9d
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x481e9d
mov ebp, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x174]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x20
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x481e92
mov eax, dword [esp + 0x38]
sub eax, 0
je 0x481e0b
sub eax, 1
jne 0x481e92
cmp dword [esp + 0x90], eax
je 0x481dd6
push 0x38
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0057ad60
mov ecx, dword [esi + 0x180]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x481e92
fld qword [esp + 0x78]
fstp dword [ebp + 8]
jmp 0x481e8a
mov ecx, dword [esi + 0x17c]
xor eax, eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0x18
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
jmp 0x481e7c
cmp dword [esp + 0x90], 0
je 0x481e49
push 0x38
lea edx, [esp + 0x54]
push 0
push edx
call fcn.0057ad60
mov edx, dword [esi + 0x180]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 0x14
test eax, eax
jne 0x481e92
fld qword [esp + 0x78]
jmp 0x481e87
mov edx, dword [esi + 0x17c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x18
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x481e92
fld qword [esp + 0x28]
fstp dword [ebp + 4]
mov dword [esp + 0x14], 1
inc edi
cmp edi, dword [esp + 0x10]
jb 0x481d34
push ebx
call fcn.005684ad
add esp, 4
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x78
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x78
ret 0xc
Function at 0x496460
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x214]
push edi
lea edi, [esi + 0x214]
xor eax, eax
cmp ecx, 0xffffffff
je 0x4964d5
lea eax, [esi + 0x224]
push eax
mov eax, dword [esi + 0x220]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esi + 0x238]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x4964b7
push edi
call dword [sym.imp.KERNEL32.DLL_CancelIo]
xor edi, edi
jmp 0x4964bc
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
test edi, edi
jne 0x4964d3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x4964e0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x218]
push edi
lea edi, [esi + 0x218]
xor eax, eax
cmp ecx, 0xffffffff
je 0x496555
lea eax, [esi + 0x224]
push eax
mov eax, dword [esi + 0x21c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esi + 0x238]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x496537
push edi
call dword [sym.imp.KERNEL32.DLL_CancelIo]
xor edi, edi
jmp 0x49653c
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
test edi, edi
jne 0x496553
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x49a0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x597f48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x614b80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x10
call fcn.00464970
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
xor edi, edi
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x2c]
mov dword [esi + 0x18], ecx
mov cl, byte [esp + 0x30]
push 0x200
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDrive.0
mov dword [esi + 0x10], edi
mov byte [esi + 0x20], dl
mov byte [esi + 0x21], al
mov byte [esi + 0x22], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.005684a2
push 0x5cd6cb
push 0x200
push eax
mov dword [esi + 0x34], eax
call fcn.0057a7c3
push 0x200
call fcn.005684a2
push 0x5cd6cb
push 0x200
push eax
mov dword [esi + 0x38], eax
call fcn.0057a7c3
push 0x200
call fcn.005684a2
push 0x5cd6cb
push 0x200
push eax
mov dword [esi + 0x3c], eax
call fcn.0057a7c3
push 0x20
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.00568473
fld qword [0x5dcf60]
add esp, 0x34
cmp eax, edi
je 0x49a1b6
fld dword [0x5dcf50]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49a1ba
fstp st(0)
xor eax, eax
push 0x20
mov dword [esi + 0x48], eax
call fcn.00568473
add esp, 4
cmp eax, edi
je 0x49a1e8
fld dword [0x5dcf50]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5dcf60]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49a1ea
xor eax, eax
push 0x20
mov dword [esi + 0x4c], eax
call fcn.00568473
add esp, 4
cmp eax, edi
je 0x49a218
fld dword [0x5dcf50]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5dcf60]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49a21a
xor eax, eax
push 0x20
mov dword [esi + 0x50], eax
call fcn.00568473
add esp, 4
cmp eax, edi
je 0x49a248
fld dword [0x5dcf50]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5dcf60]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49a24a
xor eax, eax
mov dword [esi + 0x54], eax
or eax, 0xffffffff
mov ecx, 1
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x49aef0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.0057b6e0
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
mov ebx, dword [esp + 0x1044]
push esi
mov esi, dword [esp + 0x1044]
push edi
push 0x1030
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0057ad60
mov edi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
mov eax, 1
push 0x1030
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], 0x1000
mov dword [esp + 0x44], 0
call edi
test eax, eax
je 0x49afaf
push 0x1000
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.0057ae10
add esp, 0xc
mov eax, 1
jmp 0x49aff8
push 0
lea edx, [esp + 0x10]
push edx
push 0x1030
lea eax, [esp + 0x1c]
push eax
push 0x1030
mov ecx, eax
push ecx
push 0x2d1400
push esi
mov dword [esp + 0x44], 0xffffffff
call edi
test eax, eax
je 0x49aff6
push 0x1000
lea edx, [esp + 0x44]
push edx
push ebx
call fcn.0057ae10
add esp, 0xc
mov eax, 1
jmp 0x49aff8
xor eax, eax
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057943e
add esp, 0x1038
ret 8

Function at 0x49b020
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.0057b6e0
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
push esi
mov esi, dword [esp + 0x1044]
push edi
mov edi, dword [esp + 0x104c]
push 0x1030
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0057ad60
mov ebx, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
mov eax, 2
push 0x1030
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], 0x1000
call ebx
test eax, eax
je 0x49b0d7
mov ecx, 0x80
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x49b104
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
push 0x1030
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x44], 0xffffffff
call ebx
test eax, eax
jne 0x49b0c5
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057943e
add esp, 0x1038
ret 8
Function at 0x49b120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x104c
call fcn.0057b6e0
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
mov ebp, dword [esp + 0x105c]
push esi
mov esi, dword [esp + 0x105c]
push edi
push 0x1044
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0057ad60
mov edi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
add esp, 0xc
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
mov ecx, 0x2c
push 0x244
mov word [esp + 0x28], cx
mov dword [esp + 0x40], ecx
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x18
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 0x44
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xb5
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 5
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x40
mov byte [esp + 0x3c], bl
mov byte [esp + 0x78], 1
call edi
test eax, eax
je 0x49b2ac
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
push 0x244
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xa2
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 5
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x78], bl
call edi
test eax, eax
je 0x49b2ac
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
movzx edi, byte [esp + eax + 0x58]
add ecx, edi
movzx edi, byte [esp + eax + 0x59]
add ebx, edi
movzx edi, byte [esp + eax + 0x5a]
add edx, edi
movzx edi, byte [esp + eax + 0x5b]
add eax, 4
add esi, edi
cmp eax, 0x200
jl 0x49b264
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x49b2ac
push 0x1000
lea edx, [esp + 0x5c]
push edx
push ebp
call fcn.0057ae10
add esp, 0xc
mov eax, 1
jmp 0x49b2ae
xor eax, eax
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057943e
add esp, 0x104c
ret 8
Function at 0x49b2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x104c
call fcn.0057b6e0
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x105c]
push edi
mov edi, dword [esp + 0x1064]
push 0x1044
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0057ad60
mov ebp, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
add esp, 0xc
push ebx
mov eax, 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x5c], al
mov al, 0xff
lea edx, [esp + 0x14]
push edx
push 0x244
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], al
lea eax, [esp + 0x20]
push eax
mov ecx, 0x2c
push 0x244
mov word [esp + 0x28], cx
mov dword [esp + 0x40], ecx
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x18
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x48], 0x44
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xb5
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x40
mov byte [esp + 0x3c], bl
call ebp
test eax, eax
je 0x49b470
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
push 0x244
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xa2
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x78], bl
call ebp
test eax, eax
je 0x49b470
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
jmp 0x49b430
movzx ebp, byte [esp + eax + 0x58]
add ecx, ebp
movzx ebp, byte [esp + eax + 0x59]
add ebx, ebp
movzx ebp, byte [esp + eax + 0x5a]
add edx, ebp
movzx ebp, byte [esp + eax + 0x5b]
add eax, 4
add esi, ebp
cmp eax, 0x200
jl 0x49b430
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x49b470
mov ecx, 0x80
lea esi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x49b472
xor eax, eax
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057943e
add esp, 0x104c
ret 8
Function at 0x54e4c5
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x188]
sub esp, 0x208
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp + 0x184], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
push 0x54
mov dword [esi], vtable.CKMDriver.0
mov byte [esi + 0x410], bl
mov byte [esi + 0x610], bl
mov byte [esi + 0x210], bl
mov byte [esi + 0xa10], bl
mov byte [esi + 0x810], bl
mov byte [esi + 4], bl
mov byte [esi + 0xb40], bl
mov dword [esi + 0x204], edi
mov dword [esi + 0xb30], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x20c], ebx
mov dword [esi + 0xb1c], ebx
mov dword [esi + 0xb20], ebx
mov dword [esi + 0xb24], ebx
mov dword [esi + 0xb28], ebx
mov dword [esi + 0xd44], ebx
mov dword [esi + 0xb10], edi
mov dword [esi + 0xb14], edi
mov dword [esi + 0xb18], edi
mov dword [esi + 0xb2c], edi
mov dword [esi + 0xd40], edi
mov dword [esi + 0xd48], edi
mov dword [esi + 0xd4c], edi
mov dword [esi + 0xd50], edi
mov dword [esi + 0xd54], edi
call fcn.00568473
pop ecx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x54e5a3
push 0x54
push ebx
push eax
call fcn.0057ad60
mov eax, dword [ebp - 0x80]
add esp, 0xc
jmp 0x54e5a5
xor eax, eax
mov dword [esi + 0xb3c], eax
mov byte [eax], bl
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x44], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x48], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x4c], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x50], edi
push 0x200
lea eax, [ebp - 0x7c]
push eax
mov dword [esi + 0xb34], ebx
mov dword [esi + 0xb38], ebx
mov byte [ebp - 0x7c], bl
call dword [sym.imp.KERNEL32.DLL_GetSystemWindowsDirectoryA]
mov dword [ebp - 0x80], eax
cmp eax, ebx
jbe 0x54e672
push str._temp
lea eax, [ebp - 0x7c]
push 0x200
push eax
call fcn.00439c00
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, edi
je 0x54e627
test al, 0x10
jne 0x54e62a
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x80], ebx
jbe 0x54e672
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x7c]
push eax
push str._scpuz_driver__d.log
push 0x200
lea edi, [esi + 0xb40]
push edi
call fcn.00439b20
push 0x5bffc0
push edi
lea edi, [esi + 0xb34]
push edi
call fcn.0057a589
mov edi, dword [edi]
add esp, 0x20
cmp edi, ebx
je 0x54e672
push edi
call fcn.00579bf4
pop ecx
mov ecx, dword [ebp + 0x184]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057943e
add ebp, 0x188
leave
ret
Function at 0x54e6b5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
push 0x2710
push dword [esi + 0xb30]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
xor ebx, ebx
cmp eax, ebx
je 0x54e6f1
push eax
push str._vCloseDriver__WaitForSingleObject_error___d_n
push esi
call fcn.00550c05
add esp, 0xc
jmp 0x54e74f
mov eax, dword [esi + 0xb10]
dec eax
je 0x54e73c
dec eax
jne 0x54e743
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push dword [esi + 0xb3c]
call fcn.005518ad
lea eax, [ebp + 0xc]
push eax
push 0x28
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x54e743
push ebx
push str.SeLoadDriverPrivilege
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00550e69
jmp 0x54e743
mov ecx, esi
call fcn.00550b8c
push dword [esi + 0xb30]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov eax, dword [esi + 0xb30]
cmp eax, ebx
je 0x54e775
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
push str._vCloseDriver__CloseHandle_mutex____d_n
push esi
call fcn.00550c05
add esp, 0xc
mov dword [esi + 0xb30], ebx
cmp dword [ebp + 0x10], ebx
je 0x54e78b
lea eax, [esi + 0xb40]
cmp byte [eax], bl
je 0x54e78b
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop esi
pop ebx
leave
ret 0xc