joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42422b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.0043e1d0
add esp, 0x24
push 7
pop ecx
mov esi, 0x478f70
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x478f14]
mov esi, 0x478f8c
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x478f08
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x478f18]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x48]
movsb byte es:[edi], byte [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4242c4
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x48]
call fcn.00422680
lea eax, [ebp - 0x2c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4242e2
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.00422680
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4242fb
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422680
lea eax, [ebp - 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x424314
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422680
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
je 0x42436f
xor eax, eax
jmp 0x4243d2
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
jne 0x42436b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x354]
push eax
push str._s_s_s
push ebx
lea edi, [ebp - 0x250]
call fcn.0042258f
add esp, 0x14
test eax, eax
jl 0x42436b
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
leave
ret
Function at 0x4243e1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478f8c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42440c
sub eax, edx
mov ecx, 0x237f
lea edx, [ebp - 0x18]
call fcn.00422680
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x424445
xor edi, edi
jmp 0x42445d
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.004176c1
mov edi, eax
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4244aa
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42449a
push edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4244a0
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42447b
jmp 0x4244a3
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea esp, [ebp - 0x250]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret

Function at 0x4245f7
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.InstallLocation
xor esi, esi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstallA9861883_31C5_4324_BD9A_DC9527EEB675_is1
inc esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x424661
xor eax, eax
jmp 0x42469d
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00402ad3
push str.LenovoTray.exe
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424690
xor esi, esi
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, esi
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.0043b155
add ebp, 0x198
leave
ret
Function at 0x4246b3
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x46b612
call fcn.00443747
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push str.InstallPath
xor esi, esi
push str.SoftwareHuorongSysdiag
inc esi
push SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x424725
xor eax, eax
jmp 0x424784
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402ad3
and dword [ebp - 4], 0
lea ebx, [ebp - 0x10]
call fcn.00406b8b
push 0x22
mov edi, ebx
call fcn.00413161
mov eax, ebx
call fcn.00406bd0
mov eax, ebx
call fcn.004249e8
push str.binHipsTray.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424777
xor esi, esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043b155
add ebp, 0x20c
leave
ret

Function at 0x4247a7
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x190], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.Path
push str.SOFTWARE2345PCSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x424811
xor eax, eax
jmp 0x42483a
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push str.2345SafeTray.exe
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0043b155
add ebp, 0x194
leave
ret

Function at 0x426227
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
push esi
lea esi, [eax + 0x5c]
push 0x40
push esi
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
call fcn.00426ab3
mov byte [esi], 0x80
pop esi
ret

Function at 0x427e8e
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x428680
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
xor ecx, ecx
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
call fcn.0042e6e0
add esp, 4
lea esi, [esp + 4]
mov ecx, edi
call fcn.0042e780
mov ecx, dword [esp + 0x5c]
pop esi
xor ecx, esp
call fcn.0043b155
add esp, 0x5c
ret

Function at 0x4286f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
xor ecx, ecx
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
call fcn.0042e6e0
add esp, 4
lea esi, [esp + 4]
mov ecx, edi
call fcn.0042e780
mov ecx, dword [esp + 0x5c]
pop esi
xor ecx, esp
call fcn.0043b155
add esp, 0x5c
ret
Function at 0x428860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0x20119
xor edi, edi
push edi
push str.SOFTWARE360MachineSignature
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4289f1
mov dword [esi], eax
push ebp
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4288f3
cmp dword [esp + 0x14], 1
jne 0x4289d8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4289d8
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x428938
cmp dword [esp + 0x14], 1
jne 0x4289d8
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4289d8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x42896f
cmp dword [esp + 0x14], 1
jne 0x4289d8
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4289d8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4289d8
cmp dword [esp + 0x14], 3
jne 0x4289d8
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4289d8
lea eax, [esi + 0xc]
call fcn.00428760
test eax, eax
je 0x4289d8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x428f90
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
lea eax, [esp + 4]
mov esi, edx
push eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.0042c5b0
add esp, 8
test eax, eax
jne 0x428ffb
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043b155
add esp, 0x64
ret
mov eax, dword [esp + 0x6c]
test eax, eax
jbe 0x429010
push esi
lea ecx, [esp + 0x10]
call fcn.0042e6e0
add esp, 4
lea esi, [esp + 0xc]
mov ecx, ebx
call fcn.0042e780
test edi, edi
je 0x42902e
mov ecx, dword [esp + 8]
xor eax, eax
cmp ecx, dword [esp + 4]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043b155
add esp, 0x64
ret

Function at 0x429090
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push edi
lea eax, [esp + 4]
mov edi, ecx
push eax
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
call fcn.0042c7a0
add esp, 4
pop edi
test eax, eax
jne 0x4290ec
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043b155
add esp, 0x5c
ret
push esi
lea esi, [esp + 4]
mov ecx, ebx
call fcn.0042e780
mov ecx, dword [esp + 0x5c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043b155
add esp, 0x5c
ret

Function at 0x429110
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x6c
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp]
push ecx
push eax
mov dword [esp + 8], 0x6a09e667
mov dword [esp + 0xc], 0xbb67ae85
mov dword [esp + 0x10], 0x3c6ef372
mov dword [esp + 0x14], 0xa54ff53a
mov dword [esp + 0x18], 0x510e527f
mov dword [esp + 0x1c], 0x9b05688c
mov dword [esp + 0x20], 0x1f83d9ab
mov dword [esp + 0x24], 0x5be0cd19
call fcn.0042c880
add esp, 8
test eax, eax
jne 0x42918c
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0043b155
add esp, 0x6c
ret
push edi
mov eax, esi
lea edi, [esp + 4]
call fcn.0042dd90
mov ecx, dword [esp + 0x6c]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0043b155
add esp, 0x6c
ret

Function at 0x42a740
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42a76b
push 0x474f2c
mov eax, 0x474f2c
call fcn.0042f3a0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x42a784
push 0x474f2c
call fcn.0042f650
add esp, 4
xor eax, eax
pop ecx
ret
Function at 0x42b540
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
cmp eax, ebx
jne 0x42b572
mov dword [esp + 8], 0xffffffff
jmp 0x42b578
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x38]
push ebx
push ebx
push ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42b5a7
push 0x474f2c
mov eax, 0x474f2c
call fcn.0042f3a0
add esp, 4
jmp 0x42b687
push 0
lea edx, [esp + 0x18]
push edx
push 8
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b5d7
push 0x474f2c
mov eax, 0x474f2c
call fcn.0042f3a0
add esp, 4
jmp 0x42b687
mov eax, 8
cmp dword [esp + 0x14], eax
je 0x42b5f9
mov eax, 1
push 0x474f2c
call fcn.0042f650
add esp, 4
jmp 0x42b687
cmp dword [esp + 0x3c], ebx
je 0x42b635
mov ebx, eax
cmp dword [esp + 0xc], eax
jae 0x42b61b
mov eax, 5
push 0x474f2c
call fcn.0042f650
add esp, 4
jmp 0x42b687
mov ecx, dword [esp + 0x20]
mov dx, word [esp + 0x24]
mov dword [esi], ecx
mov cx, word [esp + 0x26]
mov word [esi + 4], dx
mov word [esi + 6], cx
jmp 0x42b67f
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0xc]
jbe 0x42b643
mov ebx, esi
jmp 0x42b607
mov edx, dword [esp + 0x34]
xor ebx, ebx
push ebx
push ebx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42b66c
push 0x474f2c
mov eax, 0x474f2c
call fcn.0042f3a0
add esp, 4
jmp 0x42b687
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.0042a740
test eax, eax
je 0x42b687
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x18]
pop ebp
test eax, eax
je 0x42b692
mov dword [eax], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.0043b155
add esp, 0x24
ret
Function at 0x42c400
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x42c446
push 0x474f2c
mov eax, 0x474f2c
call fcn.0042f3a0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
xor edx, edx
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x42c4d8
jg 0x42c46e
cmp ebx, ecx
jb 0x42c4d8
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42c49d
push 0x474f2c
mov eax, 0x474f2c
call fcn.0042f3a0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.0042a740
test eax, eax
je 0x42c493
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42c4be
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42c4e5
pop edi
pop esi
mov ecx, 1
pop ebp
mov word [eax], cx
mov eax, ecx
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x42c4e5
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x42cf80
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x42d0c0
cmp dword [esp + 0x28], ebp
je 0x42d0c0
push ebx
push 0x2800
call fcn.0043e70c
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x42cfe3
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043b155
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x42cff0
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.0042a420
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42d096
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0043e1d0
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42d089
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x42d089
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.0042cd10
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x42d0a0
inc edi
cmp edi, 0x10
jl 0x42cff0
push ebx
call fcn.0043e5b5
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0043b155
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0043b155
add esp, 0x1c
ret
Function at 0x42d170
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x28], esi
je 0x42d32f
cmp dword [esp + 0x2c], esi
je 0x42d32f
push ebx
push 0x200
call fcn.0043e70c
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x42d1bb
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x1c
ret
lea eax, [esp + 0x10]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d31b
mov edx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
test eax, eax
jne 0x42d2b1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42d214
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d28a
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42d27f
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.0042d0e0
cmp edx, edi
jb 0x42d27f
ja 0x42d279
cmp eax, dword [esp + 0x24]
jbe 0x42d27f
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
test eax, eax
je 0x42d207
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
test edi, edi
ja 0x42d2c8
cmp dword [esp + 0x20], 0
jbe 0x42d31b
mov ecx, dword [esp + 0x20]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.0042a420
add esp, 0xc
test eax, eax
jne 0x42d300
push ebx
mov dword [esp + 0x18], 0xffffffff
call fcn.0043e5b5
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ebx
push edx
push str.MAC:
call fcn.0042cd10
add esp, 0xc
mov dword [esp + 0x14], eax
push ebx
call fcn.0043e5b5
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x1c
ret