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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1826b00c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], eax
call fcn.18006a78
push eax
lea ecx, [esp + 0x20]
call fcn.18007187
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.180175e4
mov eax, str.HKLMSoftwareMicrosoftEdgeUpdateClients_
cmp byte [esp + 0x20], bl
jne 0x18046a3e
mov eax, str.HKCUSoftwareMicrosoftEdgeUpdateClients_
push eax
lea ecx, [esp + 0x3c]
call fcn.18006fb5
push edi
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14]
call fcn.1800c34a
lea ecx, [esp + 0x10]
mov dword [esp], str.Commands
call fcn.18006fb5
lea eax, [esp + 0xc]
push esi
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
call fcn.1800c439
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006a60
mov ecx, dword [esp + 0x14]
call fcn.18015475
mov edi, dword [esp + 0x10]
test al, al
jne 0x18046b05
mov edx, dword [esi]
mov ecx, edi
call fcn.180155a8
test al, al
jne 0x18046aec
mov eax, 0x80040e01
mov ebx, eax
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006a60
lea ecx, [edi - 0x10]
call fcn.18006a60
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.18006a60
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.18006a60
mov ecx, dword [esp + 0x7c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.180b1200
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.180167ef
pop ecx
test eax, eax
jns 0x18046c13
jmp 0x18046aaa
push str.CommandLine
lea ecx, [esp + 0x14]
call fcn.18006fb5
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, esi
push eax
call fcn.180167ef
pop ecx
lea ecx, [esi - 0x10]
mov dword [esp + 0xc], eax
call fcn.18006a60
mov eax, dword [esp + 0xc]
test eax, eax
js 0x18046aaa
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], str.SendsPings
mov dword [esp + 0x50], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, ebx
mov dword [esp + 0x54], str.AutoRunOnOSUpgrade
mov dword [esp + 0x5c], str.ReportingId
mov dword [esp + 0x64], str.RunAsUser
mov dword [esp + 0x6c], str.CaptureOutput
mov dword [esp + 0x74], str.FinishBrowserReplacement
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + eax*8 + 0x50]
push dword [esp + eax*8 + 0x4c]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x40]
call fcn.18006fb5
mov esi, dword [esp + 0x3c]
mov edx, esi
mov ecx, dword [esp + 0x14]
call fcn.180155a8
test al, al
jne 0x18046bd4
mov dword [esp + 0xc], ebx
jmp 0x18046bed
mov ecx, dword [esp + 0x14]
mov edx, esi
push ebx
push dword [esp + 0x10]
push 4
call fcn.18014f3f
add esp, 0xc
mov dword [esp + 0xc], eax
lea ecx, [esi - 0x10]
call fcn.18006a60
mov eax, dword [esp + 0xc]
test eax, eax
js 0x18046aaa
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 6
jb 0x18046ba6
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
movzx eax, al
neg eax
push 0x1c
sbb eax, eax
and dword [esp + 0x1c], eax
call fcn.180b1a93
cmp dword [esp + 0x28], ebx
mov edx, eax
pop ecx
setne cl
cmp dword [esp + 0x28], ebx
movzx ecx, cl
push ecx
setne cl
cmp dword [esp + 0x1c], ebx
movzx ecx, cl
push ecx
setne al
mov ecx, edx
cmp dword [esp + 0x38], ebx
movzx eax, al
push eax
push dword [esp + 0x38]
setne al
cmp dword [esp + 0x44], ebx
movzx eax, al
push eax
setne al
movzx eax, al
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x40]
push dword [esp + 0x68]
call fcn.18046eea
mov edx, dword [esp + 0x48]
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
je 0x18046aac
push ecx
call fcn.180451a3
jmp 0x18046aac