Function at 0x423c90
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1418
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x1414], eax
push edi
mov edi, ecx
test edi, edi
je 0x423cec
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423cb4
sub eax, edx
sar eax, 1
je 0x423cec
push 0
push 0
mov edx, edi
call fcn.0045e440
add esp, 8
test eax, eax
je 0x423d04
push edi
push str.Create_Director_Fail__:___s_
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 8
xor al, al
pop edi
mov ecx, dword [esp + 0x1414]
xor ecx, esp
call fcn.004a998e
add esp, 0x1418
ret
push 0x800
lea eax, [esp + 0xc1c]
push 0
push eax
call fcn.004ab450
push 0x200
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.004ab450
add esp, 0x18
lea edx, [esp + 0x218]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x423d5c
push 0x200
push eax
lea eax, [esp + 0x220]
push eax
call fcn.004ab450
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 1
push eax
lea ecx, [esp + 0x21c]
push ecx
push str._s_04x
lea edx, [esp + 0xc24]
call fcn.00411a00
push 0
push 1
lea ecx, [esp + 0xc2c]
call fcn.0045d900
push 0
push 0
lea edx, [esp + 0xc34]
call fcn.0045e440
add esp, 0x1c
push ebx
push ebp
mov dword [esp + 0x14], 0
mov byte [esp + 0xf], 1
push esi
push 0x200
xor ebx, ebx
lea edx, [esp + 0x28]
push ebx
push edx
call fcn.004ab450
mov eax, dword [esp + 0x24]
push eax
xor ebp, ebp
push str.FILE_d
lea edx, [esp + 0x38]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebp
call fcn.0040bfd0
add esp, 0x14
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, str.FILEINFO
call fcn.00424400
cmp eax, ebx
jne 0x423f52
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 8]
push ecx
mov ecx, str.FILES
call fcn.00424400
cmp eax, ebx
jne 0x423f7b
cmp dword [esi + 4], ebx
push 0x800
lea edx, [esp + 0x428]
push ebx
push edx
je 0x423ec0
call fcn.004ab450
lea eax, [esi + 0x208]
push eax
lea eax, [esp + 0xc34]
push eax
push 0x4dd780
lea edx, [esp + 0x43c]
call fcn.00411a00
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
add esp, 0x18
push ecx
push ebp
lea ebx, [esp + 0x42c]
call fcn.004248a0
mov ebx, eax
test ebx, ebx
jne 0x423fa3
lea esi, [esp + 0x424]
call fcn.00481530
test al, al
je 0x423fad
mov eax, dword [esp + 0x14]
add eax, 0x208
push eax
push str.Extract__s_success
mov ecx, 0x527b30
call fcn.00449000
mov esi, dword [esp + 0x1c]
add esp, 8
jmp 0x423f32
call fcn.004ab450
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423ed0
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
lea edx, [esp + 0x424]
jne 0x423efd
lea eax, [esi + 0x208]
push eax
push edi
push str._s_s
jmp 0x423f0a
lea ecx, [esi + 0x208]
push ecx
push edi
push 0x4dd780
call fcn.00411a00
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
add esp, 0xc
push edx
push ebp
lea ebx, [esp + 0x42c]
call fcn.004248a0
mov ebx, eax
test ebx, ebx
jne 0x423fcd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
add dword [esp + 0x18], 1
test ebx, ebx
je 0x423db2
jmp 0x423fee
lea ecx, [esp + 0x24]
push ecx
push str.FILEINFO
push str.Get_resource_fail_____s__s_
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
mov esi, dword [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x13], 1
jmp 0x423fee
lea edx, [esp + 0x24]
push edx
push str.FILEINFO
push str.Get_resource_fail_____s__s_
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
mov ebp, dword [esp + 0x28]
add esp, 0xc
mov byte [esp + 0x13], bl
jmp 0x423fee
lea eax, [esp + 0x424]
push eax
jmp 0x423fd5
mov ecx, dword [esp + 0x14]
add ecx, 0x208
push ecx
push str.Extract__s_fail___
mov ecx, 0x527b30
call fcn.00449000
mov esi, dword [esp + 0x1c]
jmp 0x423fe6
lea edx, [esp + 0x424]
push edx
push str.Create_file_fail_____s_
mov ecx, ebx
mov edx, 0x527b30
call fcn.00448ec0
add esp, 8
mov byte [esp + 0x13], 0
test esi, esi
je 0x423ff9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebp, ebp
je 0x424004
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 1
lea ecx, [esp + 0xc2c]
call fcn.0045d900
mov ecx, dword [esp + 0x142c]
mov al, byte [esp + 0x1b]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.004a998e
add esp, 0x1418
ret