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

Disassembly:
push 0x8c
mov eax, 0x4337c3
call fcn.0042e975
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
je 0x404851
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.00401ce7
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.00405130
cmp eax, 2
je 0x404840
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x404840
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.0040555c
jmp 0x404853
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
call fcn.0040555c
jmp 0x4049ec
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.00405279
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.0040474d
mov ecx, dword [edi + 0x24]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x404923
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, 0xa0000017
je 0x4048db
cmp eax, 0xa0000059
je 0x4048db
cmp eax, esi
jne 0x4048e4
cmp dword [edi + 0x78], esi
je 0x4049d5
mov ebx, 0x437cd0
cmp eax, 0xa0000021
jne 0x40490f
cmp dword [0x441b60], esi
jne 0x4048fd
mov ebx, str.Bandizip_SFX
push str.ERR_INVALID_PASSWORD
call fcn.0040105d
pop ecx
push 0x30
jmp 0x4049ca
cmp dword [0x441b60], esi
jne 0x40491c
mov ebx, str.Bandizip_SFX
push str.ERR_ERROR_OCCURRED
jmp 0x404902
mov eax, dword [edi + 0x4c]
cmp dword [eax - 0xc], esi
je 0x404997
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x40
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.00422c40
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 0x404982
push dword [ebp - 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x4c]
call ebx
jmp 0x404997
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 0x4049ab
push esi
push esi
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4049d5
mov ebx, 0x437cd0
cmp dword [0x441b60], esi
jne 0x4049bd
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.0040474d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [edi + 0x2c], esi
call fcn.00401cc5
xor eax, eax
call fcn.0042ea14
ret