Function at 0x433490
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 0x43376e
cmp dword [esp + 0xc50], ebp
je 0x43376e
cmp dword [esp + 0xc54], ebp
je 0x43376e
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.00434be0
lea ecx, [esp + 0x3c]
push ecx
call fcn.00435320
mov eax, dword [esp + 0xc78]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004d6f60
add esp, 0x30
test eax, eax
je 0x43376e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
push 0x4f7770
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 0x4335be
lea ecx, [esp + 0x220]
push ebp
push ecx
call fcn.00434a60
add esp, 8
test eax, eax
jne 0x4335e7
push 0x4f7768
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 0x4335eb
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x220]
test ecx, ecx
je 0x43376e
lea edx, [esp + 0x220]
push ebp
push edx
call fcn.00434a60
add esp, 8
test eax, eax
je 0x43376e
cmp edi, ebp
jne 0x43362c
lea eax, [esp + 0x18]
push eax
call fcn.0042df80
add esp, 4
test eax, eax
je 0x43376e
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push str.Count
push str.UpdateExt
call fcn.0040cbb0
mov edx, dword [esp + 0x1c]
inc edx
push edx
push str.Count
push str.UpdateExt
call fcn.0040ccb0
mov ax, word [0x5117f0]
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.0040cb30
mov cx, word [0x5117f0]
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.0040cb30
mov ax, word [0x5117f0]
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.0040cb30
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