Function at 0x40e000
Capabilities:
Accept command line arguments
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x457c30
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4749e0]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4749e0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
test ecx, ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
je 0x40e91a
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e050
sub eax, esi
sar eax, 1
je 0x40e91a
lea edx, [esp + 0x18]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, 1
cmp dword [esp + 0x18], ebp
mov edi, eax
mov dword [esp + 0x1c], edi
jle 0x40e710
mov esi, dword [edi + ebp*4]
mov ecx, str.__modesilent
mov eax, esi
xor ebx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e0b8
cmp dx, bx
je 0x40e0b4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e0b8
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40e092
xor eax, eax
jmp 0x40e0bd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40e6fb
mov ecx, str.__modeSilent
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e0f6
cmp dx, bx
je 0x40e0f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e0f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40e0d0
xor eax, eax
jmp 0x40e0fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40e6fb
push 0x464fa4
push esi
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8cf
mov eax, dword [edi + ebp*4]
push 7
push str.__mode
push eax
call fcn.00434209
add esp, 0xc
test eax, eax
je 0x40e8cf
mov ecx, dword [edi + ebp*4]
push 0x465038
push ecx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8af
mov edx, dword [edi + ebp*4]
push str.__overrideFile
push edx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8af
mov eax, dword [edi + ebp*4]
push 0xf
push 0x465038
push eax
call fcn.00434209
add esp, 0xc
test eax, eax
jne 0x40e243
mov edx, dword [edi + ebp*4]
lea eax, [esp + 0x3c]
call fcn.00403070
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xa0], ebx
call fcn.004115c0
cmp eax, 0xffffffff
je 0x40e21d
push 0xffffffffffffffff
lea edx, [esp + 0x40]
lea ecx, [eax + 1]
push edx
lea esi, [esp + 0x28]
call fcn.004115f0
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x24]
mov esi, 8
cmp dword [esp + 0x38], esi
jae 0x40e1d1
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e7d7
mov ebx, dword [esp + 0x14]
lea esi, [ebx + 0x58]
push esi
mov edx, str.__overrideFile_
call fcn.004030b0
cmp dword [esp + 0x38], 8
mov edx, dword [esp + 0x24]
jae 0x40e201
lea edx, [esp + 0x24]
push esi
call fcn.00408e80
push esi
mov edx, 0x4650ec
call fcn.00408e80
lea esi, [esp + 0x20]
call fcn.004016a0
jmp 0x40e221
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x70], 8
jb 0x40e235
mov eax, dword [ebx + 0x5c]
push eax
push 0x4650f0
jmp 0x40e34b
lea eax, [ebx + 0x5c]
push eax
push 0x4650f0
jmp 0x40e34b
mov ecx, dword [edi + ebp*4]
push 0x465124
push ecx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e88f
mov edx, dword [edi + ebp*4]
push str.__deploymentFile
push edx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e88f
mov eax, dword [edi + ebp*4]
push 0x11
push 0x465124
push eax
call fcn.00434209
add esp, 0xc
test eax, eax
jne 0x40e364
mov edx, dword [edi + ebp*4]
lea eax, [esp + 0x3c]
call fcn.00403070
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xa0], 2
call fcn.004115c0
cmp eax, 0xffffffff
je 0x40e330
push 0xffffffffffffffff
lea edx, [esp + 0x40]
lea ecx, [eax + 1]
push edx
lea esi, [esp + 0x28]
call fcn.004115f0
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x24]
mov esi, 8
cmp dword [esp + 0x38], esi
jae 0x40e2e4
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e81b
mov ebx, dword [esp + 0x14]
lea esi, [ebx + 0x74]
push esi
mov edx, str.__deploymentFile_
call fcn.004030b0
cmp dword [esp + 0x38], 8
mov edx, dword [esp + 0x24]
jae 0x40e314
lea edx, [esp + 0x24]
push esi
call fcn.00408e80
push esi
mov edx, 0x4650ec
call fcn.00408e80
lea esi, [esp + 0x20]
call fcn.004016a0
jmp 0x40e334
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x8c], 8
jb 0x40e342
mov eax, dword [ebx + 0x78]
jmp 0x40e345
lea eax, [ebx + 0x78]
push eax
push str.Deployment_file_path_____s_
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x50]
mov ebx, 0x461120
call fcn.00415e10
add esp, 8
jmp 0x40e42d
mov ecx, dword [edi + ebp*4]
push 0x46521c
push ecx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8cf
mov edx, dword [edi + ebp*4]
push str.__installSourcePath
push edx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8cf
mov eax, dword [edi + ebp*4]
push 0x14
push 0x46521c
push eax
call fcn.00434209
add esp, 0xc
test eax, eax
jne 0x40e57f
mov edx, dword [edi + ebp*4]
lea eax, [esp + 0x3c]
call fcn.00403070
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xa0], 4
call fcn.004115c0
cmp eax, 0xffffffff
je 0x40e546
push 0xffffffffffffffff
lea edx, [esp + 0x40]
lea ecx, [eax + 1]
push edx
lea esi, [esp + 0x28]
call fcn.004115f0
mov byte [esp + 0x9c], 5
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax + 0x14]
push ecx
call fcn.0043247d
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x40e446
push str.Error_allocating_memory_for_szSourcePath
call fcn.00415740
mov ebx, 0x461120
call fcn.00415ea0
add esp, 4
lea esi, [esp + 0x20]
call fcn.004016a0
lea esi, [esp + 0x3c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004016a0
jmp 0x40e703
mov eax, dword [esp + 0x24]
mov edi, 8
cmp dword [esp + 0x38], edi
jae 0x40e459
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
add edx, 1
push edx
push esi
call fcn.00432288
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, esi
add eax, 0xfffffffe
jmp 0x40e480
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x40e480
mov ecx, dword [str.payloads]
mov dword [eax], ecx
mov edx, dword [0x46191c]
mov dword [eax + 4], edx
mov ecx, dword [0x461920]
mov dword [eax + 8], ecx
mov edx, dword [0x461924]
mov dword [eax + 0xc], edx
mov ecx, dword [0x461928]
push esi
mov dword [eax + 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e838
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x40e4d5
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
mov edi, dword [esp + 0x14]
add edi, 0x90
test eax, eax
push edi
jne 0x40e511
mov edx, str.__installSourcePath_
call fcn.004030b0
cmp dword [esp + 0x38], 8
mov edx, dword [esp + 0x24]
jae 0x40e504
lea edx, [esp + 0x24]
push edi
call fcn.00408e80
mov edx, 0x4650ec
jmp 0x40e52a
mov edx, 0x46521c
call fcn.004030b0
cmp dword [esp + 0x38], 8
mov edx, dword [esp + 0x24]
jae 0x40e52a
lea edx, [esp + 0x24]
push edi
call fcn.00408e80
push esi
call fcn.00433f9a
add esp, 4
lea esi, [esp + 0x20]
call fcn.004016a0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xa8], 8
jb 0x40e55b
mov eax, dword [eax + 0x94]
jmp 0x40e560
add eax, 0x94
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x50]
push str.Install_Source_path_____s_
mov ebx, 0x461120
call fcn.00415e10
add esp, 8
jmp 0x40e42d
mov eax, dword [edi + ebp*4]
push 0x465380
push eax
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8af
mov ecx, dword [edi + ebp*4]
push str.__action
push ecx
call fcn.00433a6a
add esp, 8
test eax, eax
je 0x40e8af
mov edx, dword [edi + ebp*4]
push 9
push 0x465380
push edx
call fcn.00434209
mov edx, dword [edi + ebp*4]
add esp, 0xc
test eax, eax
jne 0x40e6df
lea eax, [esp + 0x74]
call fcn.00403070
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0xa0], 6
call fcn.004115c0
cmp eax, 0xffffffff
je 0x40e6c9
push 0xffffffffffffffff
lea edx, [esp + 0x78]
lea ecx, [eax + 1]
push edx
lea esi, [esp + 0x60]
call fcn.004115f0
mov esi, str.install
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 7
call fcn.00411620
test eax, eax
jne 0x40e633
mov eax, dword [esp + 0x14]
mov dword [eax + 0xac], 4
jmp 0x40e697
mov esi, str.repair
lea ecx, [esp + 0x58]
call fcn.00411620
test eax, eax
jne 0x40e651
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xac], ebx
jmp 0x40e697
mov esi, str.update
lea ecx, [esp + 0x58]
call fcn.00411620
test eax, eax
jne 0x40e673
mov edx, dword [esp + 0x14]
mov dword [edx + 0xac], 2
jmp 0x40e697
mov esi, str.uninstall
lea ecx, [esp + 0x58]
call fcn.00411620
test eax, eax
jne 0x40e85a
mov eax, dword [esp + 0x14]
mov dword [eax + 0xac], 3
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x40e6a6
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [ecx + 0x50]
push str.Action_specified_____s_
mov ebx, 0x461120
call fcn.00415e40
add esp, 8
lea esi, [esp + 0x58]
call fcn.004016a0
lea esi, [esp + 0x74]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004016a0
jmp 0x40e703
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
push edx
push str.Error_parsing_command_line_arguments_at_____s_._nExpected_arguments_are____n_t__modesilent_n_t__overrideFile__FilePath__
mov ebx, 0x461120
call fcn.00415ea0
add esp, 8
jmp 0x40e703
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x4c], 1
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x40e086
mov edx, dword [esp + 0x14]
cmp dword [edx + 0xac], 2
je 0x40e78c
push 0x800
call fcn.0043247d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40e78c
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, ebx
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40e750
mov ecx, 0xa
mov esi, str.packagesupdate.sig
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e783
mov eax, dword [esp + 0x14]
mov dword [eax + 0xac], 1
push ebx
call fcn.00433f9a
add esp, 4
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x4c], 0
jne 0x40e7aa
mov eax, dword [esi + 0xac]
cmp eax, 2
je 0x40e7aa
cmp eax, 1
jne 0x40e8ef
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x40e8ef
mov eax, dword [esi + 0x50]
push str.Administrative_Privileges_required_to_continue
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
mov eax, 0xfffffff6
jmp 0x40e91c
cmp dword [esp + 0x38], esi
mov eax, dword [esp + 0x24]
jae 0x40e7e5
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x50]
push str.Override_file_does_not_exist_____s_
mov ebx, 0x461120
call fcn.00415ed0
add esp, 8
lea esi, [esp + 0x20]
call fcn.004016a0
lea esi, [esp + 0x3c]
call fcn.004016a0
mov eax, 0xfffffff7
jmp 0x40e91c
cmp dword [esp + 0x38], esi
mov eax, dword [esp + 0x24]
jae 0x40e829
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x50]
push str.Deployment_file_does_not_exist_____s_
jmp 0x40e7f2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
push esi
push str.Payloads_does_not_exist_at_the_location:__s
mov ebx, 0x461120
call fcn.00415ed0
push esi
call fcn.00433f9a
add esp, 0xc
jmp 0x40e7ff
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
push str.Incomplete_Missing_set_of_command_line_arguments_passed
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
lea esi, [esp + 0x58]
call fcn.004016a0
lea esi, [esp + 0x74]
call fcn.004016a0
mov eax, 0xfffffff8
jmp 0x40e91c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
push str.Incomplete_Missing_set_of_command_line_arguments_passed
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
mov eax, 0xfffffff8
jmp 0x40e91c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
push str.Incomplete_Missing_set_of_command_line_arguments_passed
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
mov eax, 0xfffffff8
jmp 0x40e91c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
push str.Incomplete_Missing_set_of_command_line_arguments_passed
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
mov eax, 0xfffffff8
jmp 0x40e91c
cmp dword [esi + 0xac], 3
jne 0x40e91a
cmp byte [esi + 0x4c], 0
jne 0x40e91a
mov eax, dword [esi + 0x50]
push str.Uninstall_through_Bootstrapper_supported_only_in_silent_mode
mov ebx, 0x461120
call fcn.00415ed0
add esp, 4
mov eax, 0xfffffff8
jmp 0x40e91c
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004321fe
add esp, 0x8c
ret 4