Function at 0x4319b0
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 0x431c8e
cmp dword [esp + 0xc50], ebp
je 0x431c8e
cmp dword [esp + 0xc54], ebp
je 0x431c8e
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.00433090
lea ecx, [esp + 0x3c]
push ecx
call fcn.004337d0
mov eax, dword [esp + 0xc78]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004cf360
add esp, 0x30
test eax, eax
je 0x431c8e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
push 0x4eb5b4
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 0x431ade
lea ecx, [esp + 0x220]
push ebp
push ecx
call fcn.00432f10
add esp, 8
test eax, eax
jne 0x431b07
push 0x4eb5ac
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 0x431b0b
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x220]
test ecx, ecx
je 0x431c8e
lea edx, [esp + 0x220]
push ebp
push edx
call fcn.00432f10
add esp, 8
test eax, eax
je 0x431c8e
cmp edi, ebp
jne 0x431b4c
lea eax, [esp + 0x18]
push eax
call fcn.0042cee0
add esp, 4
test eax, eax
je 0x431c8e
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push str.Count
push str.UpdateExt
call fcn.0040bcd0
mov edx, dword [esp + 0x1c]
inc edx
push edx
push str.Count
push str.UpdateExt
call fcn.0040be10
mov ax, word [0x505000]
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.0040bc50
mov cx, word [0x505000]
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.0040bc50
mov ax, word [0x505000]
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.0040bc50
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