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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4473a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4571a0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov eax, dword [0x4571a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x4253c2
mov eax, dword [edi + 0x20]
call fcn.00425a50
mov esi, eax
test esi, esi
je 0x42538c
mov eax, dword [esi + 0x44]
test eax, eax
je 0x42523d
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push 0
push 0
push 1
push ecx
push edx
call eax
add esp, 0x14
xor eax, eax
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], cx
push eax
mov eax, esi
lea ecx, [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x34], 7
call fcn.00405510
mov dword [esp + 0x40], ebx
cmp dword [edi + 0xc], ebx
jne 0x4252de
cmp ebx, dword [esi + 0x40]
jg 0x4252b5
push esi
mov ecx, edi
call fcn.004249d0
mov dword [esp + 0xc], eax
test eax, eax
je 0x4252b5
mov eax, dword [edi + 0xc]
inc ebx
mov dword [esp + 0x10], ebx
test eax, eax
jne 0x4252b5
cmp ebx, dword [esi + 0x40]
jg 0x4252af
xor ebx, ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x4252ab
inc ebx
cmp ebx, 0xa
jl 0x425297
mov ebx, dword [esp + 0x10]
cmp dword [edi + 0xc], 0
je 0x42526f
cmp dword [edi + 0xc], 0
jne 0x4252de
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4252d7
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x4c]
push esi
push edx
mov edx, dword [esi + 0x48]
push 3
push ecx
push edx
call eax
add esp, 0x14
cmp dword [esp + 0xc], 0
je 0x4252ff
cmp dword [esi + 0x30], 0
je 0x4252ff
cmp dword [esi + 0x58], 0
je 0x4252ff
cmp dword [esi + 0x34], 8
jb 0x4252f5
mov eax, dword [esi + 0x20]
jmp 0x4252f8
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x425316
push eax
call fcn.0042c6f3
add esp, 4
mov dword [esi + 0x38], 0
cmp dword [esi + 0x34], 8
jb 0x425328
mov eax, dword [esi + 0x20]
push eax
call fcn.0042c65c
add esp, 4
mov ebx, 7
xor eax, eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], 0
mov word [esi + 0x20], ax
cmp dword [esi + 0x18], 8
jb 0x42534f
mov eax, dword [esi + 4]
push eax
call fcn.0042c65c
add esp, 4
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], 0
push esi
mov word [esi + 4], cx
call fcn.0042c65c
add esp, 4
cmp dword [edi + 0xc], 0
jne 0x4253ae
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x4253a2
mov edx, dword [esp + 0x18]
push edx
call fcn.0042c65c
add esp, 4
jmp 0x4253a2
mov eax, dword [edi + 0x24]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x4253c2
cmp dword [edi + 0xc], 0
je 0x425211
jmp 0x4253c2
cmp dword [esp + 0x2c], 8
jb 0x4253c2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042c65c
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042c667
mov esp, ebp
pop ebp
ret
Function at 0x4253e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x446228
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4571a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4571a0]
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 0x425440
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x425440
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00405600
mov dword [esp + 0x40], edi
lea edi, [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x14], 0x2f
call fcn.00425b30
mov esi, ebp
cmp eax, 0xffffffff
jne 0x4254a4
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
push edx
mov eax, 0x44c1c4
mov word [ebp + 4], dx
call fcn.00405600
cmp dword [esp + 0x30], 8
jb 0x4254c8
mov eax, dword [esp + 0x1c]
push eax
jmp 0x4254c0
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + 1]
or ecx, 0xffffffff
call fcn.0040e9b0
cmp dword [esp + 0x30], 8
jb 0x4254c8
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042c65c
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.0042c667
add esp, 0x30
ret 8
Function at 0x425620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447abb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4571a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x50], 0
je 0x42566f
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x54], 0
mov dword [esp + 0x14], 0
jle 0x425765
push 0x28
call fcn.0042cac0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 0
test esi, esi
je 0x4256c2
lea eax, [esi + 4]
push eax
mov dword [esi], 0
call fcn.00425d20
push 0
push 0
push 0
push 0
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x4256c4
xor esi, esi
push 0
lea edi, [esi + 4]
push 0
push edi
push 0x425eb0
mov dword [esp + 0x38], 0xffffffff
push 0
push 0
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x4251c0
mov dword [edi + 0x10], esi
mov dword [edi + 8], 0
call fcn.00430073
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
jne 0x42572a
test esi, esi
je 0x425753
call fcn.00424970
mov eax, dword [esi + 0x24]
test eax, eax
je 0x425718
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00425df0
push esi
call fcn.0042c65c
add esp, 4
jmp 0x425753
mov esi, dword [ebx + 0x6c]
mov edx, dword [esi + 4]
add ebx, 0x58
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.00426290
mov ecx, ebx
mov edi, eax
call fcn.004262d0
mov ebx, dword [ebp + 8]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [ebx + 0x54]
mov dword [esp + 0x14], eax
jl 0x425681
xor eax, eax
cmp dword [ebx + 0x70], eax
setne al
mov dword [ebx + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425790
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 0x4257b0
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x4257be
cmp edi, eax
je 0x4257c3
call fcn.0042ced3
cmp dword [esp + 0xc], esi
je 0x4258ef
test edi, edi
jne 0x4258e4
call fcn.0042ced3
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x4257ea
call fcn.0042ced3
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x425806
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 0x425847
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425836
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 0x42585c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x42589a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425889
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 0x4258a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00425df0
push edi
call fcn.0042c65c
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x4258eb
call fcn.0042ced3
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x4258d5
call fcn.0042ced3
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x4257b0
mov eax, dword [edi]
jmp 0x4257dc
mov eax, dword [eax]
jmp 0x4258c7
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 0x425925
mov esi, dword [eax]
push eax
call fcn.0042c65c
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x425906
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 0x425df0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x446c9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4571a0]
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 0x425e61
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425e50
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 0x425e72
push esi
call fcn.00425f70
call fcn.004260c0
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x425e99
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x426370
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4571a0]
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 0x4263ae
cmp dword [esp + 0x14], 2
jne 0x4263ae
cmp dword [esp + 8], 6
mov al, 1
jae 0x4263b0
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.0042c667
add esp, 0x118
ret
Function at 0x4263d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x518
mov eax, dword [0x4571a0]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x426403
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.0042c667
add esp, 0x518
ret
push esi
push 0x3ff
lea eax, [esp + 0x121]
push ebx
push eax
mov byte [esp + 0x128], bl
call fcn.00430980
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.00430980
lea eax, [esp + 0x34]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x426473
cmp ecx, ebx
je 0x426473
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x426455
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 0x44ddf0
push 0xffffffffffffffff
shr esi, 1
lea ecx, [esp + 0x128]
push esi
push ecx
call fcn.0042cf7c
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 0x4264d1
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.0042c667
add esp, 0x518
ret
push 0x400
lea ecx, [esp + 0x120]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00430980
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 0x4265c6
lea ecx, [esp + 0x11c]
push ecx
push 0x44dec8
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.0042cf7c
lea eax, [esp + 0x28]
push 4
push eax
call fcn.004302e8
lea ecx, [esp + 0x30]
push 0x44ded0
push ecx
call fcn.00430410
add esp, 0x24
test eax, eax
jne 0x4265c6
call fcn.00426370
test al, al
je 0x426575
cmp dword [edi + 0x1a0], 6
jmp 0x4265c2
push 0x400
lea edx, [esp + 0x120]
push ebx
push edx
call fcn.00430980
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 0x4265c6
cmp dword [esp + 0x11c], 1
jne 0x4265c6
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.0042c667
add esp, 0x518
ret
Function at 0x426640
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.0042c82c
mov esi, eax
add esp, 4
lea eax, [esp + 0xc]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x426691
push esi
call fcn.0042c74f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042c82c
add esp, 8
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4266f9
test esi, esi
je 0x4266f9
push edi
mov edi, esi
lea esp, [esp]
call fcn.004263d0
test al, al
jne 0x4266b1
mov edi, dword [edi]
test edi, edi
jne 0x4266a0
jmp 0x4266bc
mov ecx, ebp
mov eax, edi
call fcn.004265f0
mov bl, 1
xor eax, eax
pop edi
cmp ax, word [ebp]
jne 0x4266f9
mov eax, esi
jmp 0x4266d0
lea ecx, [eax + 0x1b0]
test ecx, ecx
jne 0x4266f0
mov eax, dword [eax]
test eax, eax
jne 0x4266d0
push esi
call fcn.0042c74f
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
mov ecx, ebp
call fcn.004265f0
mov bl, 1
push esi
call fcn.0042c74f
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x427170
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x446c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4571a0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
mov eax, dword [0x4571a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
xor ecx, ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ecx
mov byte [esp + 0x10], cl
mov dword [esp + 0xa0], ecx
cmp dword [eax + 0x18], 8
jb 0x4271d4
mov eax, dword [eax + 4]
jmp 0x4271d7
add eax, 4
lea ecx, [esp + 0xc]
push ecx
mov ebx, eax
call fcn.0041ac10
mov eax, dword [esp + 0x14]
xor ebx, ebx
add esp, 4
cmp dword [esp + 0x24], 0x10
mov byte [esp + 0x90], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jae 0x427226
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.004268c0
cmp byte [esp + 0x90], bl
jne 0x42724e
lea esi, [esp + 0x28]
mov byte [esp + 0x90], 1
call fcn.00426960
cmp dword [esp + 0x24], 0x10
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [edi], edx
mov edx, dword [esp + 0x8c]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
jb 0x427289
mov eax, dword [esp + 0x10]
push eax
call fcn.0042c65c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0042c667
add esp, 0x98
ret
Function at 0x4272c0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x4571a0]
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 0x427310
mov ecx, dword [ecx + 4]
jmp 0x427313
add ecx, 4
push ecx
lea ecx, [esp + 4]
call fcn.004268c0
cmp byte [esp + 0x68], 0
jne 0x427334
push esi
lea esi, [esp + 4]
mov byte [esp + 0x6c], 1
call fcn.00426960
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.0042c667
add esp, 0x70
ret

Function at 0x427360
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4571a0]
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 0x427409
push 0x22c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00430980
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 0x427402
mov ecx, edi
lea eax, [esp + 0x2c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4273e6
test dx, dx
je 0x4273e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4273e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4273c0
xor eax, eax
jmp 0x4273eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427400
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4273b7
jmp 0x427402
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.0042c667
add esp, 0x230
ret
Function at 0x429ee0
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4571a0]
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.00430980
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 0x429f4c
mov ecx, esi
call fcn.0042a200
test eax, eax
jne 0x429f60
mov ecx, esi
call fcn.0042a480
test eax, eax
jne 0x429f60
call fcn.0042a670
jmp 0x429f60
xor edi, edi
mov edi, edi
test eax, eax
jne 0x429f60
push esi
call fcn.0042a0a0
inc edi
cmp edi, 0xa
jl 0x429f50
mov eax, dword [esi + 0x14]
test eax, eax
jl 0x429fa1
cmp eax, dword [esi + 0x10]
jge 0x429fa1
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.00430566
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0042c667
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042c667
add esp, 0x124
ret
Function at 0x42a200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x494
mov eax, dword [0x4571a0]
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 0x42a462
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x2a2]
push ecx
mov word [esp + 0x2a4], ax
call fcn.00430980
push ebx
push str..PhysicalDrive_d
lea edx, [esp + 0x2ac]
call fcn.0042a9f0
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 0x42a454
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 0x42a449
mov bl, byte [esp + 0x27]
test bl, bl
jbe 0x42a449
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.00430980
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 0x42a449
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.00429fc0
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 0x42a22e
mov ecx, dword [esp + 0x49c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042c667
add esp, 0x494
ret