joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x20c]
push ecx
xor eax, eax
push 0x104
mov word [ebp - 0x20c], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x412f9f
cmp eax, 0x104
ja 0x412f9f
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x228]
call fcn.0040a920
xor eax, eax
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x24c], 0
mov word [ebp - 0x25c], ax
call fcn.00402c50
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], dx
call fcn.00402c50
lea eax, [ebp - 0x244]
call fcn.0040e980
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x244]
push ecx
mov ecx, esi
call fcn.00402c50
mov esi, 8
cmp dword [ebp - 0x22c], esi
jb 0x412f43
mov edx, dword [ebp - 0x240]
push edx
call fcn.00456e75
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
cmp dword [ebp - 0x248], esi
jb 0x412f77
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00456e75
add esp, 4
cmp dword [ebp - 0x210], esi
jb 0x412f8e
mov edx, dword [ebp - 0x224]
push edx
call fcn.00456e75
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x413c80
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00459800
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x1008]
push edx
lea edx, [ebp - 0x804]
push edx
lea edx, [ebp - 0x100c]
push edx
push 0
mov dword [ebp - 0x1008], 0
push eax
mov eax, dword [ecx]
push eax
mov dword [ebp - 0x100c], 1
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x413d9f
mov eax, dword [ebp - 0x100c]
cmp eax, 1
jne 0x413d32
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413d00
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.0040a9a0
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x413d9a
push 0x400
lea edx, [ebp - 0x1004]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x413d83
cmp eax, 0x400
ja 0x413d83
lea ecx, [ebp - 0x1004]
push ecx
mov ecx, edi
call fcn.0040eaa0
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045759d
mov esp, ebp
pop ebp
ret 8

Function at 0x413dc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x413dd5
mov edx, dword [ebp + 8]
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov eax, dword [ecx]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x414100
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x576510]
xor eax, esp
mov dword [esp + 0x448], eax
mov eax, 0x570298
push esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414123
sub eax, edx
sar eax, 1
je 0x41431b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42]
push ecx
mov word [esp + 0x44], ax
call fcn.00457450
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x256]
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x208
mov word [esp + 0x258], dx
call fcn.00457450
add esp, 0x18
push 0
push 0x26
lea ecx, [esp + 0x248]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x3c]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
call esi
test eax, eax
jne 0x4141f3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x4e3abc
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [esp + 0x38]
push edx
call esi
test eax, eax
jne 0x4141f3
mov word [esp + 0x38], ax
lea eax, [esp + 0x38]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414200
sub eax, edx
sar eax, 1
je 0x414249
push 0xa
push 0
push 0x570298
lea ecx, [esp + 0x44]
push ecx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
lea edx, [esp + 8]
push edx
push 0x4e78b0
push 0x15
push 0
push 0x4e78c0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41431b
mov eax, dword [esp + 8]
test eax, eax
je 0x414303
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4142b2
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 0xc]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x570298
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor edx, edx
mov word [esp + 0x18], dx
lea edx, [esp + 0x18]
push edx
push edx
mov esi, eax
push edx
push edx
mov eax, 8
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
mov dword [esp + 0x40], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x414330
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00457450
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x208
mov word [ebp - 0x414], dx
call fcn.00457450
add esp, 0x18
push 0
push 0x26
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
jne 0x414411
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x41c]
push ecx
push 0x4e3abc
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
jne 0x414411
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
pop esi
jmp 0x414420
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414420
sub eax, edx
sar eax, 1
jne 0x41446c
lea ecx, [ebp - 0x418]
push ecx
push 0x4e78b0
push 0x15
push 0
push 0x4e78c0
mov dword [ebp - 0x418], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41447f
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x41447f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x414cd0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x170
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], 0xc3d2e1f0
call fcn.00414730
call fcn.00414650
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov esp, ebp
pop ebp
ret
Function at 0x416020
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
test dword [0x5f8b04], 0xfffffffe
mov dword [ebp - 4], 0
jne 0x416082
push 0x5f8b04
call fcn.0041a4f0
add esp, 4
test al, al
je 0x416082
mov dword [0x5f8b08], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x5f8b08], eax
cmp eax, 0xffffffff
jne 0x416069
call fcn.00416f50
push 0
push 0x5f8b04
push 0x5f8b08
push 0x5f8b04
call fcn.0041a530
add esp, 0x10
mov eax, dword [0x5f8b04]
mov esp, ebp
pop ebp
ret

Function at 0x417020
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x5f8bd8]
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x417043
call fcn.0041e790
mov ecx, str.BrokerEvent
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417070
test dl, dl
je 0x41706c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417070
add eax, 2
add ecx, 2
test dl, dl
jne 0x417050
xor eax, eax
jmp 0x417075
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4170c8
mov eax, esi
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417093
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xc]
call fcn.00403270
lea ecx, [esp + 4]
push ecx
call fcn.0041ece0
add esp, 4
cmp dword [esp + 0x1c], 0x10
jb 0x4170c8
mov edx, dword [esp + 8]
push edx
call fcn.00456e75
add esp, 4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4170db
call fcn.0041f130
test al, al
je 0x4170ec
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call fcn.00416f90
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [0x5fb08c]
push 0x10
push 1
xor bl, bl
push edi
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4171c3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ebx, eax
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4171cc
test esi, esi
je 0x4171cc
push esi
call fcn.004568b7
push esi
mov edi, eax
push ebx
push edi
call fcn.00457f10
xor esi, esi
add esp, 0x10
cmp edi, esi
je 0x4171a9
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x56fe78
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4171a9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
je 0x4171a5
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
mov bl, 1
jmp 0x4171ac
mov bl, byte [ebp - 1]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp edi, esi
je 0x4171c3
push edi
call fcn.004573a9
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4172b0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], 0
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00417420
add esp, 4
push 0x118
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x124]
push 0
push eax
mov dword [ebp - 0x128], 0x11c
call fcn.00457450
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp eax, 5
jne 0x41734a
test ecx, ecx
jle 0x417379
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x417379
cmp eax, 6
jne 0x417371
sub ecx, 0
je 0x417369
sub ecx, 1
je 0x417361
mov dword [esi], 5
jmp 0x417379
mov dword [esi], 4
jmp 0x417379
mov dword [esi], 3
jmp 0x417379
jle 0x417379
mov dword [esi], 6
movzx ecx, word [ebp - 0x14]
movzx edx, word [ebp - 0x12]
xor eax, eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x14c]
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [ebp - 0x14c], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x14c]
test eax, eax
je 0x4173f7
cmp eax, 6
je 0x4173ee
cmp eax, 9
jne 0x4173fe
mov dword [esi + 0x18], 1
jmp 0x4173fe
mov dword [esi + 0x18], 2
jmp 0x4173fe
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x130]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [esi + 0x20], edx
mov eax, esi
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x417710
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x167]
push ebx
push ecx
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 0x168], 0
call fcn.00457450
push esi
push 0x570228
mov ecx, 0x104
lea edi, [ebp - 0x168]
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1c8], 0x67452301
mov dword [ebp - 0x1c4], 0xefcdab89
mov dword [ebp - 0x1c0], 0x98badcfe
mov dword [ebp - 0x1bc], 0x10325476
call fcn.004175e0
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4177a0
sub eax, edx
lea edx, [ebp - 0x168]
push edx
lea esi, [ebp - 0x1d0]
call fcn.0041fb10
mov eax, esi
call fcn.0041fc20
mov eax, esi
call fcn.0041fc20
mov ecx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x170]
push 0x40
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x60]
push ebx
push ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
call fcn.00457450
add esp, 0x10
movzx edx, byte [ebp + ebx - 0x1c]
xor eax, eax
push edx
push 0x570a94
lea ecx, [eax + 8]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.004175e0
lea eax, [ebp - 0x60]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417823
sub eax, edx
mov ecx, 0x40
sub ecx, eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1d4], ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417840
sub eax, esi
mov dword [ebp - 0x1dc], eax
cmp eax, ecx
lea eax, [ebp - 0x1dc]
jl 0x41785f
lea eax, [ebp - 0x1d4]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x60]
push 0x40
push edx
call fcn.0045b9c3
inc ebx
add esp, 0x10
cmp ebx, 0x10
jl 0x4177fc
mov edi, dword [ebp - 0x1d8]
test edi, edi
je 0x4178ab
mov esi, dword [ebp + 0xc]
push esi
push 0
push edi
call fcn.00457450
lea eax, [ebp - 0x60]
push eax
push 0x570228
lea ecx, [esi - 1]
call fcn.004175e0
push esi
push edi
call fcn.0045b9ac
add esp, 0x1c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x417cd0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d18
call fcn.00459800
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2d14], eax
cmp eax, ebx
je 0x417e40
push esi
push edi
xor edi, edi
mov dword [ebp - 0x2d0c], ebx
mov dword [ebp - 0x2d10], edi
jmp 0x417d10
push edi
lea eax, [ebp - 0x204]
push str..PhysicalDrive_d
push eax
mov eax, 0x200
call fcn.00417640
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417e19
xor eax, eax
push 0x2710
lea edx, [ebp - 0x2cfc]
push ebx
mov dword [ebp - 0x2d08], eax
mov dword [ebp - 0x2d04], eax
push edx
mov dword [ebp - 0x2d18], ebx
mov dword [ebp - 0x2d00], eax
mov dword [ebp - 0x2d08], ebx
mov dword [ebp - 0x2d04], ebx
call fcn.00457450
add esp, 0xc
push ebx
lea eax, [ebp - 0x2d18]
push eax
push 0x2710
lea ecx, [ebp - 0x2cfc]
push ecx
push 0xc
lea edx, [ebp - 0x2d08]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x417e04
push 0x3e8
lea eax, [ebp - 0x5ec]
push ebx
push eax
call fcn.00457450
mov eax, dword [ebp - 0x2ce4]
add esp, 0xc
lea edi, [ebp - 0x5ec]
lea ecx, [ebp - 0x2cfc]
call fcn.0041f1a0
push 0x7ffffffe
mov ecx, edi
push ecx
mov ecx, dword [ebp - 0x2d14]
mov edx, 0x64
call fcn.004176b0
cmp eax, ebx
jne 0x417e04
mov dword [ebp - 0x2d0c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0c], ebx
jne 0x417e29
mov edi, dword [ebp - 0x2d10]
inc edi
cmp edi, 0x10
mov dword [ebp - 0x2d10], edi
jl 0x417d10
mov eax, dword [ebp - 0x2d0c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x418150
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x4f4], edi
test edi, edi
je 0x418338
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00457450
add esp, 0xc
lea ecx, [ebp - 0x4e0]
push ecx
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418305
mov ecx, dword [ebp - 0x4e0]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x4e4]
push edx
lea eax, [ebp - 0x2d4]
push eax
push esi
push ecx
mov dword [ebp - 0x4e4], 0x104
call ebx
test eax, eax
jne 0x4182f6
mov edi, 1
jmp 0x4181f0
mov ecx, dword [ebp - 0x4e0]
lea edx, [ebp - 0x4e8]
push edx
push edi
push 0
lea eax, [ebp - 0x2d4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4182bc
lea edx, [ebp - 0x4f0]
push edx
mov edx, dword [ebp - 0x4e8]
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x4ec]
push ecx
push 0
push str.ServiceName
push edx
mov dword [ebp - 0x4ec], edi
mov dword [ebp - 0x4f0], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4182af
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00457450
lea ecx, [ebp - 0x4dc]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00418040
add esp, 0x10
test eax, eax
je 0x4182af
cmp byte [ebp - 0x68], 0
je 0x418296
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4182af
push 0x7ffffffe
lea ecx, [ebp - 0xcc]
push ecx
mov edx, 0x64
lea ecx, [ebp - 0x68]
call fcn.004176b0
mov edx, dword [ebp - 0x4e8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x4e0]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x2d4]
push ecx
add esi, edi
push esi
push edx
mov dword [ebp - 0x4e4], 0x104
call ebx
test eax, eax
je 0x4181f0
mov edi, dword [ebp - 0x4f4]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [ebp - 0x68], 0
je 0x418338
push 0x7ffffffe
lea ecx, [ebp - 0x68]
push ecx
mov edx, 0x64
mov ecx, edi
call fcn.004176b0
xor edx, edx
test eax, eax
setge dl
pop edi
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0045759d
mov esp, ebp
pop ebp
ret
Function at 0x418550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x418690
cmp edi, 0x20
jb 0x418690
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], 0x400
call fcn.00457450
add esp, 0xc
lea ecx, [ebp - 0x50c]
push ecx
lea edx, [ebp - 0x508]
push edx
lea eax, [ebp - 0x510]
push eax
push 0x570bc0
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x418690
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4185e0
sub eax, edx
cmp eax, 0x40
jne 0x418690
push 0x20
lea ecx, [ebp - 0x508]
push ecx
lea edx, [eax + 0x40]
lea ecx, [ebp - 0x88]
call fcn.004176b0
push 0x7ffffffe
lea edx, [ebp - 0x4e8]
push edx
mov edx, 0x80
lea ecx, [ebp - 0x108]
call fcn.004176b0
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.00457450
add esp, 0xc
lea ecx, [ebp - 0x508]
push 0x400
push ecx
lea ecx, [ebp - 0x88]
call fcn.00417710
add esp, 8
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x418690
lea ecx, [ebp - 0x88]
push ecx
mov edx, edi
mov ecx, esi
call fcn.00417500
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0045759d
mov esp, ebp
pop ebp
ret