Function at 0x42dab0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x830
mov eax, dword [esp + 0x834]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x1c], ecx
je 0x42dd59
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push eax
call edi
add esp, 4
test eax, eax
jbe 0x42dd59
mov esi, dword [esp + 0x848]
cmp esi, ebp
je 0x42dd59
push esi
call edi
add esp, 4
test eax, eax
jbe 0x42dd59
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x63a]
mov word [esp + 0x638], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x638]
mov dword [esp + 0x18], ebp
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
lea ecx, [esp + 0x63c]
push str.Extensions
push ecx
push str._sTheWorldinstall_s_s_
lea edx, [esp + 0x30]
push 0x103
push edx
call ebx
push ebp
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.00434be0
lea ecx, [esp + 0x44]
push ecx
call fcn.00435320
mov eax, dword [esp + 0x86c]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.004d6f60
add esp, 0x30
test eax, eax
je 0x42dd59
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bp
rep stosd dword es:[edi], eax
push 0x4f7770
lea ecx, [esp + 0x24]
push esi
push ecx
push str._s_s._s
lea edx, [esp + 0x238]
push 0x103
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x240]
add esp, 0x18
test eax, eax
je 0x42dbf9
lea ecx, [esp + 0x228]
push ebp
push ecx
call fcn.00434a60
add esp, 8
test eax, eax
jne 0x42dc20
push 0x4f7768
lea edx, [esp + 0x24]
push esi
push edx
push str._s_s._s
lea eax, [esp + 0x238]
push 0x103
push eax
mov ebp, 1
call ebx
add esp, 0x18
lea ecx, [esp + 0x228]
test ecx, ecx
je 0x42dd59
lea edx, [esp + 0x228]
push 0
push edx
call fcn.00434a60
add esp, 8
test eax, eax
je 0x42dd59
test ebp, ebp
jne 0x42dc62
lea eax, [esp + 0x20]
push eax
call fcn.0042df80
add esp, 4
test eax, eax
je 0x42dd59
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x228]
mov dword [esp + 0x14], ecx
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x18], 8
call fcn.0042d9f0
test eax, eax
je 0x42dd59
cmp dword [esp + 0x14], 1
jne 0x42dd59
mov eax, dword [0x5e8dd0]
test eax, eax
je 0x42dcdf
mov ecx, ebp
call fcn.0042d240
test eax, eax
jne 0x42dcdf
lea ecx, [esp + 0x20]
push esi
push ecx
mov ecx, ebp
call fcn.0042dd70
test eax, eax
je 0x42dd48
push esi
push 0
mov ecx, ebp
call fcn.00425870
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret 8
mov dx, word [0x5117f0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
mov word [esp + 0x430], dx
push str.Extensions
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x511a6c
push 0x4f59b8
lea eax, [esp + 0x43c]
push 0x103
push eax
call ebx
lea ecx, [esp + 0x444]
push ecx
call fcn.00435320
lea edx, [esp + 0x448]
push 1
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00435bd0
add esp, 0x24
test eax, eax
je 0x42dd48
jmp 0x42dcc8
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x830
ret 8