joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ff90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x441198
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4501a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x420166
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.004207c0
mov esi, eax
cmp esi, ebx
je 0x420131
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x41fffa
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 1
push ecx
push edx
call eax
add esp, 0x14
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x1c], ax
push ebx
mov eax, esi
lea ecx, [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00403ea0
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x420092
cmp ebp, dword [esi + 0x40]
jg 0x42006b
push esi
mov ecx, edi
call fcn.0041f960
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x42006b
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x42006b
cmp ebp, dword [esi + 0x40]
jg 0x420066
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x420064
inc ebx
cmp ebx, 0xa
jl 0x420050
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x42002a
cmp dword [edi + 0xc], ebx
jne 0x420092
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x42008c
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x4c]
push esi
push ecx
mov ecx, dword [esi + 0x48]
push 3
push edx
push ecx
call eax
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x4200b1
cmp dword [esi + 0x30], ebx
je 0x4200b1
cmp dword [esi + 0x58], ebx
je 0x4200b1
cmp dword [esi + 0x34], 8
jb 0x4200a7
mov eax, dword [esi + 0x20]
jmp 0x4200aa
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x4200c4
push eax
call fcn.004267c7
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x4200d6
mov eax, dword [esi + 0x20]
push eax
call fcn.004266b0
add esp, 4
mov ebp, 7
xor edx, edx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], dx
cmp dword [esi + 0x18], 8
jb 0x4200f9
mov eax, dword [esi + 4]
push eax
call fcn.004266b0
add esp, 4
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push esi
mov word [esi + 4], ax
call fcn.004266b0
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x420152
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x420147
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004266b0
add esp, 4
jmp 0x420147
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x420166
cmp dword [edi + 0xc], ebx
je 0x41ffd0
jmp 0x420166
cmp dword [esp + 0x2c], 8
jb 0x420166
mov eax, dword [esp + 0x18]
push eax
call fcn.004266b0
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004266bb
add esp, 0x30
ret
Function at 0x420190
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4404d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4501a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
lea esi, [ecx + 2]
jmp 0x4201f0
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4201f0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00403f90
mov dword [esp + 0x40], edi
lea edi, [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x14], 0x2f
call fcn.004208d0
mov esi, ebp
cmp eax, 0xffffffff
jne 0x420254
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
push edx
mov eax, 0x445f34
mov word [ebp + 4], dx
call fcn.00403f90
cmp dword [esp + 0x30], 8
jb 0x420278
mov eax, dword [esp + 0x1c]
push eax
jmp 0x420270
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + 1]
or ecx, 0xffffffff
call fcn.004037f0
cmp dword [esp + 0x30], 8
jb 0x420278
mov edx, dword [esp + 0x1c]
push edx
call fcn.004266b0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004266bb
add esp, 0x30
ret 8
Function at 0x4203d0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44145b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4501a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
cmp dword [ebp + 0x50], ebx
je 0x42040a
lea eax, [ebx + 1]
jmp 0x4204f1
cmp dword [ebp + 0x54], ebx
mov dword [esp + 0x2c], ebx
jle 0x4204e6
push 0x28
call fcn.00426762
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x42044c
lea eax, [esi + 4]
push eax
mov dword [esi], ebx
call fcn.00420a90
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x42044e
xor esi, esi
push ebx
lea edi, [esi + 4]
push ebx
push edi
push 0x420c00
mov dword [esp + 0x34], 0xffffffff
push ebx
push ebx
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x41ff80
mov dword [edi + 0x10], esi
mov dword [edi + 8], ebx
call fcn.00429cd4
add esp, 0x18
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x4204ac
cmp esi, ebx
je 0x4204d4
call fcn.0041f900
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x42049a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00420b40
push esi
call fcn.004266b0
add esp, 4
jmp 0x4204d4
mov esi, dword [ebp + 0x6c]
mov edx, dword [esi + 4]
lea ebx, [ebp + 0x58]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.00420a50
mov ecx, ebx
mov edi, eax
call fcn.00420f80
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor ebx, ebx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 0x54]
mov dword [esp + 0x2c], eax
jl 0x420417
xor eax, eax
cmp dword [ebp + 0x70], ebx
setne al
mov dword [ebp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x420510
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x420530
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x42053e
cmp edi, eax
je 0x420543
call fcn.00426c3a
cmp dword [esp + 0xc], esi
je 0x42066f
test edi, edi
jne 0x420664
call fcn.00426c3a
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x42056a
call fcn.00426c3a
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x420586
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4205c7
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4205b6
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x4205dc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x42061a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420609
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x420628
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00420b40
push edi
call fcn.004266b0
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x42066b
call fcn.00426c3a
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x420655
call fcn.00426c3a
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x420530
mov eax, dword [edi]
jmp 0x42055c
mov eax, dword [eax]
jmp 0x420647
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x4206a5
mov esi, dword [eax]
push eax
call fcn.004266b0
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x420686
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420b40
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x44113b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4501a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x420bb1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420ba0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x420bc2
push esi
call fcn.00420cc0
call fcn.00420e10
mov eax, dword [esi + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x452564
je 0x420bed
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420bed
mov eax, dword [esi + 0x18]
sub eax, 0xc
push eax
call fcn.004267c7
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x421020
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
lea eax, [esp + 4]
push eax
xor bl, bl
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42105e
cmp dword [esp + 0x14], 2
jne 0x42105e
cmp dword [esp + 8], 6
mov al, 1
jae 0x421060
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.004266bb
add esp, 0x118
ret
Function at 0x421080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x518
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x4210b3
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.004266bb
add esp, 0x518
ret
push esi
push 0x3ff
lea eax, [esp + 0x121]
push ebx
push eax
mov byte [esp + 0x128], bl
call fcn.0042a680
push 0xfe
lea edx, [esp + 0x2e]
xor ecx, ecx
push ebx
mov esi, 0x400
push edx
mov dword [esp + 0x20], esi
mov word [esp + 0x34], cx
call fcn.0042a680
lea eax, [esp + 0x34]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x421123
cmp ecx, ebx
je 0x421123
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x421105
sub eax, esi
inc eax
push eax
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [esp + 8]
lea eax, [esp + 0x1c]
push eax
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push 0xffffffffffffffff
shr esi, 1
lea ecx, [esp + 0x128]
push esi
push ecx
call fcn.00426ce3
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x128]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421181
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.004266bb
add esp, 0x518
ret
push 0x400
lea ecx, [esp + 0x120]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.0042a680
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push str.PnpInstanceID
push edx
call esi
test eax, eax
jne 0x421276
lea ecx, [esp + 0x11c]
push ecx
push 0x4478f8
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push 4
push edx
mov word [esp + 0x28], ax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
call fcn.00426ce3
lea eax, [esp + 0x28]
push 4
push eax
call fcn.00429f49
lea ecx, [esp + 0x30]
push 0x447900
push ecx
call fcn.0042a071
add esp, 0x24
test eax, eax
jne 0x421276
call fcn.00421020
test al, al
je 0x421225
cmp dword [edi + 0x1a0], 6
jmp 0x421272
push 0x400
lea edx, [esp + 0x120]
push ebx
push edx
call fcn.0042a680
add esp, 0xc
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push str.MediaSubType
push eax
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x421276
cmp dword [esp + 0x11c], 1
jne 0x421276
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x51c]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.004266bb
add esp, 0x518
ret
Function at 0x4212f0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 0x288
xor bl, bl
mov dword [esp + 0x10], 0x288
call fcn.00426d53
mov esi, eax
add esp, 4
lea eax, [esp + 0xc]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x421341
push esi
call fcn.00426a4f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00426d53
add esp, 8
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4213a9
test esi, esi
je 0x4213a9
push edi
mov edi, esi
lea esp, [esp]
call fcn.00421080
test al, al
jne 0x421361
mov edi, dword [edi]
test edi, edi
jne 0x421350
jmp 0x42136c
mov ecx, ebp
mov eax, edi
call fcn.004212a0
mov bl, 1
xor eax, eax
pop edi
cmp ax, word [ebp]
jne 0x4213a9
mov eax, esi
jmp 0x421380
lea ecx, [eax + 0x1b0]
test ecx, ecx
jne 0x4213a0
mov eax, dword [eax]
test eax, eax
jne 0x421380
push esi
call fcn.00426a4f
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
mov ecx, ebp
call fcn.004212a0
mov bl, 1
push esi
call fcn.00426a4f
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x421db0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [ecx + 0x18], 0x10
mov eax, dword [ecx + 0x14]
mov byte [esp + 0x68], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], 0x67452301
mov dword [esp + 4], 0xefcdab89
mov dword [esp + 8], 0x98badcfe
mov dword [esp + 0xc], 0x10325476
jb 0x421e00
mov ecx, dword [ecx + 4]
jmp 0x421e03
add ecx, 4
push ecx
lea ecx, [esp + 4]
call fcn.00421500
cmp byte [esp + 0x68], 0
jne 0x421e24
push esi
lea esi, [esp + 4]
mov byte [esp + 0x6c], 1
call fcn.004215a0
pop esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, edi
call fcn.004266bb
add esp, 0x70
ret

Function at 0x421e50
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push 0
push 2
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x421ef9
push 0x22c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0042a680
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421ef2
mov ecx, edi
lea eax, [esp + 0x2c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421ed6
test dx, dx
je 0x421ed2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421ed6
add eax, 4
add ecx, 4
test dx, dx
jne 0x421eb0
xor eax, eax
jmp 0x421edb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421ef0
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x421ea7
jmp 0x421ef2
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.004266bb
add esp, 0x230
ret
Function at 0x424020
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
push edi
push 0x114
lea eax, [esp + 0x10]
mov esi, ecx
push 0
push eax
mov dword [esi + 0x14], 0
call fcn.0042a680
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [esp + 0x1c], 2
jne 0x42408c
mov ecx, esi
call fcn.00424340
test eax, eax
jne 0x4240a0
mov ecx, esi
call fcn.004245c0
test eax, eax
jne 0x4240a0
call fcn.004247b0
jmp 0x4240a0
xor edi, edi
mov edi, edi
test eax, eax
jne 0x4240a0
push esi
call fcn.004241e0
inc edi
cmp edi, 0xa
jl 0x424090
mov eax, dword [esi + 0x14]
test eax, eax
jl 0x4240e1
cmp eax, dword [esi + 0x10]
jge 0x4240e1
mov edx, eax
shl edx, 7
lea ecx, [edx + esi + 0x18]
push ecx
inc eax
push 0x40
push ebx
mov dword [esi + 0x14], eax
call fcn.0042a1d6
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004266bb
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004266bb
add esp, 0x124
ret
Function at 0x424340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x494
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x10], 0x20
jge 0x4245a2
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x2a2]
push ecx
mov word [esp + 0x2a4], ax
call fcn.0042a680
push ebx
push str..PhysicalDrive_d
lea edx, [esp + 0x2ac]
call fcn.00424b30
add esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424594
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x18
lea edx, [esp + 0x30]
push edx
push eax
push eax
push 0x74080
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call ebp
test eax, eax
je 0x424589
mov bl, byte [esp + 0x27]
test bl, bl
jbe 0x424589
xor eax, eax
push 0x210
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], al
lea eax, [esp + 0x90]
push eax
call fcn.0042a680
mov al, byte [esp + 0x24]
mov cl, al
and cl, 1
add esp, 0xc
or cl, 0xfa
shl cl, 4
push 0
mov byte [esp + 0x71], cl
mov cl, al
shr bl, cl
lea edx, [esp + 0x20]
push edx
push 0x210
and bl, 0x10
mov byte [esp + 0x7c], al
lea eax, [esp + 0x94]
push eax
neg bl
push 0x20
sbb bl, bl
lea ecx, [esp + 0x78]
push ecx
and bl, 0xb5
push 0x7c088
add bl, 0xec
push edi
mov byte [esp + 0x88], 0
mov byte [esp + 0x89], 1
mov byte [esp + 0x8b], 0
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8e], bl
mov dword [esp + 0x84], 0x200
call ebp
test eax, eax
je 0x424589
movzx eax, word [esp + 0xae]
movzx edx, word [esp + 0xac]
movzx ecx, word [esp + 0xb0]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0xb4]
mov dword [esp + 0x3c], edx
movzx edx, word [esp + 0xb2]
mov dword [esp + 0x44], ecx
movzx ecx, word [esp + 0xb6]
mov dword [esp + 0x4c], eax
movzx eax, word [esp + 0xba]
mov dword [esp + 0x48], edx
movzx edx, word [esp + 0xb8]
mov dword [esp + 0x50], ecx
movzx ecx, word [esp + 0xbc]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], edx
movzx edx, word [esp + 0xbe]
mov dword [esp + 0x5c], ecx
mov ecx, eax
shl ecx, 7
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x20]
lea esi, [ecx + esi + 0x18]
inc eax
lea ecx, [esp + 0x3c]
mov dword [edx + 0x10], eax
call fcn.00424100
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x42436e
mov ecx, dword [esp + 0x49c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004266bb
add esp, 0x494
ret
Function at 0x4247b0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x221c
call fcn.00439a30
mov eax, dword [0x4501a0]
xor eax, esp
mov dword [esp + 0x2218], eax
push ebx
push ebp
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jmp 0x4247e0
cmp dword [esi + 0x10], 0x20
jge 0x424950
push edi
push str..PhysicalDrive_d
lea edx, [esp + 0x2c]
call fcn.00424b30
add esp, 8
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x424942
mov edi, dword [esi + 0x10]
xor eax, eax
push 0x2000
lea ecx, [esp + 0x228]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0042a680
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x2d1400
push ebp
call ebx
test eax, eax
je 0x4248bb
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x23c]
shl edx, 7
lea ecx, [edx + esi + 0x18]
lea eax, [esp + eax + 0x224]
push ecx
call fcn.00424970
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call fcn.0042a497
add esp, 4
test eax, eax
je 0x4248bb
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x10]
jne 0x424935
push 0x2000
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.0042a680
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0
push 0
push 0x2d0c10
push ebp
call ebx
test eax, eax
je 0x424935
mov ecx, dword [esi + 0x10]
shl ecx, 7
lea ebx, [ecx + esi + 0x18]
lea edi, [esp + 0x234]
call fcn.00424af0
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call fcn.0042a497
add esp, 4
test eax, eax
je 0x424935
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
xor ebx, ebx
inc edi
cmp edi, 0x10
mov dword [esp + 0x10], edi
jl 0x4247e0
mov ecx, dword [esp + 0x2224]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004266bb
add esp, 0x221c
ret