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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fc42
mov eax, dword fs:[0]
push eax
sub esp, 0x958
mov eax, dword [0x498700]
xor eax, esp
mov dword [esp + 0x950], eax
push ebx
push esi
push edi
mov eax, dword [0x498700]
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 + 0x358], bl
jne 0x421ceb
push str.doCleanupBeforeExit___cancel_execution_of_this_method_as_doSelfDeletion_was_not_marked_
push ebx
push 0x198
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x10
jmp 0x421f6c
push str.doCleanupBeforeExit___Starting_cleanup_flow_
push ebx
push 0x19c
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x10
lea eax, [esp + 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x421d35
push str.doCleanupBeforeExit___Error_while_getting_temp_folder
push 1
push 0x1a8
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x10
jmp 0x421f6c
push str.WebInstallerSD.exe
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
jne 0x421d6b
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Error_while_creating__s
push ebx
push 0x1ae
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x14
jmp 0x421f6c
push 0x104
lea edx, [esp + 0x280]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x421da1
push str.doCleanupBeforeExit___Cannot_find_module_name__myself_
push 1
push 0x1b5
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x10
jmp 0x421f6c
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 0x421ddc
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_copy_module_to__s
push 1
push 0x1bc
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x14
jmp 0x421f6c
push ebx
push 0x4000000
push 3
push ebx
push 5
push SysReAllocStringLen
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x421e24
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_open_temp_file__s
push 1
push 0x1c6
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x14
jmp 0x421f6c
push 0x44
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00450a50
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.0040ae90
cmp eax, ebx
je 0x421e64
lea esi, [eax + 0x227c]
add eax, 0xac0
jmp 0x421e98
push 0x481268
lea ecx, [esp + 0x1c]
call fcn.004018b0
mov dword [esp + 0x970], ebx
mov esi, dword [eax]
push 0x481268
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
call fcn.004018b0
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 0x421ed0
lea ecx, [esp + 0x10]
and ebx, 0xfffffffd
call fcn.00401890
test bl, 1
mov dword [esp + 0x970], 0xffffffff
je 0x421ee9
lea ecx, [esp + 0x18]
call fcn.00401890
lea eax, [esp + 0x484]
push eax
push str.doCleanupBeforeExit___About_to_execute:__s
push 0
push 0x1d6
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
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 0x421f5a
lea ecx, [esp + 0x484]
push ecx
push str.doCleanupBeforeExit___Failed_to_execute__s
push 1
push 0x1db
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.00430235
add esp, 0x14
jmp 0x421f65
push 0x15e
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.0044de0c
mov esp, ebp
pop ebp
ret