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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472332
mov eax, dword fs:[0]
push eax
sub esp, 0x958
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x950], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f0]
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 0x4244db
push str.doCleanupBeforeExit___cancel_execution_of_this_method_as_doSelfDeletion_was_not_marked_
push ebx
push 0x15e
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x10
jmp 0x42475c
push str.doCleanupBeforeExit___Starting_cleanup_flow_
push ebx
push 0x162
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x10
lea eax, [esp + 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x424525
push str.doCleanupBeforeExit___Error_while_getting_temp_folder
push 1
push 0x16e
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x10
jmp 0x42475c
push str.WebInstallerSD.exe
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
jne 0x42455b
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Error_while_creating__s
push ebx
push 0x174
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x14
jmp 0x42475c
push 0x104
lea edx, [esp + 0x280]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x424591
push str.doCleanupBeforeExit___Cannot_find_module_name__myself_
push 1
push 0x17b
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x10
jmp 0x42475c
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 0x4245cc
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_copy_module_to__s
push 1
push 0x182
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x14
jmp 0x42475c
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 0x424614
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_open_temp_file__s
push 1
push 0x18c
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x14
jmp 0x42475c
push 0x44
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.004557d0
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.0040cc60
cmp eax, ebx
je 0x424654
lea esi, [eax + 0x3598]
add eax, 0xac0
jmp 0x424688
push 0x47f880
lea ecx, [esp + 0x1c]
call fcn.004028f0
mov dword [esp + 0x970], ebx
mov esi, dword [eax]
push 0x47f880
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
call fcn.004028f0
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 0x4246c0
lea ecx, [esp + 0x10]
and ebx, 0xfffffffd
call fcn.004028d0
test bl, 1
mov dword [esp + 0x970], 0xffffffff
je 0x4246d9
lea ecx, [esp + 0x18]
call fcn.004028d0
lea eax, [esp + 0x484]
push eax
push str.doCleanupBeforeExit___About_to_execute:__s
push 0
push 0x19c
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
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 0x42474a
lea ecx, [esp + 0x484]
push ecx
push str.doCleanupBeforeExit___Failed_to_execute__s
push 1
push 0x1a1
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.004306a0
add esp, 0x14
jmp 0x424755
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.004511c3
mov esp, ebp
pop ebp
ret