Function at 0x4047ae
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0x8c
mov eax, 0x433468
call fcn.0042e665
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
je 0x404835
xor ebx, ebx
lea esi, [ebp - 0x20]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], vtable.CPasswordDlg.0
call fcn.00401cdd
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ebx, [ebp - 0x40]
call fcn.00405114
cmp eax, 2
je 0x404824
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x404824
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 0x24]
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.00405540
jmp 0x404837
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
call fcn.00405540
jmp 0x4049d0
xor esi, esi
mov eax, dword [0x440f0c]
mov ecx, 0x440f0c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ebx, [edi + 4]
push 0x3e8
lea ecx, [ebp - 0x10]
mov eax, ebx
mov dword [ebp - 4], 1
call fcn.0040525d
push 0x3eb
push dword [ebx]
mov dword [edi + 0x2c], 1
mov dword [edi + 0x34], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov ebx, edi
mov dword [edi + 0x48], eax
mov dword [edi + 0x78], esi
call fcn.00404731
mov ecx, dword [edi + 0x24]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x404907
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, 0xa0000017
je 0x4048bf
cmp eax, 0xa0000059
je 0x4048bf
cmp eax, esi
jne 0x4048c8
cmp dword [edi + 0x78], esi
je 0x4049b9
mov ebx, 0x437cd0
cmp eax, 0xa0000021
jne 0x4048f3
cmp dword [0x441b60], esi
jne 0x4048e1
mov ebx, str.Bandizip_SFX
push str.ERR_INVALID_PASSWORD
call fcn.0040105d
pop ecx
push 0x30
jmp 0x4049ae
cmp dword [0x441b60], esi
jne 0x404900
mov ebx, str.Bandizip_SFX
push str.ERR_ERROR_OCCURRED
jmp 0x4048e6
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], esi
je 0x40497b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x40
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.00422930
mov eax, dword [edi + 0x4c]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
mov dword [ebp - 0x98], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404966
push dword [ebp - 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x4c]
call ebx
jmp 0x40497b
push 5
push dword [ebp - 0x10]
push esi
push dword [edi + 0x4c]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [edi + 0x50], esi
je 0x40498f
push esi
push esi
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4049b9
mov ebx, 0x437cd0
cmp dword [0x441b60], esi
jne 0x4049a1
mov ebx, str.Bandizip_SFX
push str.MSG_COMPLETED
call fcn.0040105d
pop ecx
push 0x40
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
mov ebx, edi
call fcn.00404731
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [edi + 0x2c], esi
call fcn.00401cc5
xor eax, eax
call fcn.0042e704
ret