Function at 0x455bc0
Capabilities:
Read file via mapping
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6020
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x7c], edi
mov esi, 0x490
mov dword [ebp - 0x80], esi
mov dword [ebp - 0xac], esi
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xb4], eax
xor bl, bl
mov byte [ebp - 0x89], bl
xor bh, bh
mov byte [ebp - 0x75], bh
mov byte [ebp - 0x8a], bh
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, 0x105
xor ecx, ecx
cmp ax, dx
sete cl
mov dword [ebp - 0x98], 0
test edi, edi
jne 0x455c78
lea esi, [edi + 0x57]
jmp 0x4565a3
test ecx, ecx
jne 0x455d5d
push str.GetSystemFirmwareTable
push 0x4ec724
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x45603b
push 0
push 0
push 0
push 0x52534d42
mov ecx, esi
call dword [0x4db310]
call esi
mov dword [ebp - 0x84], eax
test eax, eax
je 0x45603b
xor ecx, ecx
add eax, 0x400
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004adc40
add esp, 4
mov ecx, eax
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x45603b
mov eax, dword [ebp - 0x84]
add eax, 0x400
push eax
push 0
push ecx
call fcn.004a5940
add esp, 0xc
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
push 0
push 0x52534d42
mov ecx, esi
call dword [0x4db310]
call esi
test eax, eax
je 0x45603b
mov eax, dword [ebp - 0xa0]
mov bl, byte [eax + 1]
mov bh, byte [eax + 2]
mov byte [ebp - 0x75], bh
cmp bl, 2
jb 0x45603b
lea edx, [eax + 8]
mov dword [ebp - 0x90], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x80], 0
jmp 0x456246
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x70], 0x2e002c
mov dword [ebp - 0x6c], str.DevicePhysicalMemory
mov dword [ebp - 4], 0
push str.NtOpenSection
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x455fc4
mov dword [ebp - 0x60], 0x18
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0x40
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x60]
push ecx
push 4
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
call dword [0x4db310]
call dword [ebp - 0x84]
test eax, eax
js 0x455fc4
push 0x10000
push 0xf0000
push 0
push 4
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [ebp - 0x98], ecx
test ecx, ecx
je 0x455fc4
mov esi, ecx
mov dword [ebp - 0xb8], esi
mov eax, esi
sub eax, ecx
cmp eax, 0x10000
jae 0x455e33
cmp dword [esi], 0x5f4d535f
je 0x455e2e
add esi, 0x10
jmp 0x455e10
cmp eax, 0x10000
je 0x455fbf
mov al, byte [esi + 5]
cmp al, 0x1f
ja 0x455fbf
cmp al, 0x1e
je 0x455e50
cmp al, 0x1f
jne 0x455fbf
movzx eax, al
sub eax, ecx
add eax, esi
cmp eax, 0x10000
ja 0x455fbf
movzx eax, word [esi + 0x16]
mov dword [ebp - 0x84], eax
test ax, ax
je 0x455fbf
mov edx, 0x494d445f
cmp edx, dword [esi + 0x10]
jne 0x455fbf
mov edx, 0x5f
cmp dl, byte [esi + 0x14]
jne 0x455fbf
mov bl, byte [esi + 6]
mov byte [ebp - 0x89], bl
mov bh, byte [esi + 7]
mov byte [ebp - 0x75], bh
mov byte [ebp - 0x8a], bh
cmp bl, 2
jb 0x455fbf
mov esi, dword [esi + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, esi
and ecx, 0xfff
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x84]
movzx eax, dx
add eax, 0xfff
add eax, ecx
and eax, 0xfffff000
push eax
sub esi, ecx
push esi
push 0
push 4
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x455fbf
xor ecx, ecx
mov eax, dword [ebp - 0x84]
movzx esi, ax
mov eax, esi
add eax, 0x400
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004adc40
add esp, 4
mov ecx, eax
mov dword [ebp - 0xa8], ecx
test ecx, ecx
jne 0x455f43
mov esi, 8
mov dword [ebp - 0x80], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x456025
lea eax, [esi + 0x400]
push eax
push 0
push ecx
call fcn.004a5940
add esp, 0xc
push esi
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0xbc]
add eax, esi
push eax
push dword [ebp - 0xa8]
call fcn.004a53c0
add esp, 0xc
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x84]
movzx eax, dx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xb4], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x98], 0
xor esi, esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x456025
mov esi, 0x490
mov dword [ebp - 4], 0xffffffff
jmp 0x456025
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x456033
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x456240
xorps xmm0, xmm0
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0xa4], esi
test esi, esi
jne 0x456072
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x456238
push 0x30
sub esp, 8
push str.aswHWID
mov edx, 0x18
lea ecx, [ebp - 0x44]
call fcn.004669f0
add esp, 0xc
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x4560ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x45622c
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push ecx
push str..AswHWID
mov edx, 0x18
lea ecx, [ebp - 0x44]
call fcn.004669f0
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp esi, 0xffffffff
jne 0x4560ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x45620e
push 0
lea eax, [ebp - 0x48]
push eax
push 0xc
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0x60005804
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x456129
mov esi, 9
jmp 0x456202
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x456140
mov esi, 0x18
jmp 0x456202
cmp dword [ebp - 0x48], 0xc
je 0x456150
mov esi, 0x18
jmp 0x456202
xor ecx, ecx
mov eax, dword [ebp - 0x74]
add eax, 0x400
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004adc40
add esp, 4
mov ecx, eax
mov dword [ebp - 0x9c], ecx
test ecx, ecx
jne 0x45617e
lea esi, [eax + 8]
jmp 0x456202
mov eax, dword [ebp - 0x74]
add eax, 0x400
push eax
push 0
push ecx
call fcn.004a5940
add esp, 0xc
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x9c]
push 0
push 0
push 0x60005804
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4561bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x456202
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x74]
je 0x4561ce
mov esi, 0x18
jmp 0x456202
mov edx, dword [ebp - 0x9c]
lea eax, [edx + 0xc]
mov bl, byte [eax + 6]
mov bh, byte [eax + 7]
mov byte [ebp - 0x75], bh
cmp bl, 2
jae 0x4561ec
mov esi, 0x718
jmp 0x456202
mov ecx, dword [edx + 4]
add ecx, eax
mov dword [ebp - 0x90], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x88], eax
xor esi, esi
mov dword [ebp - 0x80], esi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x64]
push eax
push 1
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
jne 0x45658c
mov edx, dword [ebp - 0x88]
push 1
lea eax, [ebp - 0x7c]
push eax
push 1
mov ecx, dword [ebp - 0x90]
call fcn.00455b50
add esp, 0xc
test eax, eax
jne 0x456288
lea eax, [edi + 4]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 7]
mov ecx, esi
call fcn.00455ac0
add esp, 4
cmp bl, 2
ja 0x456280
jne 0x456288
cmp bh, 1
jb 0x456288
movups xmm0, xmmword [esi + 8]
movups xmmword [edi + 8], xmm0
push 1
lea eax, [ebp - 0x7c]
push eax
push 2
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
call fcn.00455b50
add esp, 0xc
test eax, eax
jne 0x4562cd
lea eax, [edi + 0x18]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 7]
mov ecx, esi
call fcn.00455ac0
add esp, 4
lea eax, [edi + 0x1c]
push eax
mov dl, byte [esi + 8]
mov ecx, esi
call fcn.00455ac0
add esp, 4
push 1
lea eax, [ebp - 0x7c]
push eax
push 3
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
call fcn.00455b50
add esp, 0xc
test eax, eax
jne 0x456312
lea eax, [edi + 0x20]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 7]
mov ecx, esi
call fcn.00455ac0
add esp, 4
lea eax, [edi + 0x24]
push eax
mov dl, byte [esi + 8]
mov ecx, esi
call fcn.00455ac0
add esp, 4
push 1
lea eax, [ebp - 0x7c]
push eax
push 4
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
call fcn.00455b50
add esp, 0xc
test eax, eax
jne 0x45636f
mov esi, dword [ebp - 0x7c]
mov eax, dword [esi + 8]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x2c], eax
cmp bl, 2
ja 0x45634d
jne 0x45636f
cmp bh, 3
jb 0x45636f
lea eax, [edi + 0x30]
push eax
mov dl, byte [esi + 0x20]
mov ecx, esi
call fcn.00455ac0
add esp, 4
lea eax, [edi + 0x34]
push eax
mov dl, byte [esi + 0x21]
mov ecx, esi
call fcn.00455ac0
add esp, 4
mov bh, 1
mov byte [ebp - 0x84], bh
nop word [eax + eax]
mov dword [ebp - 0x68], 0
call fcn.004536c0
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x4565f8
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4db310]
mov ecx, dword [ebp - 0x7c]
call esi
add eax, 0x10
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 3
push dword [ebp - 0x84]
lea eax, [ebp - 0xa4]
push eax
push 0x11
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x90]
mov ecx, esi
call fcn.00455b50
add esp, 0xc
test eax, eax
jne 0x4564a7
cmp bl, 2
ja 0x4563f0
jne 0x456462
cmp byte [ebp - 0x75], 3
jb 0x456462
lea eax, [ebp - 0x68]
push eax
mov esi, dword [ebp - 0xa4]
mov dl, byte [esi + 0x1a]
mov ecx, esi
call fcn.00455ac0
add esp, 4
test eax, eax
jne 0x45641a
lea ecx, [edi + 0x38]
mov eax, dword [ebp - 0x68]
push dword [eax - 0xc]
push eax
call fcn.00457070
lea eax, [ebp - 0x68]
push eax
mov dl, byte [esi + 0x18]
mov ecx, esi
call fcn.00455ac0
add esp, 4
test eax, eax
jne 0x45643e
lea ecx, [edi + 0x3c]
mov eax, dword [ebp - 0x68]
push dword [eax - 0xc]
push eax
call fcn.00457070
lea eax, [ebp - 0x68]
push eax
mov dl, byte [esi + 0x19]
mov ecx, esi
call fcn.00455ac0
add esp, 4
test eax, eax
jne 0x456462
lea ecx, [edi + 0x40]
mov eax, dword [ebp - 0x68]
push dword [eax - 0xc]
push eax
call fcn.00457070
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x456490
mov edi, dword [ecx]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4db310]
mov ecx, edi
call esi
add bh, 1
mov byte [ebp - 0x84], bh
mov edi, dword [ebp - 0x94]
jne 0x456380
jmp 0x4564d5
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4564db
mov edi, dword [ecx]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4db310]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x90]
cmp bl, 2
ja 0x4564ed
jne 0x456523
mov al, byte [ebp - 0x75]
cmp al, 1
jb 0x4565ed
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x16
mov edx, dword [ebp - 0x88]
mov ecx, esi
call fcn.00455b50
add esp, 0xc
mov edi, dword [ebp - 0x94]
test eax, eax
jne 0x456529
lea eax, [edi + 0x44]
push eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx + 7]
call fcn.00455ac0
add esp, 4
jmp 0x456529
mov edi, dword [ebp - 0x94]
cmp bl, 2
ja 0x456537
jne 0x456589
mov al, byte [ebp - 0x75]
cmp al, 3
jb 0x456589
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x27
mov edx, dword [ebp - 0x88]
mov ecx, esi
call fcn.00455b50
add esp, 0xc
test eax, eax
jne 0x456589
lea eax, [edi + 0x48]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 0xa]
mov ecx, esi
call fcn.00455ac0
add esp, 4
lea eax, [edi + 0x4c]
push eax
mov dl, byte [esi + 8]
mov ecx, esi
call fcn.00455ac0
add esp, 4
lea eax, [edi + 0x50]
push eax
mov dl, byte [esi + 9]
mov ecx, esi
call fcn.00455ac0
add esp, 4
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x45659d
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [ebp - 0x94]
push dword [ebp - 0x9c]
call fcn.004adc50
add esp, 4
push dword [ebp - 0xa0]
call fcn.004adc50
add esp, 4
push dword [ebp - 0xa8]
call fcn.004adc50
add esp, 4
mov dword [edi], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x94]
jmp 0x456533
push 0x80004005
call fcn.004533b0
int3