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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
mov eax, dword [0x1820f00c]
xor eax, esp
mov dword [esp + 0x15c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], eax
call fcn.18040b24
lea ecx, [esp + 0x7c]
mov byte [esp + 0x24], al
call fcn.18009c8e
xor eax, eax
lea edi, [esp + 0x134]
stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.18009c8e
lea ecx, [esp + 0x14]
call fcn.18009c8e
lea ecx, [esp + 0x2c]
call fcn.18009c8e
lea ecx, [esp + 8]
call fcn.18009c8e
lea ecx, [esp + 0x34]
call fcn.18009c8e
lea ecx, [esp + 0x48]
call fcn.18009c8e
mov eax, dword [0x18217778]
lea ecx, [esp + 0x100]
mov dword [esp + 0x10], eax
add eax, 0xc
push eax
call fcn.18012e1c
mov ecx, esi
call fcn.180409af
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.18040959
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.18037f18
push dword [esp + 0xc]
lea ecx, [esp + 0x68]
call fcn.18012e1c
lea ecx, [esp + 0x64]
call fcn.18012e37
test al, al
je 0x18049974
lea ecx, [esi + 8]
mov eax, dword [ecx]
xchg dword [ecx], eax
add eax, 4
lea ecx, [esp + 0xf8]
push eax
call fcn.18012e1c
mov ecx, dword [esi + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x124]
mov ecx, esi
push eax
call fcn.18040a11
mov esi, eax
lea edi, [esp + 0x134]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.18048150
test eax, eax
je 0x18049911
push 0
mov ecx, esi
call fcn.18048262
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.18048a8b
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
push eax
call fcn.180138ce
pop ecx
push eax
lea ecx, [esp + 0x34]
call fcn.18009c40
mov ecx, dword [esp + 0x38]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x6c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea ecx, [esp + 0x108]
call fcn.18049124
lea eax, [esp + 0x108]
mov ecx, esi
push eax
xor eax, eax
cmp byte [esp + 0x28], al
setne al
add eax, 2
mov dword [esp + 0x54], eax
call fcn.18048125
mov edx, dword [esp + 0x54]
lea ecx, [eax + 0x14]
call fcn.18049180
pop ecx
test al, al
je 0x18049678
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x30]
call fcn.18009c40
cmp byte [esp + 0x24], 0
je 0x18049678
push 0x10
lea eax, [esp + 0x138]
push 0x181bf3a0
push eax
call fcn.1816240f
mov esi, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x1804967c
mov ecx, esi
call fcn.18040959
mov ecx, eax
call fcn.180380cd
push dword [eax]
lea eax, [esp + 0x30]
push str.sessionid
push str.___s___s_
push eax
call fcn.18013d56
add esp, 0x10
jmp 0x1804967c
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.18009c40
call fcn.1801a8a4
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.180409da
mov edi, eax
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDevAdditionalInstallArgs_
lea eax, [esp + 8]
push eax
mov edx, dword [edi]
call fcn.180180a7
pop ecx
test eax, eax
js 0x1804970f
movzx ecx, byte [0x18217983]
mov esi, dword [esp + 8]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x1804970b
push 7
pop eax
xor edx, edx
mov dword [esp + 0xa8], ecx
inc edx
mov dword [esp + 0xac], eax
push edx
push eax
mov dword [esp + 0xb8], edx
call fcn.18008988
push esi
push dword [edi]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb0]
push str._additional_installer_args_override___s___s_
push eax
call fcn.18006aa4
add esp, 0x10
xor edi, edi
jmp 0x18049721
lea ecx, [esp + 8]
call fcn.18006df7
mov esi, dword [esp + 8]
mov edi, 0x80070002
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
test edi, edi
js 0x18049799
movzx ecx, byte [0x18217983]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x18049783
push 7
pop eax
xor edx, edx
mov dword [esp + 0xb8], ecx
inc edx
mov dword [esp + 0xbc], eax
push edx
push eax
mov dword [esp + 0xc8], edx
call fcn.18008988
push esi
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xbc]
push str._Installing__Found_additional_installer_args__dev_reg_key_override___s_
push eax
call fcn.18006aa4
add esp, 0xc
push esi
lea eax, [esp + 0x18]
push 0x181e0fa8
push eax
call fcn.18013d56
mov esi, dword [esp + 0x28]
jmp 0x18049815
mov esi, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.18040d53
test eax, eax
js 0x18049818
movzx ecx, byte [0x18217983]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x18049802
push 7
pop eax
push 3
pop edx
push edx
push eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edx
call fcn.18008988
push dword [esp + 8]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xcc]
push str._Installing__Found_additional_installer_args__experiment_control_label___s_
push eax
call fcn.18006aa4
add esp, 0xc
push dword [esp + 8]
lea eax, [esp + 0x18]
push 0x181e0fa8
push eax
call fcn.18013d56
add esp, 0xc
lea ecx, [esi + 8]
mov eax, dword [ecx]
xchg dword [ecx], eax
add eax, 4
lea ecx, [esp + 0xa0]
push eax
call fcn.18012e1c
mov ecx, dword [esi + 0xd0]
cmp dword [ecx - 0xc], 0
je 0x18049840
add ecx, 0xfffffff0
jmp 0x18049849
mov ecx, dword [esi + 0xd4]
sub ecx, 0x10
call fcn.18009e91
mov ecx, dword [esp + 0xa0]
lea edi, [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x50]
mov dword [esp + 0x50], edi
push eax
lea ecx, [esp + 0x38]
call fcn.18009c40
lea ecx, [edi - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x18]
call fcn.18048125
add eax, 4
lea ecx, [esp + 0x48]
push eax
call fcn.18009c40
cmp byte [esp + 0x24], 0
jne 0x180498a4
mov ecx, dword [esp + 0x10]
push esi
call fcn.1803a616
mov edi, eax
test edi, edi
js 0x180498b5
lea ecx, [esp + 0x108]
call fcn.18044190
jmp 0x1804952a
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.18009c8e
push eax
mov edx, edi
lea ecx, [esp + 0x20]
call fcn.1804f1e2
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
and dword [esp + 0x44], 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
mov ecx, esi
call fcn.180419ce
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea ecx, [esp + 0x108]
call fcn.18044190
jmp 0x18049966
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.18009c8e
mov edi, 0x80004005
lea ecx, [esp + 0x14]
push eax
mov edx, edi
call fcn.1804f1e2
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
and dword [esp + 0x44], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
call fcn.180419ce
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x18049ced
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.18040959
mov ecx, eax
call fcn.180380f6
movzx ecx, byte [0x18217983]
neg ecx
mov dword [esp + 0x38], eax
sbb ecx, ecx
and ecx, 0x18217880
je 0x18049a84
push 1
push 7
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe8], 1
call fcn.18008988
mov dword [esp + 0xe4], eax
mov ecx, esi
lea eax, [esp + 0x80]
push eax
call fcn.180412bb
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x58]
mov edi, dword [eax]
call fcn.18006ac3
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x134]
lea ecx, [esp + 0x78]
mov dword [esp + 0x4c], eax
call fcn.1800c465
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax]
lea eax, [esp + 0x70]
push eax
call fcn.18040ab9
push dword [esp + 0x38]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x20]
push dword [esp + 0x18]
push dword [esp + 0x40]
push dword [esp + 0x64]
push esi
push dword [eax]
lea eax, [esp + 0xfc]
push str._Installing__display_name:__s__app_id:__s__installer_path:__s__manifest_args:__s__additional_args:__s__all_args:__s__installer_data:__s__untrusted_data:__s__priority:__d_
push eax
call fcn.18006aa4
mov ecx, dword [esp + 0x9c]
add esp, 0x2c
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x78]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x58]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x80]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x84]
call fcn.18049152
push 3
mov ecx, esi
call fcn.18041729
lea eax, [esp + 0x74]
mov ecx, esi
push eax
call fcn.180412bb
lea ecx, [esp + 0x84]
push ecx
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x7c]
call fcn.1804fce4
mov ecx, dword [esp + 0x74]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.1800687d
push 4
mov ecx, esi
call fcn.18041729
movzx ecx, byte [0x18217983]
neg ecx
sbb ecx, ecx
and ecx, 0x18217880
je 0x18049ba0
push 7
pop eax
xor edx, edx
mov dword [esp + 0xe8], ecx
inc edx
mov dword [esp + 0xec], eax
push edx
push eax
mov dword [esp + 0xf8], edx
call fcn.18008988
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x3c]
mov dword [esp + 0xf4], eax
call fcn.18006ac3
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0x134]
lea ecx, [esp + 0x54]
call fcn.1800c465
push esi
push dword [esp + 0x94]
push dword [esp + 0x90]
push dword [esp + 0x90]
push dword [eax]
lea eax, [esp + 0xfc]
push edi
push str._InstallApp_returned__0x_x___s__type:_d__code:__d___s___s_
push eax
call fcn.18006aa4
mov ecx, dword [esp + 0x74]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov esi, dword [esp + 0x1c]
push dword [esp + 0xc]
lea ecx, [esp + 0x20]
call fcn.18012e1c
test edi, edi
js 0x18049c3f
push 0x10
lea eax, [esp + 0x138]
push eax
push 0x181bf3a0
call fcn.1816240f
add esp, 0xc
test eax, eax
je 0x18049c1b
mov ecx, dword [esp + 0x10]
push esi
call fcn.1803ac7a
mov edi, eax
test edi, edi
js 0x18049c3f
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push dword [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1804808a
push eax
lea eax, [esp + 0x144]
push eax
call fcn.1804fb94
mov ecx, dword [esp + 0x40]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.1800687d
test edi, edi
js 0x18049c3f
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.18049d94
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call fcn.1804199a
xor edi, edi
jmp 0x18049cd8
cmp byte [esp + 0x24], 0
jne 0x18049c7c
lea eax, [esp + 0x144]
mov ecx, esi
push eax
call fcn.18040a11
mov ecx, dword [esp + 0x10]
push eax
call fcn.18039732
test al, al
jne 0x18049c7c
lea eax, [esp + 0x154]
mov ecx, esi
push eax
call fcn.18040a11
mov ecx, dword [esp + 0x10]
push eax
call fcn.1803bc55
cmp edi, 0x80040902
jne 0x18049c95
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call fcn.1804199a
jmp 0x18049cd8
lea eax, [esp + 0x28]
mov edx, edi
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
call fcn.1804f1e2
mov eax, dword [esp + 0x94]
pop ecx
pop ecx
mov dword [esp + 0x60], eax
mov ecx, esi
lea eax, [esp + 0xc]
mov dword [esp + 0x5c], edi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.180419ce
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x84]
call fcn.18049d6f
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x100]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x48]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x34]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 8]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x30]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov ecx, dword [esp + 0x7c]
add ecx, 0xfffffff0
call fcn.1800687d
mov ecx, dword [esp + 0x164]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1814cf3d
mov esp, ebp
pop ebp
ret