joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x20
push esi
push edi
push 0
push 0
push 0
push 0
mov edi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x40ccfc
cmp edi, 0x200
jbe 0x40cc3c
mov edi, 0x200
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push ebx
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40cc85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x40cc85
push str.WriteData__:_WriteFile_failed_
jmp 0x40ccd4
mov eax, dword [esp + 0x24]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40cccf
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x40ccb6
push str.WriteData__:_GetOverlappedResult_failed_
jmp 0x40ccd4
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x20
ret
push str.WriteData__:_WaitForSingleObject_failed_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push esi
mov dword [esp + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x20
ret
push str.WriteData__:_CreateEvent_failed_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x20
ret
Function at 0x40cd20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push str.ReadData__:_ReadData_using_overlapped_I_O__.
mov esi, eax
mov dword [esp + 0x18], 0
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebp, eax
test ebp, ebp
je 0x40ce55
xor eax, eax
cmp esi, 0x200
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
jbe 0x40cd84
mov esi, 0x200
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
push str.ReadData__:_ReadFile_return__d___gle_d_.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
test esi, esi
jne 0x40cdd2
cmp ebx, 0x3e5
je 0x40cdd2
push str.ReadData__:_ReadFile___Failed.
jmp 0x40ce2b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40ce26
mov edx, dword [esp + 0x34]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x40ce0b
push str.ReadData__:_GetOverlappedResult___Failed.
jmp 0x40ce2b
mov eax, dword [esp + 0x18]
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push str.ReadData__:_WaitForSingleObject___Failed.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push ebp
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push str.ReadData__:_CreateEvent___Failed.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret
Function at 0x40dae0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1620
call fcn.0046d4a0
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x1618], eax
push ebx
push esi
push edi
push str.InstallSIService__
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
xor ebx, ebx
push 0x206
lea eax, [esp + 0x16]
push ebx
push eax
mov word [esp + 0x1c], bx
call fcn.0046adc0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x41e]
push ebx
push ecx
mov word [esp + 0x424], bx
call fcn.0046adc0
add esp, 0xc
push 0x104
push str.SERVICE_NAME
call fcn.004277e0
push eax
lea edi, [esp + 0x424]
call fcn.00428060
push 0x1fe
lea edx, [esp + 0x21e]
push ebx
push edx
mov word [esp + 0x224], bx
call fcn.0046adc0
add esp, 0xc
lea esi, [esp + 0x218]
call fcn.0040cf00
push 1
push str.BlockSISvc
mov eax, esi
push eax
push str.SaveDwordToHKLM__s__s__d
mov dword [esp + 0x1c], 1
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0x10
push 4
push 4
lea ecx, [esp + 0x14]
push ecx
mov eax, str.BlockSISvc
mov ecx, esi
call fcn.00431b80
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4988c8
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.0046837e
add esp, 0xc
lea ecx, [esp + 0x418]
push ecx
lea edx, [esp + 0x14]
push 0x104
push edx
call fcn.0046837e
add esp, 0xc
mov edi, 0x4988cc
lea esi, [esp + 0x620]
mov word [esp + 0x620], bx
call fcn.00429b60
mov eax, esi
push eax
push 1
lea ecx, [esp + 0x18]
call fcn.00429d70
mov edi, str._stop
lea esi, [esp + 0x628]
mov word [esp + 0x628], bx
call fcn.00429b60
mov ecx, esi
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.00429d70
mov edi, str._start
lea esi, [esp + 0x630]
mov word [esp + 0x630], bx
call fcn.00429b60
mov edx, esi
push edx
push 1
lea ecx, [esp + 0x28]
call fcn.00429d70
mov ecx, dword [esp + 0x163c]
add esp, 0x18
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004677d8
add esp, 0x1620
ret
Function at 0x40dca0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
mov eax, 0x141c
call fcn.0046d4a0
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x1414], eax
push ebx
push ebp
push esi
push edi
push str.UninstallSIService__
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
xor ebx, ebx
push 0x206
lea eax, [esp + 0x16]
push ebx
push eax
mov word [esp + 0x1c], bx
call fcn.0046adc0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x21e]
push ebx
push ecx
mov word [esp + 0x224], bx
call fcn.0046adc0
add esp, 0xc
push 0x104
push str.SERVICE_NAME
call fcn.004277e0
push eax
lea edi, [esp + 0x224]
call fcn.00428060
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4988c8
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.0046837e
add esp, 0xc
mov ecx, edi
push ecx
lea edx, [esp + 0x14]
push 0x104
push edx
call fcn.0046837e
add esp, 0xc
mov edi, str._stop
lea esi, [esp + 0x420]
mov word [esp + 0x420], bx
call fcn.00429b60
mov eax, esi
push eax
push 1
lea ecx, [esp + 0x18]
call fcn.00429d70
mov edi, str._uninstall
lea esi, [esp + 0x428]
mov word [esp + 0x428], bx
call fcn.00429b60
mov ecx, esi
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.00429d70
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
xor esi, esi
nop
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ddfc
call ebp
mov ebx, eax
cmp ebx, 2
je 0x40dded
push esi
push str.Attempt__d._DeleteFile_service_exe_failed
call fcn.00426a70
mov ecx, eax
call fcn.00427100
add esp, 8
push 0x3e8
call edi
add esi, 1
cmp esi, 2
jb 0x40ddc0
mov ecx, dword [esp + 0x1424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004677d8
add esp, 0x141c
ret
Function at 0x411970
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x62c
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
mov ebp, dword [esp + 0x638]
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x1e]
push ebx
push eax
mov esi, ecx
mov word [esp + 0x24], bx
call fcn.0046adc0
add esp, 0xc
cmp esi, ebx
mov dword [esp + 0x14], ebx
mov eax, str.____ROLLBACK___
jne 0x4119bd
mov eax, 0x498194
push eax
push str.____PreInstallStep______s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
cmp esi, ebx
jne 0x411b70
cmp dword [ebp + 4], ebx
jne 0x411b70
call fcn.0040dca0
push 0x104
lea ecx, [esp + 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x206
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22c], bx
call fcn.0046adc0
add esp, 0xc
push 0x104
push str.SERVICE_NAME
call fcn.004277e0
push eax
lea edi, [esp + 0x22c]
call fcn.00428060
push ebx
lea eax, [esp + 0x42c]
push eax
lea edi, [ebp + 0x1454]
push edi
lea ecx, [esp + 0x20]
lea edx, [esp + 0x22c]
call fcn.00433360
add esp, 0xc
call fcn.0040dae0
call fcn.0040e450
test eax, eax
je 0x411b60
call fcn.0042d140
test eax, eax
jne 0x411aff
call fcn.0042a180
test eax, eax
jne 0x411aff
lea ecx, [esp + 0x18]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.DriverStaging_
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0046837e
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x49a8a0
lea esi, [ebp + 0x1a6c]
push 0x104
push esi
call fcn.00468098
add esp, 0x10
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp + 0x124c]
push edi
push ecx
mov ebx, esi
call fcn.00418050
add esp, 8
push esi
push str.Setting_INF_paths_to_Stagged_location:__s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
mov ecx, ebp
call fcn.00414dc0
xor ebx, ebx
jmp 0x411b1a
lea edx, [ebp + 0x124c]
push edx
push str.INF_paths_set_to_CD_image_location:__s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
mov eax, dword [esp + 0x644]
push eax
lea ecx, [ebp + 0x228c]
push ecx
lea edx, [ebp + 0x1c74]
lea esi, [ebp + 0x2084]
lea eax, [ebp + 0x1e7c]
push edx
call fcn.00418680
add esp, 0xc
test eax, eax
jne 0x411b60
push str.Failed_preinstall
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov eax, 3
jmp 0x411b81
cmp dword [ebp], ebx
jne 0x411b6c
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
xor eax, eax
jmp 0x411b84
add ebp, 0x28b0
push ebp
call fcn.0040dfc0
mov eax, 1
add esp, 4
mov ecx, dword [esp + 0x634]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004677d8
add esp, 0x62c
ret 8
Function at 0x414c40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48991b
mov eax, dword fs:[0]
push eax
sub esp, 0x59c
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x598], eax
push esi
push edi
mov eax, dword [0x4bc7b8]
xor eax, esp
push eax
lea eax, [esp + 0x5a8]
mov dword fs:[0], eax
push str.____RebootStep____
mov esi, ecx
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push 0
lea eax, [esp + 0x30]
push eax
call fcn.00442c10
add esi, 0x614
push esi
lea ecx, [esp + 0xc4]
push 0x100
push ecx
mov dword [esp + 0x5bc], 0
call fcn.00467e2b
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov ecx, 8
lea esi, [esp + 0x18]
lea edi, [esp + 0x2f0]
mov dword [esp + 0x28], 0x1f1
mov dword [esp + 0x2c], 0x1f2
mov dword [esp + 0x18], 0x113
mov dword [esp + 0x20], 0xcc
rep movsd dword es:[edi], dword [esi]
mov esi, 1
add esp, 0xc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x320], esi
mov dword [esp + 0xb4], esi
call fcn.00450769
cmp eax, 0x64
jne 0x414d66
push str.Needs_reboot.__Returning_TRUE.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5b0], 0xffffffff
call fcn.00442d90
mov eax, esi
jmp 0x414d90
push str.Needs_reboot.__User_chose_NOT_to_Reboot.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5b0], 0xffffffff
call fcn.00442d90
xor eax, eax
mov ecx, dword [esp + 0x5a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x598]
xor ecx, esp
call fcn.004677d8
add esp, 0x5a8
ret

Function at 0x415110
Capabilities:
Hide graphical window

Disassembly:
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0xcf0000
push str.HPIP1100
push str.HPIP1100
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [0x4c4adc], eax
jne 0x41515f
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateWindow_failed__gle_d
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
xor eax, eax
pop edi
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4c4adc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
ret
Function at 0x415940
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x415995
mov ax, word [esp]
cmp al, 1
jne 0x41598a
cmp ah, al
jne 0x41598a
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004677d8
add esp, 0x19c
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004677d8
add esp, 0x19c
ret
Function at 0x4164d0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push str.Mvnwiwzd32.dll
mov byte [esi], 0
mov byte [esi + 1], 0
mov dword [esi + 0x10ac], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x10ac], eax
je 0x4165f7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RunNtwkSetupDialogs
push eax
call edi
test eax, eax
mov dword [esi + 0x10b0], eax
je 0x4165f6
mov eax, dword [esi + 0x10ac]
push str.RunNtwkSetupDialogs2
push eax
call edi
test eax, eax
mov dword [esi + 0x10b4], eax
je 0x4165f6
mov ecx, dword [esi + 0x10ac]
push str.GetNtwkPrinterInfo
push ecx
call edi
test eax, eax
mov dword [esi + 0x10b8], eax
je 0x4165f6
mov edx, dword [esi + 0x10ac]
push str.CreateNtwkPort
push edx
call edi
test eax, eax
mov dword [esi + 0x10bc], eax
je 0x4165f6
mov eax, dword [esi + 0x10ac]
push str.IsFirewallEnabled
push eax
call edi
test eax, eax
mov dword [esi + 0x10c0], eax
jne 0x416592
push str.Failed_to_load_the_ISFIREWALLENABLED_FUNCTIONNAME
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
ret
mov ecx, dword [esi + 0x10ac]
push str.SetupFirewall
push ecx
call edi
test eax, eax
mov dword [esi + 0x10c4], eax
jne 0x4165b9
push str.Failed_to_load_the_SETUPFIREWALL_FUNCTIONNAME
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
ret
mov edx, dword [esi + 0x10ac]
push str.RemoveFirewall
push edx
call edi
test eax, eax
mov dword [esi + 0x10c8], eax
jne 0x4165e0
push str.Failed_to_load_the_REMOVEFIREWALL_FUNCTIONNAME
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
ret
push 0x10a8
lea eax, [esi + 4]
push 0
push eax
call fcn.0046adc0
add esp, 0xc
mov byte [esi], 1
pop edi
mov eax, esi
ret
Function at 0x417920
Capabilities:
Create directory

Disassembly:
sub esp, 0x220
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x228]
push esi
push edi
push str.StageWifiFiles__
mov esi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
xor eax, eax
push 0x206
push eax
lea edx, [esp + 0x22]
push edx
mov dword [esp + 0x18], eax
mov word [esp + 0x24], ax
call fcn.0046adc0
add esp, 0xc
push 1
push ebx
push esi
lea ecx, [esp + 0x18]
mov edx, str.SLPConf.xml
call fcn.00433360
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 1
push ebx
push edi
lea ecx, [esp + 0x18]
mov edx, str.wificonfig.exe
call fcn.00433360
add esp, 0xc
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push ebx
push esi
lea ecx, [esp + 0x18]
mov edx, str.mvhtmlcfg.exe
call fcn.00433360
add esp, 0xc
push 1
push ebp
push edi
lea ecx, [esp + 0x18]
mov edx, str.mvwifisetup.dll
call fcn.00433360
add esp, 0xc
push 1
push ebp
push edi
lea ecx, [esp + 0x18]
mov edx, str.mvwifisetup.xml
call fcn.00433360
add esp, 0xc
push 1
push ebp
push edi
lea ecx, [esp + 0x18]
mov edx, str.WifiWindowsService.exe
call fcn.00433360
add esp, 0xc
push 1
push ebx
push esi
lea ecx, [esp + 0x18]
mov edx, str.mvhtmlcfg.xml
call fcn.00433360
add esp, 0xc
push 1
push ebx
push esi
lea ecx, [esp + 0x18]
mov edx, str.Mvnwiwzd32.dll
call fcn.00433360
add esp, 0xc
push 1
push ebx
push esi
lea ecx, [esp + 0x18]
mov edx, str.slp32.dll
call fcn.00433360
add esp, 0xc
push 1
push ebx
push esi
lea ecx, [esp + 0x18]
mov edx, str.NWI32.xml
call fcn.00433360
add esp, 0xc
push str.PortMonitorInstaller32.msi
push ebx
push 0x498c0c
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.00468098
add esp, 0x14
push str.PortMonitorInstaller32.msi
push ebx
push 0x498c0c
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.00468098
add esp, 0x14
lea esi, [esp + 0x18]
call fcn.00433730
push str.PortMonitorInstaller64.msi
push ebx
push 0x498c0c
mov edx, esi
push 0x104
push edx
call fcn.00468098
add esp, 0x14
call fcn.00433730
cmp dword [esp + 0xc], 0
jne 0x417ad4
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004677d8
add esp, 0x220
ret
Function at 0x419ea0
Capabilities:
Delete directory
Enumerate files on windows
Set file attributes

Disassembly:
sub esp, 0x46c
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x26e]
mov ebx, ecx
push edi
push eax
mov dword [esp + 0x20], ebx
mov esi, edx
mov word [esp + 0x274], di
call fcn.0046adc0
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x10], edi
je 0x419ef6
jmp 0x419ef0
mov eax, dword [eax]
cmp eax, edi
jne 0x419ef0
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.0045632d
push ebx
lea ecx, [esp + 0x26c]
push 0x104
push ecx
mov dword [esi + 0x14], edi
call fcn.00467e2b
add esp, 0xc
push 0x49bf20
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a03e
mov ebp, 1
lea esp, [esp]
mov ecx, 0x49e948
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419f96
cmp dx, di
je 0x419f92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419f96
add eax, 4
add ecx, 4
cmp dx, di
jne 0x419f70
xor eax, eax
jmp 0x419f9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x41a001
mov ecx, 0x49e94c
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419fce
cmp dx, di
je 0x419fca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419fce
add eax, 4
add ecx, 4
cmp dx, di
jne 0x419fa8
xor eax, eax
jmp 0x419fd3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x41a001
mov edx, dword [esi + 4]
push edx
push edi
xor ebp, ebp
call fcn.0041b630
lea ecx, [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x419ff6
mov dword [ecx + 4], eax
jmp 0x419ff9
mov dword [esi + 8], eax
add dword [esp + 0x10], 1
mov dword [esi + 4], eax
lea edx, [esp + 0x18]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x419f60
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, edi
jne 0x41a027
mov eax, dword [esp + 0x10]
jmp 0x41a040
mov esi, dword [esp + 0x14]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov ecx, dword [esp + 0x474]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004677d8
add esp, 0x46c
ret
Function at 0x41d800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x4bc7b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test ebx, ebx
mov eax, str.____ROLLBACK___
jne 0x41d832
mov eax, 0x498194
push eax
push str.____PreUninstallStep______s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
test ebx, ebx
je 0x41d861
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
push 0xa
lea ecx, [esp + 0x10]
call fcn.00451be2
mov dword [esp + 0x2c], 0
push 1
push 0
lea edi, [esi + 0x10b8]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
call fcn.0042fb70
push edi
mov dword [esi + 0x1030], eax
call fcn.004305a0
push eax
mov dword [esi + 0x1034], eax
mov eax, dword [esi + 0x1030]
push eax
push str.PrinterCount_d__driverInstalled_d
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
cmp dword [esi + 0x1030], 0
jne 0x41d8fa
or ecx, 0xffffffff
mov dword [esi + 0x105c], ecx
mov dword [esi + 0x1060], 0
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xc]
call fcn.00451dd5
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
push esi
call fcn.0041cc50
cmp eax, 2
jne 0x41d940
push str.User_chose_not_to_uninstall_drivers.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00451dd5
mov eax, 2
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
or ecx, 0xffffffff
cmp eax, ecx
jne 0x41d8da
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xc]
call fcn.00451dd5
mov eax, 3
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
Function at 0x41e390
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48965b
mov eax, dword fs:[0]
push eax
sub esp, 0x7a4
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x7a0], eax
push esi
push edi
mov eax, dword [0x4bc7b8]
xor eax, esp
push eax
lea eax, [esp + 0x7b0]
mov dword fs:[0], eax
push str.____Uninstall_RebootStep____
mov esi, ecx
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push 0
lea eax, [esp + 0x38]
push eax
call fcn.00442c10
add esi, 0x410
push esi
lea ecx, [esp + 0xcc]
push 0x100
push ecx
mov dword [esp + 0x7c4], 0
call fcn.00467e2b
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ecx, 8
lea esi, [esp + 0x20]
lea edi, [esp + 0x2f8]
mov dword [esp + 0x30], 0x1f1
mov dword [esp + 0x34], 0x1f2
mov dword [esp + 0x20], 0x113
mov dword [esp + 0x28], 0xcc
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x328], 1
mov dword [esp + 0xbc], 1
call fcn.00450769
cmp eax, 0x64
jne 0x41e528
push 0x1fe
lea edx, [esp + 0x5b2]
push 0
push edx
mov word [esp + 0x5b8], 0
call fcn.0046adc0
add esp, 0xc
push str.Needs_reboot.__Returning_TRUE.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea esi, [esp + 0x5ac]
call fcn.0040cf00
push 1
push str.RebootNeeded
mov eax, esi
push eax
push str.SaveDwordToHKLM__s__s__d
mov dword [esp + 0x20], 1
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0x10
push 4
push 4
lea ecx, [esp + 0x18]
push ecx
mov eax, str.RebootNeeded
mov ecx, esi
call fcn.00431b80
lea ecx, [esp + 0x34]
mov dword [esp + 0x7b8], 0xffffffff
call fcn.00442d90
mov eax, 1
jmp 0x41e552
push str.Needs_reboot.__User_chose_NOT_to_Reboot.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x7b8], 0xffffffff
call fcn.00442d90
xor eax, eax
mov ecx, dword [esp + 0x7b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7a0]
xor ecx, esp
call fcn.004677d8
add esp, 0x7b0
ret

Function at 0x41e580
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x11c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x41e5b8
mov eax, 1
cmp dword [esp + 8], eax
je 0x41e5ba
xor eax, eax
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004677d8
add esp, 0x120
ret