Function at 0x18067c68
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x181c600c]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], ebx
call fcn.1800703b
push eax
lea ecx, [esp + 0x60]
call fcn.1800774f
mov ecx, esi
call fcn.180683a5
xor edx, edx
mov dword [esp + 0x40], eax
cmp eax, 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
setne dl
mov dword [esp + 0x38], ebx
xor ecx, ecx
mov dword [esp + 0x48], edx
cmp eax, 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], edx
sete cl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], ecx
call fcn.1800703b
push eax
lea ecx, [esp + 0x50]
call fcn.1800774f
lea ecx, [esp + 0x4c]
cmp byte [esp + 0x18], bl
je 0x18067d0b
call fcn.1801946e
jmp 0x18067d10
call fcn.18019456
test eax, eax
jns 0x18067d1d
lea ecx, [esp + 0x4c]
call fcn.180075e6
mov edi, dword [esp + 0x4c]
cmp dword [edi - 0xc], ebx
je 0x18067dfe
push str.Commands
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], ebx
call fcn.1800759a
push esi
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.1800d3f6
lea ecx, [esp + 0x18]
mov dword [esp], str.SoftwareMicrosoftEdgeUpdateClients_
mov esi, eax
call fcn.1800759a
push esi
push dword [esp + 0x20]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.1800d502
pop ecx
pop ecx
push str.HKU_
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.1800759a
lea eax, [esp + 0x4c]
push esi
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x58]
call fcn.1800d502
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x60]
push ebx
push eax
push 4
mov edx, str.Enabled
call fcn.1801a171
mov ecx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.18007012
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x60], ebx
jne 0x18067e0e
mov ebx, 0xa0430e02
jmp 0x18067ee1
call fcn.1801f60c
mov eax, str.HKLMSoftwareMicrosoftEdgeUpdateClients_
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
jne 0x18067e27
mov eax, str.HKCUSoftwareMicrosoftEdgeUpdateClients_
push eax
lea ecx, [esp + 0x54]
call fcn.1800759a
push dword [esp + 0x1c]
lea edx, [esp + 0x54]
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x5c]
call fcn.1800d3f6
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], ebx
mov dword [esp], str.Commands
call fcn.1800759a
lea eax, [esp + 0xc]
push esi
push eax
lea edx, [esp + 0x60]
lea ecx, [esp + 0x5c]
call fcn.1800d502
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x54]
call fcn.1801a7a8
test al, al
jne 0x18067f0c
mov edx, dword [esi]
mov ecx, dword [esp + 0x58]
call fcn.1801a941
test al, al
jne 0x18067ea2
mov ebx, 0x80040e01
jmp 0x18067ebd
mov edx, dword [esi]
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
call fcn.1801c6e1
pop ecx
test eax, eax
jns 0x1806803f
mov ebx, eax
mov ecx, dword [esp + 0x54]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x58]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x50]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea ecx, [edi - 0x10]
call fcn.18007012
mov ecx, dword [esp + 0x5c]
add ecx, 0xfffffff0
call fcn.18007012
mov ecx, dword [esp + 0x9c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18117a58
mov esp, ebp
pop ebp
ret
push str.CommandLine
lea ecx, [esp + 0x14]
call fcn.1800759a
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, esi
push eax
call fcn.1801c6e1
pop ecx
lea ecx, [esi - 0x10]
mov dword [esp + 0x10], eax
call fcn.18007012
mov eax, dword [esp + 0x10]
test eax, eax
js 0x18067ebb
lea eax, [esp + 0x48]
mov dword [esp + 0x64], str.SendsPings
mov dword [esp + 0x68], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x98], eax
mov eax, ebx
mov dword [esp + 0x6c], str.AutoRunOnOSUpgrade
mov dword [esp + 0x74], str.ReportingId
mov dword [esp + 0x7c], str.RunAsUser
mov dword [esp + 0x84], str.CaptureOutput
mov dword [esp + 0x8c], str.FinishBrowserReplacement
mov dword [esp + 0x94], str.AutoRunOnLogon
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + eax*8 + 0x68]
push dword [esp + eax*8 + 0x64]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
call fcn.1800759a
mov esi, dword [esp + 0x10]
mov edx, esi
mov ecx, dword [esp + 0x54]
call fcn.1801a941
test al, al
jne 0x18068000
mov dword [esp + 0xc], ebx
jmp 0x18068019
mov ecx, dword [esp + 0x54]
mov edx, esi
push ebx
push dword [esp + 0x24]
push 4
call fcn.1801a171
add esp, 0xc
mov dword [esp + 0xc], eax
lea ecx, [esi - 0x10]
call fcn.18007012
mov eax, dword [esp + 0xc]
test eax, eax
js 0x18067ebb
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 7
jb 0x18067fd2
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
movzx eax, al
neg eax
push 0x1c
sbb eax, eax
and dword [esp + 0x34], eax
call fcn.18118308
cmp dword [esp + 0x38], ebx
mov edx, eax
pop ecx
setne cl
cmp dword [esp + 0x38], ebx
movzx ecx, cl
push ecx
setne cl
cmp dword [esp + 0x40], ebx
movzx ecx, cl
push ecx
setne al
mov ecx, edx
cmp dword [esp + 0x38], ebx
movzx eax, al
push eax
setne al
cmp dword [esp + 0x50], ebx
movzx eax, al
push eax
push dword [esp + 0x50]
setne al
cmp dword [esp + 0x5c], ebx
movzx eax, al
push eax
setne al
movzx eax, al
push eax
lea eax, [esp + 0x78]
push eax
push esi
push dword [esp + 0x3c]
push dword [esp + 0x44]
call fcn.1806843f
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
mov dword [ecx], eax
test esi, esi
je 0x18067ebd
mov ecx, esi
call fcn.1804c8c1
push 0x1c
push esi
call fcn.18117f86
pop ecx
pop ecx
jmp 0x18067ebd