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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db7a0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x520078]
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 0x449f38
lea esi, [edi + 0x57]
jmp 0x44a863
test ecx, ecx
jne 0x44a01d
push str.GetSystemFirmwareTable
push 0x4f4a60
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x44a2fb
push 0
push 0
push 0
push 0x52534d42
mov ecx, esi
call dword [0x4e3310]
call esi
mov dword [ebp - 0x84], eax
test eax, eax
je 0x44a2fb
xor ecx, ecx
add eax, 0x400
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004b5500
add esp, 4
mov ecx, eax
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x44a2fb
mov eax, dword [ebp - 0x84]
add eax, 0x400
push eax
push 0
push ecx
call fcn.004ad200
add esp, 0xc
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
push 0
push 0x52534d42
mov ecx, esi
call dword [0x4e3310]
call esi
test eax, eax
je 0x44a2fb
mov eax, dword [ebp - 0xa0]
mov bl, byte [eax + 1]
mov bh, byte [eax + 2]
mov byte [ebp - 0x75], bh
cmp bl, 2
jb 0x44a2fb
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 0x44a506
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 0x4f9050
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 0x44a284
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 [0x4e3310]
call dword [ebp - 0x84]
test eax, eax
js 0x44a284
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 0x44a284
mov esi, ecx
mov dword [ebp - 0xb8], esi
mov eax, esi
sub eax, ecx
cmp eax, 0x10000
jae 0x44a0f3
cmp dword [esi], 0x5f4d535f
je 0x44a0ee
add esi, 0x10
jmp 0x44a0d0
cmp eax, 0x10000
je 0x44a27f
mov al, byte [esi + 5]
cmp al, 0x1f
ja 0x44a27f
cmp al, 0x1e
je 0x44a110
cmp al, 0x1f
jne 0x44a27f
movzx eax, al
sub eax, ecx
add eax, esi
cmp eax, 0x10000
ja 0x44a27f
movzx eax, word [esi + 0x16]
mov dword [ebp - 0x84], eax
test ax, ax
je 0x44a27f
mov edx, 0x494d445f
cmp edx, dword [esi + 0x10]
jne 0x44a27f
mov edx, 0x5f
cmp dl, byte [esi + 0x14]
jne 0x44a27f
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 0x44a27f
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 0x44a27f
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.004b5500
add esp, 4
mov ecx, eax
mov dword [ebp - 0xa8], ecx
test ecx, ecx
jne 0x44a203
mov esi, 8
mov dword [ebp - 0x80], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x44a2e5
lea eax, [esi + 0x400]
push eax
push 0
push ecx
call fcn.004ad200
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.004acc80
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 0x44a2e5
mov esi, 0x490
mov dword [ebp - 4], 0xffffffff
jmp 0x44a2e5
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x44a2f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x44a500
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 0x44a332
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x44a4f8
push 0x30
sub esp, 8
push str.aswHWID
mov edx, 0x18
lea ecx, [ebp - 0x44]
call fcn.0045ba30
add esp, 0xc
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x44a36e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x44a4ec
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.0045ba30
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp esi, 0xffffffff
jne 0x44a3bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x44a4ce
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 0x44a3e9
mov esi, 9
jmp 0x44a4c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x44a400
mov esi, 0x18
jmp 0x44a4c2
cmp dword [ebp - 0x48], 0xc
je 0x44a410
mov esi, 0x18
jmp 0x44a4c2
xor ecx, ecx
mov eax, dword [ebp - 0x74]
add eax, 0x400
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004b5500
add esp, 4
mov ecx, eax
mov dword [ebp - 0x9c], ecx
test ecx, ecx
jne 0x44a43e
lea esi, [eax + 8]
jmp 0x44a4c2
mov eax, dword [ebp - 0x74]
add eax, 0x400
push eax
push 0
push ecx
call fcn.004ad200
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 0x44a47f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44a4c2
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x74]
je 0x44a48e
mov esi, 0x18
jmp 0x44a4c2
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 0x44a4ac
mov esi, 0x718
jmp 0x44a4c2
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 0x44a84c
mov edx, dword [ebp - 0x88]
push 1
lea eax, [ebp - 0x7c]
push eax
push 1
mov ecx, dword [ebp - 0x90]
call fcn.00449e10
add esp, 0xc
test eax, eax
jne 0x44a548
lea eax, [edi + 4]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 7]
mov ecx, esi
call fcn.00449d80
add esp, 4
cmp bl, 2
ja 0x44a540
jne 0x44a548
cmp bh, 1
jb 0x44a548
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.00449e10
add esp, 0xc
test eax, eax
jne 0x44a58d
lea eax, [edi + 0x18]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 7]
mov ecx, esi
call fcn.00449d80
add esp, 4
lea eax, [edi + 0x1c]
push eax
mov dl, byte [esi + 8]
mov ecx, esi
call fcn.00449d80
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.00449e10
add esp, 0xc
test eax, eax
jne 0x44a5d2
lea eax, [edi + 0x20]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 7]
mov ecx, esi
call fcn.00449d80
add esp, 4
lea eax, [edi + 0x24]
push eax
mov dl, byte [esi + 8]
mov ecx, esi
call fcn.00449d80
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.00449e10
add esp, 0xc
test eax, eax
jne 0x44a62f
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 0x44a60d
jne 0x44a62f
cmp bh, 3
jb 0x44a62f
lea eax, [edi + 0x30]
push eax
mov dl, byte [esi + 0x20]
mov ecx, esi
call fcn.00449d80
add esp, 4
lea eax, [edi + 0x34]
push eax
mov dl, byte [esi + 0x21]
mov ecx, esi
call fcn.00449d80
add esp, 4
mov bh, 1
mov byte [ebp - 0x84], bh
nop word [eax + eax]
mov dword [ebp - 0x68], 0
call fcn.00447980
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x44a8b8
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e3310]
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.00449e10
add esp, 0xc
test eax, eax
jne 0x44a767
cmp bl, 2
ja 0x44a6b0
jne 0x44a722
cmp byte [ebp - 0x75], 3
jb 0x44a722
lea eax, [ebp - 0x68]
push eax
mov esi, dword [ebp - 0xa4]
mov dl, byte [esi + 0x1a]
mov ecx, esi
call fcn.00449d80
add esp, 4
test eax, eax
jne 0x44a6da
lea ecx, [edi + 0x38]
mov eax, dword [ebp - 0x68]
push dword [eax - 0xc]
push eax
call fcn.0044b330
lea eax, [ebp - 0x68]
push eax
mov dl, byte [esi + 0x18]
mov ecx, esi
call fcn.00449d80
add esp, 4
test eax, eax
jne 0x44a6fe
lea ecx, [edi + 0x3c]
mov eax, dword [ebp - 0x68]
push dword [eax - 0xc]
push eax
call fcn.0044b330
lea eax, [ebp - 0x68]
push eax
mov dl, byte [esi + 0x19]
mov ecx, esi
call fcn.00449d80
add esp, 4
test eax, eax
jne 0x44a722
lea ecx, [edi + 0x40]
mov eax, dword [ebp - 0x68]
push dword [eax - 0xc]
push eax
call fcn.0044b330
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 0x44a750
mov edi, dword [ecx]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
add bh, 1
mov byte [ebp - 0x84], bh
mov edi, dword [ebp - 0x94]
jne 0x44a640
jmp 0x44a795
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 0x44a79b
mov edi, dword [ecx]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e3310]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x90]
cmp bl, 2
ja 0x44a7ad
jne 0x44a7e3
mov al, byte [ebp - 0x75]
cmp al, 1
jb 0x44a8ad
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x16
mov edx, dword [ebp - 0x88]
mov ecx, esi
call fcn.00449e10
add esp, 0xc
mov edi, dword [ebp - 0x94]
test eax, eax
jne 0x44a7e9
lea eax, [edi + 0x44]
push eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx + 7]
call fcn.00449d80
add esp, 4
jmp 0x44a7e9
mov edi, dword [ebp - 0x94]
cmp bl, 2
ja 0x44a7f7
jne 0x44a849
mov al, byte [ebp - 0x75]
cmp al, 3
jb 0x44a849
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x27
mov edx, dword [ebp - 0x88]
mov ecx, esi
call fcn.00449e10
add esp, 0xc
test eax, eax
jne 0x44a849
lea eax, [edi + 0x48]
push eax
mov esi, dword [ebp - 0x7c]
mov dl, byte [esi + 0xa]
mov ecx, esi
call fcn.00449d80
add esp, 4
lea eax, [edi + 0x4c]
push eax
mov dl, byte [esi + 8]
mov ecx, esi
call fcn.00449d80
add esp, 4
lea eax, [edi + 0x50]
push eax
mov dl, byte [esi + 9]
mov ecx, esi
call fcn.00449d80
add esp, 4
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x44a85d
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [ebp - 0x94]
push dword [ebp - 0x9c]
call fcn.004b5510
add esp, 4
push dword [ebp - 0xa0]
call fcn.004b5510
add esp, 4
push dword [ebp - 0xa8]
call fcn.004b5510
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.0049384c
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x94]
jmp 0x44a7f3
push 0x80004005
call fcn.00447670
int3