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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470b22
mov eax, dword fs:[0]
push eax
sub esp, 0x958
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x950], eax
push ebx
push esi
push edi
mov eax, dword [0x4997f0]
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 0x42370b
push str.doCleanupBeforeExit___cancel_execution_of_this_method_as_doSelfDeletion_was_not_marked_
push ebx
push 0x142
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x10
jmp 0x42398c
push str.doCleanupBeforeExit___Starting_cleanup_flow_
push ebx
push 0x146
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x10
lea eax, [esp + 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x423755
push str.doCleanupBeforeExit___Error_while_getting_temp_folder
push 1
push 0x152
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x10
jmp 0x42398c
push str.WebInstallerSD.exe
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
test eax, eax
jne 0x42378b
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Error_while_creating__s
push ebx
push 0x158
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x14
jmp 0x42398c
push 0x104
lea edx, [esp + 0x280]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4237c1
push str.doCleanupBeforeExit___Cannot_find_module_name__myself_
push 1
push 0x15f
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x10
jmp 0x42398c
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 0x4237fc
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_copy_module_to__s
push 1
push 0x166
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x14
jmp 0x42398c
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 0x423844
push str.WebInstallerSD.exe
push str.doCleanupBeforeExit___Cannot_open_temp_file__s
push 1
push 0x170
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x14
jmp 0x42398c
push 0x44
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00454000
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.0040c970
cmp eax, ebx
je 0x423884
lea esi, [eax + 0x3518]
add eax, 0xac0
jmp 0x4238b8
push 0x47d880
lea ecx, [esp + 0x1c]
call fcn.00402860
mov dword [esp + 0x970], ebx
mov esi, dword [eax]
push 0x47d880
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
call fcn.00402860
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 0x4238f0
lea ecx, [esp + 0x10]
and ebx, 0xfffffffd
call fcn.00402840
test bl, 1
mov dword [esp + 0x970], 0xffffffff
je 0x423909
lea ecx, [esp + 0x18]
call fcn.00402840
lea eax, [esp + 0x484]
push eax
push str.doCleanupBeforeExit___About_to_execute:__s
push 0
push 0x180
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
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 0x42397a
lea ecx, [esp + 0x484]
push ecx
push str.doCleanupBeforeExit___Failed_to_execute__s
push 1
push 0x185
push str.WebUninstallerDlg::doCleanupBeforeExit
call fcn.0042eef0
add esp, 0x14
jmp 0x423985
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.0044f9f6
mov esp, ebp
pop ebp
ret