Function at 0x427760
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476452
mov eax, dword fs:[0]
push eax
sub esp, 0x958
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0x950], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0800]
xor eax, esp
push eax
lea eax, [esp + 0x968]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp byte [ecx + 0x400], bl
jne 0x4277cb
push str.doCleanupBeforeExit___cancel_execution_of_this_method_as_doSelfDeletion_was_not_marked_
push ebx
push 0x160
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x10
jmp 0x427a4c
push str.doCleanupBeforeExit___Starting_cleanup_flow_
push ebx
push 0x164
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x10
lea eax, [esp + 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x427815
push str.doCleanupBeforeExit___Error_while_getting_temp_folder
push 1
push 0x170
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x10
jmp 0x427a4c
push str.WebInstallerSD.exe
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
jne 0x42784b
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Error_while_creating__s
push ebx
push 0x176
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x14
jmp 0x427a4c
push 0x104
lea edx, [esp + 0x280]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x427881
push str.doCleanupBeforeExit___Cannot_find_module_name__myself_
push 1
push 0x17d
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x10
jmp 0x427a4c
push ebx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4278bc
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_copy_module_to__s
push 1
push 0x184
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x14
jmp 0x427a4c
push ebx
push 0x4000000
push 3
push ebx
push 5
push SysReAllocString
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427904
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_open_temp_file__s
push 1
push 0x18e
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x14
jmp 0x427a4c
push 0x44
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.004598f0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x44
call fcn.0040fb10
cmp eax, ebx
je 0x427944
lea esi, [eax + 0x3798]
add eax, 0xac0
jmp 0x427978
push 0x483880
lea ecx, [esp + 0x1c]
call fcn.00402930
mov dword [esp + 0x970], ebx
mov esi, dword [eax]
push 0x483880
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
call fcn.00402930
mov eax, dword [eax]
mov ebx, 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x494]
push str.__s__SD_OE__u__s___s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
test bl, 2
je 0x4279b0
lea ecx, [esp + 0x10]
and ebx, 0xfffffffd
call fcn.00402910
test bl, 1
mov dword [esp + 0x970], 0xffffffff
je 0x4279c9
lea ecx, [esp + 0x18]
call fcn.00402910
lea eax, [esp + 0x484]
push eax
push str.doCleanupBeforeExit___About_to_execute:__s
push 0
push 0x19e
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x14
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0x80
push 0
push 0
push 0
lea eax, [esp + 0x4a4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x427a3a
lea ecx, [esp + 0x484]
push ecx
push str.doCleanupBeforeExit___Failed_to_execute__s
push 1
push 0x1a3
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004347c0
add esp, 0x14
jmp 0x427a45
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x968]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x950]
xor ecx, esp
call fcn.004552e7
mov esp, ebp
pop ebp
ret