Function at 0x4238c4
Capabilities:
Get common file path

Disassembly:
mov eax, 0x462cb7
call fcn.0043b400
sub esp, 0x204
and dword [ebp - 0x6c], 0
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x3c], ecx
push dword [ebp + 0xc]
mov esi, 0x4675b0
mov edi, 0x4675a8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x9c], edi
call fcn.0040b297
mov ecx, dword [ebp - 0x3c]
push 1
pop ebx
lea eax, [ebp - 0xe4]
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
call fcn.00425178
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x424075
lea eax, [ebp - 0x3e]
push 0
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.0040b222
lea eax, [ebp - 0x3d]
push 0
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c], 0x468098
mov dword [ebp - 0xec], 0x468090
call fcn.0040b0fa
lea eax, [ebp - 0xd]
push ebx
mov edi, 0x4790f4
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 5
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
push ebx
je 0x423a54
lea eax, [ebp + 0x13]
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0042597a
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
call fcn.0040b3c6
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00406295
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.004240c8
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x423a37
mov eax, 0x46756c
test eax, eax
jne 0x423a37
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bdf9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401279
jmp 0x42402a
lea eax, [ebp - 0xd]
mov edi, 0x4790dc
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 9
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
je 0x423b3a
mov ecx, dword [ebp + 0x10]
call fcn.0042422d
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0042597a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00406295
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.004240c8
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x423b22
mov eax, 0x46756c
test eax, eax
jne 0x423b22
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bdf9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423a4a
lea eax, [ebp - 0xd]
push ebx
mov edi, 0x4790c4
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xd
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
push ebx
je 0x423c16
lea eax, [ebp + 0x13]
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.0042597a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.00406295
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.004240c8
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x10
test eax, eax
jne 0x423bfe
mov eax, 0x46756c
test eax, eax
jne 0x423bfe
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bdf9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423a4a
lea eax, [ebp - 0xd]
mov edi, 0x4790ac
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x11
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
je 0x423cfc
mov ecx, dword [ebp + 0x10]
call fcn.0042422d
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.0042597a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.00406295
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.004240c8
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x423ce4
mov eax, 0x46756c
test eax, eax
jne 0x423ce4
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bdf9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423a4a
lea eax, [ebp - 0xd]
push ebx
mov esi, 0x47909c
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x15
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
je 0x423de1
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x68]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.0042597a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00406295
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a610
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x18
call fcn.004067c1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x424025
lea eax, [ebp - 0xd]
push ebx
mov esi, 0x47908c
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x19
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
je 0x423ec6
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x68]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042597a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00406295
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a610
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x1c
call fcn.004067c1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x424025
lea eax, [ebp - 0xd]
push ebx
mov esi, 0x479078
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a610
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x1d
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0040ce6e
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406295
cmp byte [ebp + 0xf], 0
je 0x423fb0
mov ecx, dword [ebp + 0x10]
call fcn.0042422d
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x68]
call fcn.0040b32a
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.0042597a
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.00406295
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406295
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a610
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x20
call fcn.004067c1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x424025
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
call fcn.004251f7
test al, al
je 0x42402a
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x38]
call fcn.0040b32a
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040b3c6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00406295
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004252dc
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x22
call fcn.004067c1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00406295
cmp dword [ebp - 0x88], 0
je 0x424057
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040a78a
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
call fcn.004067c1
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401279
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00406295
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xbc]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4675b0
mov dword [esi + 0x20], 0x4675a8
call fcn.0040b297
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], bl
call fcn.00406295
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00406295
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc