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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffb2c
mov edi, eax
mov esi, 0x4bd670
mov ebx, 0x49edec
call fcn.0044f680
push 0x814
push 0
push 0x4bce5c
call fcn.00482880
add esp, 0xc
xor eax, eax
mov dword [esp], eax
push 0xf
call sub.USER32.DLL_GetSysColor
mov dword [esp + 4], eax
push 1
lea edx, [esp + 4]
push edx
push 0
push 0x7b
push dword [ebx]
call sub.COMCTL32.DLL_CreateMappedBitmap
mov ebp, eax
mov dword [0x4bce58], ebp
mov eax, ebp
call fcn.00462c0c
mov dword [esi + 0xc], str.WIZARDCMD
lea edx, [esi + 0x30]
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], 0x46f698
mov dword [edx + 0xc], str.WIZARDARC
lea eax, [esi + 0x60]
lea edx, [esi + 0x60]
mov dword [ecx + 0x18], 0x46f918
mov dword [eax + 0xc], str.WIZARDEXTR
lea ecx, [esi + 0x90]
lea eax, [esi + 0x90]
mov dword [edx + 0x18], 0x46ff31
mov dword [ecx + 0xc], str.WIZARDADDOPT
mov dword [eax + 0x18], 0x4700c2
mov dword [esp + 8], 0x34
mov dword [esp + 0xc], 0x22c
mov dword [esp + 0x10], edi
xor ecx, ecx
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0x14], edx
cmp dword [0x4afc0c], 0
mov dword [esp + 0x18], 0x65
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
je 0x4703a4
mov edx, 0x4bce60
mov eax, 0x4adfd0
xor ecx, ecx
call fcn.0045900c
xor edx, edx
mov dword [esp + 0x24], 2
mov dword [0x4bce5c], edx
xor eax, eax
mov edx, eax
add edx, edx
lea edx, [edx + edx*2]
mov dword [esi + edx*8], 0x30
mov dword [esi + edx*8 + 4], 0x20
mov ecx, dword [ebx]
mov dword [esi + edx*8 + 8], ecx
inc eax
cmp eax, 4
jl 0x4703a6
push 4
mov ecx, esi
lea edx, [esp + 0xc]
mov eax, 0x49edf4
call fcn.00423854
lea eax, [esp + 8]
push eax
call sub.COMCTL32.DLL_PropertySheetA
test eax, eax
mov eax, 0x49edf4
setg bl
and ebx, 1
mov edx, esi
mov ecx, 4
call fcn.004238c0
test bl, bl
je 0x4705c9
mov eax, dword [0x4bce5c]
sub eax, 1
jb 0x47041d
sub eax, 2
jb 0x4704ec
jmp 0x4705c9
push 1
push 0
mov edx, 0x4bce60
mov eax, 0x4adfd0
xor ecx, ecx
call fcn.00457b40
dec eax
jne 0x4705c9
lea edx, [esp + 0x3c]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, 0x4bd260
xor ecx, ecx
xor edx, edx
call fcn.004095e0
push 0x4bd260
call fcn.00484424
pop ecx
lea edx, [esp + 0x43c]
mov eax, 0x4adfd0
call fcn.00459040
call fcn.0044f218
mov ecx, 0x4a88b8
mov edx, 0x4a84b8
mov eax, 0x4adfd0
call fcn.0045900c
mov ecx, dword [esp + 0x44c]
mov dword [0x4a7c9c], ecx
mov eax, dword [0x4a90b8]
call fcn.0040e19c
mov edx, 0x499d14
mov eax, dword [0x4a90b8]
call fcn.0040e1cc
call fcn.0044fbdc
mov eax, 0x4adfd0
xor edx, edx
call fcn.00454abc
lea ecx, [esp + 0x3c]
push ecx
call fcn.00484424
pop ecx
push 1
push 0x499cf1
push 0
push 0x4bd260
push str.open
push 0
call sub.SHELL32.DLL_ShellExecuteA
jmp 0x4705c9
mov edx, 0x4a84b8
mov eax, 0x4bce60
call fcn.00470254
mov dword [0x4a76f0], 2
mov dword [0x4a76ec], 1
mov cl, byte [0x4bd661]
mov byte [0x4a7718], cl
cmp byte [0x4bd663], 0
je 0x47052e
mov dword [0x4a76cc], 2
mov eax, dword [0x4bd664]
mov dword [0x4a76f4], eax
mov eax, dword [0x4bd668]
mov dword [0x4a76f8], eax
cmp dword [0x4bce5c], 2
jne 0x47055f
mov eax, 0x4a84b8
xor edx, edx
call fcn.00409944
test al, al
jne 0x4705b1
cmp byte [0x4bd662], 0
je 0x47058b
mov edx, 0x499d1b
mov eax, 0x4a84b8
call fcn.0040ac28
push 0x499d14
push 0x4a623c
call fcn.00482a00
add esp, 8
jmp 0x4705b1
cmp dword [0x4a7c9c], 0
jne 0x47059b
mov edx, 0x499d1f
jmp 0x4705a0
mov edx, 0x499d23
mov eax, 0x4a84b8
call fcn.0040ac28
mov byte [0x4a623c], 0
mov eax, 0x4a84b8
mov dl, 1
call fcn.0040b0f8
mov eax, 0x4adfd0
xor edx, edx
call fcn.00454c40
mov eax, ebx
add esp, 0x4d4
pop ebp
pop edi
pop esi
pop ebx
ret