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

Disassembly:
push ebx
push esi
add esp, 0xfffffb30
mov ebx, eax
mov esi, 0x4d302c
call fcn.00449b78
push 0x814
push 0
push 0x4d2818
call fcn.00497b00
add esp, 0xc
mov edx, 0x4abd28
mov eax, 0x4c56a4
mov ecx, 0xf
push 0
call fcn.0047a574
mov dword [0x4d2814], eax
mov dl, 1
mov dword [esi + 0xc], 0x4abd37
mov dword [esi + 0x18], 0x478698
mov dword [esi + 0x3c], 0x4abd41
mov dword [esi + 0x48], 0x478942
mov dword [esi + 0x6c], 0x4abd4b
mov dword [esi + 0x78], 0x478f75
mov dword [esi + 0x9c], 0x4abd56
mov dword [esi + 0xa8], 0x479124
mov dword [esp], 0x34
mov eax, dword [0x4b2148]
mov dword [esp + 4], 0x22a
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, 0x4c56a4
call fcn.0047ab08
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 [0x4c7804], 0
je 0x47945f
mov edx, 0x4d281c
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.00457598
xor edx, edx
mov dword [esp + 0x1c], 2
mov dword [0x4d2818], 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 [0x4b2148]
mov dword [esi + edx*8 + 8], ecx
inc eax
cmp eax, 4
jl 0x479461
push 4
mov ecx, esi
lea edx, [esp + 4]
mov eax, 0x4b2128
call fcn.00428f08
push esp
call sub.COMCTL32.DLL_PropertySheetA
test eax, eax
mov eax, 0x4b2128
setg bl
and ebx, 1
mov edx, esi
mov ecx, 4
call fcn.00428f74
test bl, bl
je 0x4796de
mov eax, dword [0x4d2818]
sub eax, 1
jb 0x4794d8
sub eax, 2
jb 0x4795a9
jmp 0x4796de
push 1
push 0
mov edx, 0x4d281c
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.00455fa0
dec eax
jne 0x4796de
lea edx, [esp + 0x34]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, 0x4d2c1c
xor ecx, ecx
xor edx, edx
call fcn.0040a2c4
push 0x4d2c1c
call fcn.00499610
pop ecx
lea edx, [esp + 0x434]
mov eax, 0x4c5bc4
call fcn.004575cc
call fcn.00449558
mov ecx, 0x4bdcb8
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
call fcn.00457598
mov ecx, dword [esp + 0x444]
mov dword [0x4bc468], ecx
mov eax, dword [0x4be4b8]
call fcn.0040fbc4
mov edx, 0x4abd63
mov eax, dword [0x4be4b8]
call fcn.0040fbf4
call fcn.0044a0dc
mov eax, 0x4c5bc4
xor ecx, ecx
xor edx, edx
call fcn.0045249c
lea eax, [esp + 0x34]
push eax
call fcn.00499610
pop ecx
push 1
push 0x4abd36
push 0
push 0x4d2c1c
push 0x4abd65
push 0
call sub.SHELL32.DLL_ShellExecuteA
jmp 0x4796de
mov edx, 0x4bd8b8
mov eax, 0x4d281c
call fcn.00479336
mov dword [0x4bba84], 2
mov dword [0x4bba80], 1
mov dl, byte [0x4d301d]
mov byte [0x4bbabc], dl
cmp byte [0x4d301f], 0
je 0x4795eb
mov dword [0x4bba60], 2
mov ecx, dword [0x4d3020]
mov dword [0x4bba88], ecx
mov ecx, dword [0x4d3024]
mov dword [0x4bba8c], ecx
cmp dword [0x4d2818], 2
jne 0x479649
mov eax, 0x4bd8b8
xor edx, edx
call fcn.0040a72c
test al, al
je 0x479649
push 1
push 0
mov ecx, 0x4bdcb8
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
call fcn.00455fa0
dec eax
jne 0x4796c6
mov ecx, dword [0x4c5dcc]
mov dword [0x4bc468], ecx
jmp 0x4796c6
cmp byte [0x4d301e], 0
je 0x47968b
mov edx, 0x4abd6a
mov eax, 0x4bd8b8
call fcn.0040c174
test al, al
jne 0x479677
push 0x4abd6e
push 0x4bd8b8
call fcn.00497ba4
add esp, 8
push 0x4abd63
push 0x4b9dc8
call fcn.00497c80
add esp, 8
jmp 0x4796c6
cmp dword [0x4bc468], 0
jne 0x47969b
mov esi, 0x4abd73
jmp 0x4796a0
mov esi, 0x4abd78
lea edx, [esi + 1]
mov eax, 0x4bd8b8
call fcn.0040c174
test al, al
jne 0x4796bf
push esi
push 0x4bd8b8
call fcn.00497ba4
add esp, 8
mov byte [0x4b9dc8], 0
mov eax, 0x4bd8b8
mov dl, 1
call fcn.0040c6b8
mov eax, 0x4c5bc4
xor edx, edx
call fcn.00452c98
mov eax, ebx
add esp, 0x4d0
pop esi
pop ebx
ret