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

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x194]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 0x198]
push str._bInitDriver__Extract_path___s_n
push esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
call fcn.00550c05
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
add esp, 0xc
lea eax, [esi + 4]
push eax
mov edi, 0x200
push edi
call ebx
lea eax, [esi + 4]
push eax
push str._bInitDriver__GetCurrentDirectory___s_n
push esi
call fcn.00550c05
add esp, 0xc
push edi
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x78]
push eax
push str._bInitDriver__GetModuleFileName___s_n
push esi
call fcn.00550c05
add esp, 0xc
mov ecx, esi
call fcn.00550c88
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp + 0x19c]
mov dword [esi + 0x20c], eax
lea eax, [esi + 0x410]
je 0x54eb2a
push dword [ebp - 0x7c]
push edi
push eax
call fcn.0057a7c3
add esp, 0xc
jmp 0x54eb2e
push eax
push edi
call ebx
push str.cpuz158
push 0x40
push dword [esi + 0xb3c]
call fcn.00439b20
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], 0x158
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd48]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd4c]
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd50]
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd54]
mov dword [eax + 0x50], ecx
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0xb3c]
mov ecx, esi
call fcn.0054e8a7
xor ebx, ebx
mov edi, eax
inc ebx
test edi, edi
jne 0x54ec39
cmp dword [ebp - 0x7c], 0x241
jne 0x54ec39
mov ecx, esi
call fcn.0054e858
push edi
push ebx
push ebx
mov ecx, esi
call fcn.0054e6b5
push str.cpuz152
push 0x40
push dword [esi + 0xb3c]
call fcn.00439b20
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], 0x152
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd48]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd58]
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd5c]
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd54]
mov dword [eax + 0x50], ecx
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0xb3c]
mov ecx, esi
call fcn.0054e8a7
mov edi, eax
push dword [ebp - 0x7c]
push str._bInitDriver__bInitDriver_returned__d_n
push esi
call fcn.00550c05
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
add esp, 0xc
mov ecx, esi
call fcn.0054e858
test edi, edi
jne 0x54ec6b
push edi
push ebx
push ebx
mov ecx, esi
call fcn.0054e6b5
xor eax, eax
jmp 0x54ec74
and dword [esi + 0xd44], 0
mov eax, edi
mov ecx, dword [ebp + 0x188]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057943e
add ebp, 0x18c
leave
ret 0xc
Function at 0x550c05
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
lea esi, [edi + 0xb34]
push 0x5c0498
add edi, 0xb40
push edi
push esi
call fcn.0057a589
add esp, 0xc
cmp dword [esi], 0
je 0x550c7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0057a4a8
lea eax, [ebp - 0x104]
push eax
push dword [esi]
call fcn.0057b59a
push dword [esi]
call fcn.00579bf4
add esp, 0x1c
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057943e
leave
ret
Function at 0x550c88
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov edi, 0x9c
push edi
lea eax, [ebp - 0x28]
push 0
push eax
mov esi, ecx
call fcn.0057ad60
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push eax
call edi
test eax, eax
jne 0x550cfb
mov ebx, 0x94
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0057ad60
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
call edi
test eax, eax
jne 0x550cfb
push str._vGetOSVersion__GetVersionEx_returned_NULL_n
push esi
call fcn.00550c05
pop ecx
pop ecx
jmp 0x550e57
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push edx
push ecx
push eax
push str._vGetOSVersion__m_iOSVersion___d___d._d__n
push esi
mov dword [esi + 0xb10], eax
mov dword [esi + 0xb14], ecx
mov dword [esi + 0xb18], edx
call fcn.00550c05
add esp, 0x14
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push 0x5a0624
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x550d84
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.GetNativeSystemInfo
push ebx
call edi
test eax, eax
je 0x550d67
lea ecx, [ebp - 0x5c]
push ecx
call eax
push str.IsWow64Process
push ebx
call edi
push str.IsWow64Process2
push ebx
mov dword [ebp - 0x2c], eax
call edi
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
movzx eax, word [ebp - 0x5c]
mov dword [esi + 0xb2c], eax
dec eax
dec eax
push 1
pop edi
je 0x550dd8
sub eax, 3
je 0x550da9
dec eax
je 0x550dd0
dec eax
je 0x550dd8
dec eax
dec eax
je 0x550db1
sub eax, 3
jne 0x550dde
mov dword [esi + 0xb28], edi
jmp 0x550dde
cmp dword [ebp - 0x2c], 0
je 0x550dde
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x2c]
test eax, eax
je 0x550dde
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xb1c], eax
jmp 0x550dde
mov dword [esi + 0xb20], edi
jmp 0x550dde
mov dword [esi + 0xb24], edi
xor eax, eax
cmp dword [ebp - 0x34], eax
je 0x550e31
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x550e31
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x30]
push eax
push str._vGetOSVersion__process_machine0x_X__native_machine0x_X_n
push esi
call fcn.00550c05
mov eax, 0xaa64
add esp, 0x10
cmp word [ebp - 0x2c], ax
jne 0x550e31
and dword [esi + 0xb1c], 0
mov dword [esi + 0xb28], edi
push dword [esi + 0xb28]
push dword [esi + 0xb24]
push dword [esi + 0xb20]
push dword [esi + 0xb1c]
push str._vGetOSVersion__IsAMD64_d__IsIA64_d__IsAlpha_d__IsARM_d_n
push esi
call fcn.00550c05
add esp, 0x18
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057943e
add ebp, 0x78
leave
ret
Function at 0x5511a7
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x2a8
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp + 0x224], eax
and dword [ebp - 0x7c], 0
push esi
push edi
mov edi, dword [ebp + 0x234]
mov esi, 0x9c
push esi
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x80], ecx
call fcn.0057ad60
add esp, 0xc
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x551217
push 0x94
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0057ad60
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x94
call esi
push edi
mov esi, 0x200
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.00439b20
mov eax, dword [ebp - 0x68]
add esp, 0xc
dec eax
je 0x5512a5
dec eax
jne 0x5512ba
cmp dword [ebp - 0x74], 4
push edi
push str.Global_s
lea eax, [ebp + 0x24]
push esi
push eax
ja 0x55129b
call fcn.00439b20
add esp, 0x10
lea eax, [ebp + 0x24]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
test eax, eax
je 0x551280
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp + 0x24]
mov ecx, dword [ebp - 0x80]
push eax
push dword [ebp + 0x230]
call fcn.00550ed5
jmp 0x5512b7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
lea eax, [ebp + 0x24]
je 0x55126f
push edi
push esi
push eax
call fcn.00439b20
add esp, 0xc
jmp 0x55126c
call fcn.00439b20
add esp, 0x10
jmp 0x55126c
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x230]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp + 0x224]
mov eax, dword [ebp - 0x7c]
pop edi
xor ecx, ebp
pop esi
call fcn.0057943e
add ebp, 0x228
leave
ret 8
Function at 0x5512d6
Capabilities:
Create service

Disassembly:
push ebp
lea ebp, [esp - 0x98c]
sub esp, 0xa0c
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp + 0x988], eax
mov eax, dword [ebp + 0x998]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x994]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x80], eax
lea eax, [edi + 0x610]
push eax
mov esi, 0x200
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.0057a7c3
lea eax, [ebp + 0x788]
push eax
call fcn.0057bb80
lea eax, [ebp + eax + 0x788]
add esp, 0x10
cmp byte [eax - 1], 0x5c
je 0x551345
mov byte [eax], 0x5c
mov byte [eax + 1], 0
lea eax, [edi + 0xa10]
push eax
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.00439c00
lea eax, [ebp + 0x788]
push eax
push str._WinNT_bCreateService__szDestName___s_n
push edi
call fcn.00550c05
add esp, 0x18
push esi
lea eax, [ebp + 0x388]
push eax
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 1
push 0
call ebx
push esi
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x788]
push eax
push 1
xor esi, esi
push esi
call ebx
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
push 1
push 3
push 1
push 0xf01ff
lea eax, [ebp + 0x388]
push eax
push eax
push dword [edi + 0x208]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x5513fa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str._WinNT_bCreateService__CreateService_failed__error_code___d_n
push edi
mov dword [ebp - 0x7c], eax
call fcn.00550c05
mov eax, dword [ebp - 0x7c]
add esp, 0xc
xor ebx, ebx
sub eax, 5
je 0x55142c
sub eax, 0x42b
je 0x55142c
dec eax
jne 0x55142c
inc ebx
mov dword [ebp - 0x7c], esi
jmp 0x55142c
push str._WinNT_bCreateService__CreateService_succeeded_n
push edi
call fcn.00550c05
pop ecx
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, esi
jne 0x55142c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str._WinNT_bCreateService__CloseServiceHandle_failed__errorcode___d_n
push edi
mov dword [ebp - 0x7c], eax
call fcn.00550c05
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x988]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0057943e
add ebp, 0x98c
leave
ret 8
Function at 0x551450
Capabilities:
Delete service

Disassembly:
push ebp
push esi
push edi
push 0xf01ff
push dword [esp + 0x14]
mov esi, ecx
push dword [esi + 0x208]
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, eax
test ebp, ebp
jne 0x55148b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push edi
push str._WinNT_dwDeleteService__Openservice_failed__errorcode___d_n
push esi
call fcn.00550c05
add esp, 0xc
jmp 0x5514cf
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x5514b0
call ebx
mov edi, eax
push edi
push str._WinNT_dwDeleteService__DeleteService_failed__errorcode___d_n
push esi
call fcn.00550c05
add esp, 0xc
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x5514ce
call ebx
mov edi, eax
push edi
push str._WinNT_dwDeleteService__CloseServiceHandle_failed__errorcode___d_n
push esi
call fcn.00550c05
add esp, 0xc
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x5514d7
Capabilities:
Start service

Disassembly:
push ebx
push esi
push 0xf01ff
push dword [esp + 0x10]
mov ebx, ecx
push dword [ebx + 0x208]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x55151e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push str._WinNT_bStartService__OpenService_failed__error_code___d_n
push ebx
call fcn.00550c05
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
pop esi
pop ebx
ret 8
push ebp
push edi
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
test edi, edi
jne 0x551586
call ebp
mov esi, eax
push esi
push str._WinNT_bStartService__StartService_failed__error_code___d_n
push ebx
call fcn.00550c05
add esp, 0xc
mov eax, 0x420
cmp esi, eax
ja 0x551571
je 0x55156a
mov eax, esi
dec eax
dec eax
je 0x551584
dec eax
je 0x551584
sub eax, 0x23e
je 0x551584
sub eax, 0x45
jmp 0x551584
xor edi, edi
xor esi, esi
inc edi
jmp 0x551586
mov eax, esi
sub eax, 0x422
je 0x551584
sub eax, 0x1a
je 0x551584
sub eax, 0xbf
xor edi, edi
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x5515a7
call ebp
mov esi, eax
push esi
push str._WinNT_bStartService__CloseServiceHandle_failed__errorcode___d_n
push ebx
call fcn.00550c05
add esp, 0xc
mov eax, edi
pop edi
pop ebp
jmp 0x551513
Function at 0x5515b0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push esi
push edi
push 0xf01ff
push dword [ebp + 8]
mov edi, ecx
push dword [edi + 0x208]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x5515f9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push str._WinNT_dwStopService__OpenService_failed__errorcode___d_n
push edi
call fcn.00550c05
add esp, 0xc
mov eax, esi
jmp 0x5516bb
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ControlService]
lea eax, [ebp - 0x20]
push eax
push 4
push esi
call ebx
test eax, eax
je 0x55167a
push dword [ebp - 0x1c]
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_INTERROGATE__status__0x_X_n
push edi
call fcn.00550c05
add esp, 0xc
cmp dword [ebp - 0x1c], 1
je 0x551692
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call ebx
test eax, eax
je 0x55166c
push dword [ebp - 0x1c]
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_STOP__status__0x_X_n
push edi
call fcn.00550c05
add esp, 0xc
cmp dword [ebp - 0x1c], 3
jne 0x551692
lea esi, [edi + 0x204]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [esi], 0xffffffff
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp + 8]
call ebx
push eax
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_STOP__failed__pending__result___d_n
jmp 0x551689
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_STOP__failed__errorcode___d_n
jmp 0x551686
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_INTERROGATE__failed__errorcode___d_n
mov dword [ebp - 4], eax
push edi
call fcn.00550c05
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
test eax, eax
jne 0x5516b8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str._WinNT_dwStopService__CloseServiceHandle_failed__errorcode___d_n
push edi
mov dword [ebp - 4], eax
call fcn.00550c05
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x551779
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x210]
push edi
mov dword [ebp - 4], 0x200
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push edi
push str._WinNT_bInstallDriver__szMachineName___s_n
push esi
call fcn.00550c05
add esp, 0xc
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [esi + 0x208], eax
cmp eax, ebx
jne 0x5517f3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push edi
push str._WinNT_bInstallDriver__OpenSCManager_failed__error_code___d_n
push esi
call fcn.00550c05
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov edi, dword [ebp + 8]
cmp dword [esi + 0x20c], ebx
je 0x551855
mov dword [ebp + 8], ebx
cmp dword [esi + 0xb1c], ebx
je 0x55180e
push dword [edi + 0x48]
jmp 0x55182e
cmp dword [esi + 0xb20], ebx
je 0x55181b
push dword [edi + 0x50]
jmp 0x55182e
cmp dword [esi + 0xb24], ebx
jne 0x551855
cmp dword [esi + 0xb28], ebx
jne 0x551855
push dword [edi + 0x44]
mov ecx, esi
call fcn.00551d7f
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x551855
push str._WinNT_bInstallDriver__Unable_to_extract_driver_file_n
push esi
call fcn.00550c05
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, ebx
jmp 0x5517ec
lea eax, [ebp + 8]
push eax
push edi
mov ecx, esi
call fcn.005512d6
mov ebx, eax
test ebx, ebx
je 0x551881
lea eax, [ebp + 8]
push eax
push edi
mov ecx, esi
call fcn.005514d7
mov ebx, eax
test ebx, ebx
jne 0x551881
push edi
mov ecx, esi
call fcn.00551450
mov eax, dword [esi + 0x208]
test eax, eax
je 0x551849
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x551849
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str._WinNT_bInstallDriver__CloseServiceHandle_failed__errorcode___d_n
push esi
call fcn.00550c05
add esp, 0xc
jmp 0x551849
Function at 0x5519da
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
lea eax, [ebp - 0x80]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
lea edi, [esi + 0x610]
push edi
call fcn.0057bb80
pop ecx
test eax, eax
jle 0x551a45
cmp byte [esi + eax + 0x60f], 0x5c
lea eax, [esi + 0xa10]
push eax
push edi
lea eax, [ebp - 0x6c]
jne 0x551a30
push str._s_s
jmp 0x551a35
push 0x5c0cd4
push 0x200
push eax
call fcn.00439b20
add esp, 0x14
jmp 0x551a62
lea eax, [esi + 0xa10]
push eax
push 0x5a0fa0
lea eax, [ebp - 0x6c]
push 0x200
push eax
call fcn.00439b20
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x551a8e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x6c]
push eax
push str._bDeleteFile__DeleteFile__s_failed__error___d__n
push esi
call fcn.00550c05
add esp, 0x10
jmp 0x551aa0
lea eax, [ebp - 0x6c]
push eax
push str._bDeleteFile__DeleteFile__s_succeeded_n
push esi
call fcn.00550c05
add esp, 0xc
lea eax, [esi + 0x410]
push ebx
push eax
call fcn.0057bb80
push edi
mov ebx, eax
call fcn.0057bb80
pop ecx
pop ecx
cmp eax, ebx
pop ebx
jbe 0x551af1
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x551ae2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
push str._bDeleteFile__RemoveDirectory__s_failed__error___d__n
push esi
call fcn.00550c05
add esp, 0x10
jmp 0x551af1
push edi
push str._bDeleteFile__RemoveDirectory__s_succeeded_n
push esi
call fcn.00550c05
add esp, 0xc
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.0057943e
add ebp, 0x198
leave
ret
Function at 0x55284f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x5528e6
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x5528e6
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
test eax, eax
jbe 0x5528df
push eax
call fcn.005684a2
mov esi, eax
pop ecx
test esi, esi
jne 0x55288e
mov eax, 0x8007000e
jmp 0x5528eb
push esi
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x5528d8
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x5a0618
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x5528d8
mov eax, dword [ebp + 8]
test eax, eax
je 0x5528d8
mov ecx, dword [eax + 8]
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
push esi
mov dword [edi], eax
call fcn.005684ad
pop ecx
xor eax, eax
jmp 0x5528eb
push esi
call fcn.005684ad
pop ecx
mov eax, 0x80004005
jmp 0x5528eb
mov eax, 0x80070057
pop edi
pop esi
leave
ret
Function at 0x553f98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
push reloc.OLEAUT32.dll_SysReAllocString
or edi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x554000
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.EnableFirewall
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x553ff1
cmp dword [ebp - 0xc], 4
jne 0x553ff1
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 4], 0
je 0x554000
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x55408e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.HTTP_shellopencommand
push SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x5540bc
xor eax, eax
jmp 0x55410f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
mov edi, 0x5cd6cb
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x5540fc
cmp dword [ebp - 8], 1
jne 0x5540fc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], 1
pop edi
pop esi
cmp dword [ebp - 4], ebx
je 0x55410c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret