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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4a7014]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov byte [esp + 0x13], dl
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
call fcn.00402ad8
push eax
lea ecx, [esp + 0x2c]
call fcn.00402dfc
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call fcn.00413857
mov eax, str.HKLMSoftwareGoogleUpdateClients_
cmp byte [esp + 0x13], bl
jne 0x411d0e
mov eax, str.HKCUSoftwareGoogleUpdateClients_
push eax
lea ecx, [esp + 0x48]
call fcn.00406e1a
push edi
lea edx, [esp + 0x48]
lea ecx, [esp + 0x20]
call fcn.00403f66
lea ecx, [esp + 0x18]
mov dword [esp], str.Commands
call fcn.00406e1a
lea eax, [esp + 0x14]
push esi
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.00404068
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040311a
mov ecx, dword [esp + 0x20]
call fcn.004099c9
mov edi, dword [esp + 0x1c]
test al, al
jne 0x411dd8
mov edx, dword [esi]
mov ecx, edi
call fcn.00409ae2
test al, al
jne 0x411dbf
mov eax, 0x80040e01
mov esi, dword [esp + 0x28]
mov ebx, eax
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040311a
lea ecx, [edi - 0x10]
call fcn.0040311a
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.0040311a
lea ecx, [esi - 0x10]
call fcn.0040311a
mov ecx, dword [esp + 0x84]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004684b5
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0040f14e
pop ecx
test eax, eax
jns 0x411ee1
jmp 0x411d7a
push str.CommandLine
lea ecx, [esp + 0x18]
call fcn.00406e1a
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, esi
push eax
call fcn.0040f14e
pop ecx
lea ecx, [esi - 0x10]
mov dword [esp + 0x1c], eax
call fcn.0040311a
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x411d7a
lea eax, [esp + 0x40]
mov dword [esp + 0x54], str.SendsPings
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x80], eax
mov eax, ebx
mov dword [esp + 0x5c], str.WebAccessible
mov dword [esp + 0x64], str.AutoRunOnOSUpgrade
mov dword [esp + 0x6c], str.ReportingId
mov dword [esp + 0x74], str.RunAsUser
mov dword [esp + 0x7c], str.CaptureOutput
mov dword [esp + 0x14], ebx
push dword [esp + eax*8 + 0x54]
lea ecx, [esp + 0x30]
call fcn.00406e1a
mov esi, dword [esp + 0x2c]
mov edx, esi
mov ecx, dword [esp + 0x20]
call fcn.00409ae2
test al, al
jne 0x411ea2
mov dword [esp + 0x1c], ebx
jmp 0x411ebf
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [esp + 0x20]
push ebx
push dword [esp + eax*8 + 0x5c]
push 4
call fcn.004094c7
add esp, 0xc
mov dword [esp + 0x1c], eax
lea ecx, [esi - 0x10]
call fcn.0040311a
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x411d7a
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 6
jb 0x411e7c
movzx eax, byte [esp + 0x13]
neg eax
push 0x1c
sbb eax, eax
and dword [esp + 0x28], eax
call fcn.00479dfd
cmp dword [esp + 0x34], ebx
mov esi, eax
mov eax, dword [esp + 0x38]
setne byte [esp + 0x1e]
mov dword [esp + 0x30], esi
cmp dword [esp + 0x28], ebx
pop ecx
mov ecx, dword [esp + 0x48]
setne byte [esp + 0x19]
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
setne byte [esp + 0x1b]
cmp dword [esp + 0x3c], ebx
mov ecx, dword [ecx]
setne bh
cmp dword [esp + 0x40], 0
setne bl
sub ecx, 0x10
call fcn.00402d5b
mov ecx, dword [esp + 0x4c]
add eax, 0x10
mov dword [esi], eax
mov al, byte [esp + 0x13]
mov byte [esi + 4], al
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.00402d5b
add eax, 0x10
mov dword [esi + 8], eax
mov esi, dword [esp + 0x28]
lea ecx, [esi - 0x10]
call fcn.00402d5b
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx + 0xc], eax
mov al, byte [esp + 0x19]
mov byte [ecx + 0x12], al
mov al, byte [esp + 0x1a]
mov byte [ecx + 0x13], al
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov al, byte [esp + 0x1b]
mov byte [ecx + 0x18], al
mov eax, dword [esp + 0x50]
mov byte [ecx + 0x10], bl
mov byte [ecx + 0x11], bh
xor ebx, ebx
mov dword [eax], ecx
jmp 0x411d80