Function at 0x42cba0
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 0x42ce49
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push eax
call edi
add esp, 4
test eax, eax
jbe 0x42ce49
mov esi, dword [esp + 0x848]
cmp esi, ebp
je 0x42ce49
push esi
call edi
add esp, 4
test eax, eax
jbe 0x42ce49
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.004334c0
lea ecx, [esp + 0x44]
push ecx
call fcn.00433c00
mov eax, dword [esp + 0x86c]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.004d1e50
add esp, 0x30
test eax, eax
je 0x42ce49
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bp
rep stosd dword es:[edi], eax
push 0x4f1638
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 0x42cce9
lea ecx, [esp + 0x228]
push ebp
push ecx
call fcn.00433340
add esp, 8
test eax, eax
jne 0x42cd10
push 0x4f1630
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 0x42ce49
lea edx, [esp + 0x228]
push 0
push edx
call fcn.00433340
add esp, 8
test eax, eax
je 0x42ce49
test ebp, ebp
jne 0x42cd52
lea eax, [esp + 0x20]
push eax
call fcn.0042d070
add esp, 4
test eax, eax
je 0x42ce49
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.0042cae0
test eax, eax
je 0x42ce49
cmp dword [esp + 0x14], 1
jne 0x42ce49
mov eax, dword [0x5e27b0]
test eax, eax
je 0x42cdcf
mov ecx, ebp
call fcn.0042c330
test eax, eax
jne 0x42cdcf
lea ecx, [esp + 0x20]
push esi
push ecx
mov ecx, ebp
call fcn.0042ce60
test eax, eax
je 0x42ce38
push esi
push 0
mov ecx, ebp
call fcn.00424ac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret 8
mov dx, word [0x50b1d0]
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 0x50b44c
push 0x4ef9ec
lea eax, [esp + 0x43c]
push 0x103
push eax
call ebx
lea ecx, [esp + 0x444]
push ecx
call fcn.00433c00
lea edx, [esp + 0x448]
push 1
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.004344b0
add esp, 0x24
test eax, eax
je 0x42ce38
jmp 0x42cdb8
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