Function at 0x41eff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44dc09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x46453c]
push ebx
push ebp
push esi
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x244]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x1c], esi
call fcn.00404130
mov ebx, dword [esp + 0x24c]
push ebx
lea ecx, [esi + 4]
mov dword [esp + 0x244], 0
call fcn.00404130
mov byte [esp + 0x240], 1
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x240], 2
lea edi, [esi + 0xc]
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x240], 3
lea ebp, [esi + 0x10]
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [esp + 0x250]
mov eax, dword [esp + 0x254]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 4
mov dword [esi + 0x14], eax
call fcn.00404130
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
mov byte [esp + 0x254], 5
call fcn.0042e789
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0x452ce8
push edi
call fcn.0040a510
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x4c]
push eax
push 0x452ce8
push ebp
call fcn.0040a510
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx - 0xc]
add esp, 0x34
test eax, eax
jge 0x41f124
or eax, 0xffffffff
jmp 0x41f141
push str._HPSU:reboot
push ecx
call fcn.0042c9c4
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x41f13f
or eax, 0xffffffff
jmp 0x41f141
sub eax, ecx
cmp eax, 0xffffffff
setne dl
mov byte [esi + 0x19], dl
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x41f156
or eax, 0xffffffff
jmp 0x41f173
push str._HPSU:selfreboot
push ecx
call fcn.0042c9c4
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x41f171
or eax, 0xffffffff
jmp 0x41f173
sub eax, ecx
cmp eax, 0xffffffff
setne al
mov byte [esi + 0x1a], al
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x41f188
or eax, 0xffffffff
jmp 0x41f1a5
push str._HPSU:exec
push ecx
call fcn.0042c9c4
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x41f1a3
or eax, 0xffffffff
jmp 0x41f1a5
sub eax, ecx
cmp eax, 0xffffffff
setne dl
mov byte [esi + 0x18], dl
mov dword [esi + 0x1c], 0
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x41f34d
push str._HPSUTimeout:
push ecx
call fcn.0042c9c4
add esp, 8
test eax, eax
je 0x41f24d
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov edi, eax
cmp edi, 0xffffffff
je 0x41f251
add edi, 0xd
mov eax, dword [ecx - 0xc]
js 0x41f20a
cmp edi, eax
jg 0x41f20a
add ecx, edi
push 0x4540d0
push ecx
call fcn.0042c9c4
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41f20a
sub eax, ecx
cmp eax, 0xffffffff
jne 0x41f210
mov ecx, dword [ecx - 0xc]
lea eax, [ecx - 1]
sub eax, edi
inc eax
push eax
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404fe0
mov edi, dword [esp + 0x14]
push edi
call fcn.0042d5ce
mov dword [esi + 0x1c], eax
lea eax, [edi - 0x10]
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f24d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x41f34d
push str._HPSUParam:_
push ecx
call fcn.0042c9c4
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41f34d
sub eax, ecx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41f34d
add ebp, 0xc
lea eax, [ebp + 1]
test eax, eax
jl 0x41f2e3
mov ebx, dword [ecx - 0xc]
lea edi, [eax + 1]
cmp eax, ebx
jg 0x41f2e3
mov dl, byte [eax + ecx]
cmp dl, 0x22
jne 0x41f2ac
test edi, edi
jl 0x41f2e3
cmp edi, ebx
jg 0x41f2e3
cmp byte [edi + ecx], dl
je 0x41f2ba
cmp edi, 1
jl 0x41f2e3
cmp eax, ebx
jg 0x41f2e3
cmp dl, 0x22
je 0x41f2ed
cmp eax, ebx
jge 0x41f2ed
cmp edi, 1
jl 0x41f2e3
cmp eax, ebx
jg 0x41f2e3
cmp dl, 0x22
jne 0x41f2dc
test edi, edi
jl 0x41f2e3
cmp edi, ebx
jg 0x41f2e3
cmp byte [edi + ecx], 0x22
jne 0x41f2dc
inc eax
inc edi
inc eax
inc edi
cmp edi, 1
jge 0x41f293
push 0x80070057
call fcn.004014a0
sub eax, ebp
push eax
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404fe0
lea edi, [esi + 8]
push eax
mov ecx, edi
mov byte [esp + 0x244], 6
call fcn.0041e4a0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x240], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f338
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x452084
push 0x4540bc
mov ecx, edi
call fcn.00404de0
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0x10]
mov byte [esp + 0x240], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f36f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x238]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x228]
pop ebx
call fcn.0042c9b6
add esp, 0x234
ret 0x10