Function at 0x431c10
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc38
push ebx
mov ebx, dword [esp + 0xc40]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
je 0x431eee
cmp dword [esp + 0xc50], ebp
je 0x431eee
cmp dword [esp + 0xc54], ebp
je 0x431eee
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x83a]
mov word [esp + 0x838], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x838]
mov dword [esp + 0x14], ebp
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
lea ecx, [esp + 0x83c]
push str.Extensions
push ecx
push str._sTheWorldinstall_s_s_
lea edx, [esp + 0x28]
push 0x103
push edx
call esi
push ebp
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.00433280
lea ecx, [esp + 0x3c]
push ecx
call fcn.004339c0
mov eax, dword [esp + 0xc78]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004d18f0
add esp, 0x30
test eax, eax
je 0x431eee
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
push 0x4f15ac
lea ecx, [esp + 0x1c]
push ebx
push ecx
push str._s_s._s
lea edx, [esp + 0x230]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x238]
add esp, 0x18
test eax, eax
je 0x431d3e
lea ecx, [esp + 0x220]
push ebp
push ecx
call fcn.00433100
add esp, 8
test eax, eax
jne 0x431d67
push 0x4f15a4
lea edx, [esp + 0x1c]
push ebx
push edx
push str._s_s._s
lea eax, [esp + 0x230]
push 0x103
push eax
mov edi, 1
call esi
add esp, 0x18
jmp 0x431d6b
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x220]
test ecx, ecx
je 0x431eee
lea edx, [esp + 0x220]
push ebp
push edx
call fcn.00433100
add esp, 8
test eax, eax
je 0x431eee
cmp edi, ebp
jne 0x431dac
lea eax, [esp + 0x18]
push eax
call fcn.0042ced0
add esp, 4
test eax, eax
je 0x431eee
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push str.Count
push str.UpdateExt
call fcn.0040bd00
mov edx, dword [esp + 0x1c]
inc edx
push edx
push str.Count
push str.UpdateExt
call fcn.0040be40
mov ax, word [0x50b180]
mov ecx, 0x81
mov word [esp + 0x440], ax
xor eax, eax
lea edi, [esp + 0x442]
add esp, 0x18
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x428]
push ecx
push str.Name_d
push 0x103
push edx
stosw word es:[edi], ax
call esi
push 0xffffffffffffffff
lea eax, [esp + 0x43c]
push ebx
push eax
push str.UpdateExt
call fcn.0040bc80
mov cx, word [0x50b180]
mov edx, dword [esp + 0x30]
mov word [esp + 0x650], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x652]
rep stosd dword es:[edi], eax
add esp, 0x20
stosw word es:[edi], ax
push edx
push str.File_d
lea eax, [esp + 0x638]
push 0x103
push eax
call esi
mov ecx, dword [esp + 0xc60]
push 0xffffffffffffffff
lea edx, [esp + 0x644]
push ecx
push edx
push str.UpdateExt
call fcn.0040bc80
mov ax, word [0x50b180]
mov ecx, 0x81
mov word [esp + 0xa60], ax
xor eax, eax
lea edi, [esp + 0xa62]
add esp, 0x20
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa40]
push ecx
push str.Version_d
push 0x103
push edx
stosw word es:[edi], ax
call esi
mov eax, dword [esp + 0xc64]
push 0xffffffffffffffff
lea ecx, [esp + 0xa54]
push eax
push ecx
push str.UpdateExt
call fcn.0040bc80
add esp, 0x20
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc38
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc38
ret