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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1820f00c]
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
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], eax
call fcn.18009c8e
xor ebx, ebx
mov dword [esp + 0x34], 1
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.1804bc86
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.1801a8a4
mov eax, str.HKLMSoftwareMicrosoftEdgeUpdateClients_
cmp byte [esp + 0x20], bl
jne 0x1804b7d5
mov eax, str.HKCUSoftwareMicrosoftEdgeUpdateClients_
push eax
lea ecx, [esp + 0x3c]
call fcn.18006d98
push edi
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.1800c549
lea ecx, [esp + 0x10]
mov dword [esp], str.Commands
call fcn.18006d98
lea eax, [esp + 0xc]
push esi
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.1800c632
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x10]
call fcn.18016b64
test al, al
jne 0x1804b8a2
mov edx, dword [esi]
mov ecx, dword [esp + 0x18]
call fcn.18016cca
test al, al
jne 0x1804b885
mov edi, 0x80040e01
mov ebx, edi
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.1800687d
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.1800687d
mov ecx, dword [esp + 0x7c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1814cf3d
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
call fcn.180180a7
mov edi, eax
pop ecx
test edi, edi
jns 0x1804b99b
jmp 0x1804b83f
push str.CommandLine
lea ecx, [esp + 0x10]
call fcn.18006d98
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, esi
push eax
call fcn.180180a7
pop ecx
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.1800687d
test edi, edi
js 0x1804b83f
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 + 0x14]
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 + 0xc], ebx
push dword [esp + eax*8 + 0x4c]
mov edi, dword [esp + eax*8 + 0x54]
lea ecx, [esp + 0x40]
call fcn.18006d98
mov esi, dword [esp + 0x3c]
mov edx, esi
mov ecx, dword [esp + 0x10]
call fcn.18016cca
test al, al
jne 0x1804b965
mov edi, ebx
jmp 0x1804b979
mov ecx, dword [esp + 0x10]
mov edx, esi
push ebx
push edi
push 4
call fcn.1801661d
add esp, 0xc
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.1800687d
test edi, edi
js 0x1804b83f
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 6
jb 0x1804b93d
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
movzx eax, al
neg eax
push 0x1c
sbb eax, eax
and dword [esp + 0x18], eax
call fcn.1814d7d1
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 + 0x18], 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.1804bd20
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx]
mov dword [ecx], eax
test esi, esi
je 0x1804b841
mov ecx, esi
call fcn.1803653a
push 0x1c
push esi
call fcn.1814d45b
pop ecx
pop ecx
jmp 0x1804b841