Function at 0x424020
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ffd6
push eax
mov dword fs:[0], esp
sub esp, 0x3d4
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x5c]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
call fcn.00423960
lea ecx, [esi + 0x64]
call fcn.00423960
lea ecx, [esi + 0x54]
call fcn.00423960
lea edi, [esi + 0x18]
mov dword [esi + 0x50], ebx
mov ecx, edi
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
call fcn.004053c0
mov ebp, dword [esp + 0x3f4]
mov byte [esi + 0x41], bl
cmp ebp, ebx
jne 0x4240a2
mov ecx, dword [esp + 0x3f8]
cmp ecx, ebx
je 0x42423c
mov eax, dword [ecx]
push str.loadFileInfoAnsi_failed:_no_filename
call dword [eax + 0x10]
xor al, al
jmp 0x4242bf
push ebp
call fcn.0041e9c0
add esp, 4
cmp eax, 0xffffffff
jne 0x424134
mov edi, dword [esp + 0x3f8]
cmp edi, ebx
je 0x4240f2
lea ecx, [esp + 0xc0]
push ecx
push 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [edi]
lea eax, [esp + 0xc0]
push eax
push str.curDir
mov ecx, edi
call dword [edx + 0x28]
mov edx, dword [edi]
push str.loadFileInfoAnsi_failed:_cannot_get_attributes
mov ecx, edi
call dword [edx + 0x10]
push edi
push ebp
call fcn.0040b7e0
add esp, 8
test al, al
jne 0x424118
cmp edi, ebx
mov byte [esi + 0x10], 1
je 0x42423c
mov eax, dword [edi]
push str.File_does_not_exist.
mov ecx, edi
call dword [eax + 0x10]
cmp edi, ebx
je 0x42423c
mov edx, dword [edi]
push ebp
push str.filename
mov ecx, edi
call dword [edx + 0x28]
xor al, al
jmp 0x4242bf
mov dword [esi + 0x50], eax
lea ecx, [esp + 0x38]
shr eax, 4
and al, 1
mov byte [esi + 0x40], al
call fcn.00408850
push ebp
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3f0], ebx
call fcn.00408a40
lea ecx, [esp + 0x38]
call fcn.00409260
push eax
mov ecx, edi
call fcn.00406650
lea ecx, [esp + 0x14]
call fcn.0041f9d0
mov al, byte [esi + 0x40]
mov edi, dword [esp + 0x3f8]
cmp al, bl
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x1c]
push ecx
mov byte [esp + 0x3f8], 1
push edx
je 0x4241a0
call fcn.0040caa0
jmp 0x4241a5
call fcn.0040ca60
add esp, 0x10
cmp al, bl
jne 0x4241c4
cmp dword [esp + 0x10], 1
jne 0x4241b7
mov byte [esi + 0x11], 1
cmp edi, ebx
je 0x424218
mov eax, dword [edi]
push str.loadFileInfoAnsi_failed:_cannot_open_for_reading
jmp 0x424206
lea ecx, [esp + 0x30]
call fcn.00423970
lea ecx, [esp + 0x28]
call fcn.00423970
lea ecx, [esp + 0x20]
call fcn.00423970
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0041fbb0
cmp al, bl
jne 0x424240
cmp edi, ebx
je 0x424218
mov eax, dword [edi]
push str.loadFileInfoAnsi_failed:_cannot_get_file_time
mov ecx, edi
call dword [eax + 0x10]
mov edx, dword [edi]
push ebp
push str.filename
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ec], bl
call fcn.0041fa80
lea ecx, [esp + 0x38]
mov dword [esp + 0x3ec], 0xffffffff
call fcn.00408920
xor al, al
jmp 0x4242bf
lea eax, [esi + 0x5c]
lea ecx, [esp + 0x30]
push eax
call fcn.00423980
lea eax, [esi + 0x64]
lea ecx, [esp + 0x28]
push eax
call fcn.00423980
lea eax, [esi + 0x54]
lea ecx, [esp + 0x20]
push eax
call fcn.00423980
cmp byte [esi + 0x40], bl
je 0x424277
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
jmp 0x424299
push ebx
lea ecx, [esp + 0x18]
call fcn.00420030
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov ecx, dword [esi + 0x48]
mov eax, edx
push eax
push ecx
call fcn.0041f830
add esp, 8
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ec], bl
call fcn.0041fa80
lea ecx, [esp + 0x38]
mov dword [esp + 0x3ec], 0xffffffff
call fcn.00408920
mov al, 1
mov ecx, dword [esp + 0x3e4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3e0
ret 8