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

Disassembly:
push ebx
push esi
add esp, 0xfffffb30
mov ebx, eax
mov esi, 0x4d2fec
call fcn.00449b48
push 0x814
push 0
push 0x4d27d8
call fcn.00497ae0
add esp, 0xc
mov edx, str.WizardLogo.bmp
mov eax, 0x4c5664
mov ecx, 0xf
push 0
call fcn.0047a524
mov dword [0x4d27d4], eax
mov dl, 1
mov dword [esi + 0xc], str.WIZARDCMD
mov dword [esi + 0x18], 0x478648
mov dword [esi + 0x3c], str.WIZARDARC
mov dword [esi + 0x48], 0x4788f2
mov dword [esi + 0x6c], str.WIZARDEXTR
mov dword [esi + 0x78], 0x478f25
mov dword [esi + 0x9c], str.WIZARDADDOPT
mov dword [esi + 0xa8], 0x4790d4
mov dword [esp], 0x34
mov eax, dword [0x4b2108]
mov dword [esp + 4], 0x22a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, 0x4c5664
call fcn.0047aab8
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor eax, eax
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
cmp dword [0x4c77c4], 0
je 0x47940f
mov edx, 0x4d27dc
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.00457568
xor edx, edx
mov dword [esp + 0x1c], 2
mov dword [0x4d27d8], 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 [0x4b2108]
mov dword [esi + edx*8 + 8], ecx
inc eax
cmp eax, 4
jl 0x479411
push 4
mov ecx, esi
lea edx, [esp + 4]
mov eax, 0x4b20e8
call fcn.00428eec
push esp
call sub.COMCTL32.DLL_PropertySheetA
test eax, eax
mov eax, 0x4b20e8
setg bl
and ebx, 1
mov edx, esi
mov ecx, 4
call fcn.00428f58
test bl, bl
je 0x47968e
mov eax, dword [0x4d27d8]
sub eax, 1
jb 0x479488
sub eax, 2
jb 0x479559
jmp 0x47968e
push 1
push 0
mov edx, 0x4d27dc
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.00455f70
dec eax
jne 0x47968e
lea edx, [esp + 0x34]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, 0x4d2bdc
xor ecx, ecx
xor edx, edx
call fcn.0040a2a8
push 0x4d2bdc
call fcn.004995f4
pop ecx
lea edx, [esp + 0x434]
mov eax, 0x4c5b84
call fcn.0045759c
call fcn.00449528
mov ecx, 0x4bdc78
mov edx, 0x4bd878
mov eax, 0x4c5b84
call fcn.00457568
mov ecx, dword [esp + 0x444]
mov dword [0x4bc428], ecx
mov eax, dword [0x4be478]
call fcn.0040fba8
mov edx, 0x4abd23
mov eax, dword [0x4be478]
call fcn.0040fbd8
call fcn.0044a0ac
mov eax, 0x4c5b84
xor ecx, ecx
xor edx, edx
call fcn.0045246c
lea eax, [esp + 0x34]
push eax
call fcn.004995f4
pop ecx
push 1
push 0x4abcf6
push 0
push 0x4d2bdc
push str.open
push 0
call sub.SHELL32.DLL_ShellExecuteA
jmp 0x47968e
mov edx, 0x4bd878
mov eax, 0x4d27dc
call fcn.004792e6
mov dword [0x4bba44], 2
mov dword [0x4bba40], 1
mov dl, byte [0x4d2fdd]
mov byte [0x4bba7c], dl
cmp byte [0x4d2fdf], 0
je 0x47959b
mov dword [0x4bba20], 2
mov ecx, dword [0x4d2fe0]
mov dword [0x4bba48], ecx
mov ecx, dword [0x4d2fe4]
mov dword [0x4bba4c], ecx
cmp dword [0x4d27d8], 2
jne 0x4795f9
mov eax, 0x4bd878
xor edx, edx
call fcn.0040a710
test al, al
je 0x4795f9
push 1
push 0
mov ecx, 0x4bdc78
mov edx, 0x4bd878
mov eax, 0x4c5b84
call fcn.00455f70
dec eax
jne 0x479676
mov ecx, dword [0x4c5d8c]
mov dword [0x4bc428], ecx
jmp 0x479676
cmp byte [0x4d2fde], 0
je 0x47963b
mov edx, 0x4abd2a
mov eax, 0x4bd878
call fcn.0040c158
test al, al
jne 0x479627
push 0x4abd2e
push 0x4bd878
call fcn.00497b84
add esp, 8
push 0x4abd23
push 0x4b9d88
call fcn.00497c60
add esp, 8
jmp 0x479676
cmp dword [0x4bc428], 0
jne 0x47964b
mov esi, str..rar
jmp 0x479650
mov esi, 0x4abd38
lea edx, [esi + 1]
mov eax, 0x4bd878
call fcn.0040c158
test al, al
jne 0x47966f
push esi
push 0x4bd878
call fcn.00497b84
add esp, 8
mov byte [0x4b9d88], 0
mov eax, 0x4bd878
mov dl, 1
call fcn.0040c69c
mov eax, 0x4c5b84
xor edx, edx
call fcn.00452c68
mov eax, ebx
add esp, 0x4d0
pop esi
pop ebx
ret