joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ef7e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
push edi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call sub.gdiplus.dll_GdiplusStartup
push dword [ebp + 0x10]
movzx eax, word [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x41f064
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, esi
je 0x41f063
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, esi
je 0x41f063
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x41f063
push ebx
push edi
push eax
call fcn.0043e250
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp + 0xc], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41f063
push dword [ebp + 0xc]
call fcn.0041f2f1
pop ecx
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
je 0x41f063
mov eax, dword [edi + 8]
mov dword [edi + 8], esi
cmp eax, esi
jne 0x41f05b
push esi
lea eax, [ebp - 0xc]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, esi
je 0x41f05b
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
pop ebx
push dword [ebp - 8]
call sub.gdiplus.dll_GdiplusShutdown
cmp dword [ebp - 4], esi
pop edi
pop esi
je 0x41f07c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x41f5d1
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41f619
push dword [ebp - 4]
push esi
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x41f64e
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x41f61e
sub eax, ecx
sar eax, 1
mov dword [ebp - 4], eax
lea eax, [esi + eax*2]
cmp word [eax - 2], 0x5c
je 0x41f649
push 0x5c
pop ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [esi + ecx*2 + 2], ax
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x421709
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2c9c]
mov eax, 0x2d1c
call fcn.0045fdc0
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x2c98], eax
mov eax, dword [ebp + 0x2ca4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x421822
push esi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
push edi
push dword [ebp - 0x70]
mov eax, 0x200
push 0x47865c
lea edi, [ebp + 0x2a98]
call fcn.00418ba5
pop ecx
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x42180e
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x2710
push esi
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.0043e1d0
add esp, 0xc
push ebx
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x60]
push eax
push 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x2d1400
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x421800
push 0x3e8
lea eax, [ebp + 0x26b0]
push ebx
push eax
call fcn.0043e1d0
mov eax, dword [ebp - 0x48]
add esp, 0xc
lea esi, [ebp + 0x26b0]
lea ecx, [ebp - 0x60]
call fcn.00428023
mov edx, dword [ebp - 0x7c]
mov eax, esi
push eax
push 0x64
pop ecx
call fcn.00421003
test eax, eax
jne 0x421800
mov dword [ebp - 0x74], 1
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x74], ebx
jne 0x42181b
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x10
jl 0x421744
mov eax, dword [ebp - 0x74]
pop edi
pop esi
jmp 0x421824
xor eax, eax
mov ecx, dword [ebp + 0x2c98]
xor ecx, ebp
pop ebx
call fcn.0043b155
add ebp, 0x2c9c
leave
ret
Function at 0x421ee4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x4fc
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
xor ebx, ebx
mov dword [ebp - 0x488], eax
cmp eax, ebx
je 0x422086
push 0x64
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x470]
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422064
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x474], ebx
push ebx
jmp 0x42203d
lea eax, [ebp - 0x47c]
push eax
push 1
push ebx
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42201f
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x480]
push eax
push ebx
push 0x4787ec
push dword [ebp - 0x47c]
mov dword [ebp - 0x480], 1
mov dword [ebp - 0x484], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422013
push 0x64
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0043e1d0
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00421de7
add esp, 0x10
test eax, eax
je 0x422013
cmp byte [ebp + 0xc], bl
je 0x422000
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x422013
push SysReAllocString
push 0x64
lea eax, [ebp - 0x58]
pop ecx
lea edx, [ebp + 0xc]
call fcn.00421151
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x474]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x474]
push dword [ebp - 0x470]
mov dword [ebp - 0x478], 0x104
call esi
test eax, eax
je 0x421f63
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
cmp byte [ebp + 0xc], bl
je 0x422086
mov edx, dword [ebp - 0x488]
lea eax, [ebp + 0xc]
push eax
push 0x64
pop ecx
call fcn.00421003
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x422088
xor eax, eax
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop ebx
call fcn.0043b155
add ebp, 0x74
leave
ret
Function at 0x422234
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
test ebx, ebx
je 0x422350
mov esi, 0x400
push esi
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], esi
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x510]
push eax
push 0x478820
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x422350
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4222b2
sub eax, edx
cmp eax, 0x40
jne 0x422350
push 0x20
lea eax, [ebp - 0x508]
mov ecx, 0x80
lea edx, [ebp - 0x88]
call fcn.00421151
push SysReAllocString
lea eax, [ebp - 0x4e8]
mov ecx, 0x80
lea edx, [ebp - 0x108]
call fcn.00421151
push esi
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x508]
push esi
push eax
lea ecx, [ebp - 0x88]
call fcn.00421251
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x422350
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x103
mov edx, ebx
call fcn.00421003
neg eax
sbb eax, eax
inc eax
jmp 0x422352
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043b155
leave
ret
Function at 0x4226b6
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a8
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x478858
lea edi, [ebp + 0x58]
rep movsd dword es:[edi], dword [esi]
push 0x1a
mov ebx, 0x104
mov ecx, 0xd3a
pop eax
lea edx, [ebp + 0x58]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsw word es:[edi], word [esi]
call fcn.00422680
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.ExeString
lea eax, [ebp + 0x58]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x422748
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x422748
xor eax, eax
inc eax
jmp 0x422859
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0043e1d0
add esp, 0xc
push 0xf
pop ecx
mov esi, 0x478880
lea edi, [ebp + 0x1c]
lea eax, [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42277d
sub eax, esi
mov ecx, 0xd3c
lea edx, [ebp + 0x1c]
call fcn.00422680
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x478078
lea eax, [ebp + 0x1c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4227d5
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x422740
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0043e1d0
add esp, 0xc
push 0xf
pop ecx
mov esi, 0x4788bc
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0x3d
mov ecx, 0xd3c
pop eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsb byte es:[edi], byte [esi]
call fcn.00422680
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x478078
lea eax, [ebp - 0x24]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x422857
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x422740
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
add ebp, 0x78
leave
ret
Function at 0x42286b
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push eax
push 0x26
lea ecx, [ebp - 0x230]
push ecx
push eax
mov dword [ebp - 0x894], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x422a2f
mov esi, 0x4788fc
lea edi, [ebp - 0x28]
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, 0x478910
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0xd3e
push 0x11
mov ecx, esi
pop eax
lea edx, [ebp - 0x28]
call fcn.00422680
push 0xe
mov ecx, esi
pop eax
lea edx, [ebp - 0x14]
call fcn.00422680
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x28]
push eax
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x4228fb
and dword [ebp - 0x89c], 0
jmp 0x422917
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.004176c1
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x422931
and dword [ebp - 0x898], 0
jmp 0x42294d
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.004176c1
mov dword [ebp - 0x898], eax
push dword [ebp - 0x89c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x478920
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x640]
push eax
call edi
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x422a29
test byte [ebp - 0x890], 0x10
je 0x422a04
cmp word [ebp - 0x864], 0x2e
jne 0x4229cd
cmp word [ebp - 0x862], 0
je 0x422a04
cmp word [ebp - 0x862], 0x2e
jne 0x4229cd
cmp word [ebp - 0x860], 0
je 0x422a04
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x438]
push eax
call edi
push dword [ebp - 0x898]
lea eax, [ebp - 0x438]
push eax
call esi
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422a18
lea eax, [ebp - 0x890]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42299c
jmp 0x422a22
mov dword [ebp - 0x894], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x894]
lea esp, [ebp - 0x8a8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x422a44
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478910
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0xd3e
push 0xe
mov ecx, ebx
pop eax
lea edx, [ebp - 0x24]
movsw word es:[edi], word [esi]
call fcn.00422680
mov esi, 0x478924
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xd
mov ecx, ebx
pop eax
lea edx, [ebp - 0x14]
movsb byte es:[edi], byte [esi]
call fcn.00422680
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x422ac3
and dword [ebp - 0x254], 0
jmp 0x422adf
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.004176c1
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x422af4
xor ebx, ebx
jmp 0x422b0c
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.004176c1
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x422b78
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422b71
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x422b67
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x422b67
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422b33
jmp 0x422b71
mov dword [ebp - 0x258], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x422bb8
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 0x14
mov eax, 0x46b1fe
call fcn.00443747
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.0043e1d0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Uninstallstring
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDriverGenius
mov esi, 0x208
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
call edi
cmp word [ebp], bx
je 0x422c6f
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402ad3
mov dword [ebp - 4], ebx
lea ebx, [ebp - 0x1c]
call fcn.00424a3e
call fcn.00424a89
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422c5e
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004031f6
xor ebx, ebx
push esi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x18], esi
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Uninstallstring
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDriverGenius2010
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp word [ebp], bx
je 0x422ce3
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402ad3
lea ebx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00424a3e
call fcn.00424a89
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422cd8
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x14]
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 0x423015
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x223]
push ebx
push eax
mov byte [ebp - 0x224], bl
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x327]
push ebx
push eax
mov byte [ebp - 0x328], bl
call fcn.0043e1d0
add esp, 0x24
push ebx
push 0x26
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x423131
push edi
mov esi, 0x478d88
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x478d90
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc]
movsw word es:[edi], word [esi]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4230a9
sub eax, edx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422680
lea eax, [ebp - 0x1c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4230c7
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x1c]
call fcn.00422680
push SysReAllocString
lea eax, [ebp - 0x224]
mov ecx, 0x104
lea edx, [ebp - 0x120]
call fcn.00421151
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
leave
ret
Function at 0x42313f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478d90
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
movsw word es:[edi], word [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423168
sub eax, edx
mov ebx, 0x237f
mov ecx, ebx
lea edx, [ebp - 0x24]
call fcn.00422680
mov esi, 0x478da0
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423192
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x14]
call fcn.00422680
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x4231d6
and dword [ebp - 0x254], 0
jmp 0x4231f2
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.004176c1
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x423207
xor edi, edi
jmp 0x42321f
lea eax, [ebx + ebx]
call fcn.0044da50
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004176c1
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42328b
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x423284
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x42327a
push edi
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x42327a
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423246
jmp 0x423284
mov dword [ebp - 0x258], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x4232c8
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov byte [ebp - 0x130], 0
call fcn.0043e1d0
add esp, 0xc
push 7
pop ecx
mov esi, 0x478db0
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478dcc
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
pop edi
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0x104
lea ecx, [eax + 1]
pop esi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42332e
sub eax, ecx
mov ecx, 0x837
lea edx, [ebp - 0x2c]
call fcn.00422680
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42334a
sub eax, ecx
mov ecx, 0x844
lea edx, [ebp - 0x10]
call fcn.00422680
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
push str.ProgramPath
lea eax, [ebp - 0x2c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4233b9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x4233b9
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4233b9
xor eax, eax
inc eax
jmp 0x4233bb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret