Function at 0x4d4430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2c57
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], ecx
lea ecx, [ebp - 0xc4]
call fcn.0041d120
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x36d]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x124]
call fcn.004148f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x36e]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.004148f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x36f]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x104]
call fcn.004148f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x370]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x54]
call fcn.004148f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x46c]
add ecx, 0x7c
call fcn.0041d450
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x46c]
add ecx, 0x60
call fcn.00414d50
push 1
push 0x5141e0
mov ecx, 0x595c40
call fcn.004bf220
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jne 0x4d45a3
push 0x5141fc
push 1
push 0
mov ecx, dword [ebp - 0x46c]
add ecx, 0x5c
push ecx
push 2
push 0x33
push 0x595e00
call fcn.0048bf50
add esp, 0x1c
mov dword [ebp - 0x374], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041d2e0
mov eax, dword [ebp - 0x374]
jmp 0x4d4f6e
push 2
push 0x2714
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x470]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x470]
mov eax, dword [edx + 0x5c]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jne 0x4d468b
push 0x514218
push 1
push 0
mov ecx, dword [ebp - 0x46c]
add ecx, 0x5c
push ecx
push 3
push 0x33
push 0x595e00
call fcn.0048bf50
add esp, 0x1c
call fcn.004af7d0
mov dword [ebp - 0x474], eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x474]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x474]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x378], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041d2e0
mov eax, dword [ebp - 0x378]
jmp 0x4d4f6e
jmp 0x4d469d
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
je 0x4d4e0c
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x46c]
call fcn.004d32e0
test eax, eax
jne 0x4d477e
push str.FileNames.dat
push 1
push 0
mov edx, dword [ebp - 0x46c]
add edx, 0x5c
push edx
push 3
push 0x33
push 0x595e00
call fcn.0048bf50
add esp, 0x1c
call fcn.004af7d0
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x478]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x478]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x37c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041d2e0
mov eax, dword [ebp - 0x37c]
jmp 0x4d4f6e
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x4d4799
lea edx, [ebp - 0x124]
add edx, 4
mov dword [ebp - 0x47c], edx
jmp 0x4d47a3
mov dword [ebp - 0x47c], 0
mov eax, dword [ebp - 0x46c]
add eax, 0x1c
je 0x4d47bf
mov ecx, dword [ebp - 0x46c]
add ecx, 0x20
mov dword [ebp - 0x480], ecx
jmp 0x4d47c9
mov dword [ebp - 0x480], 0
mov edx, dword [ebp - 0x47c]
push edx
mov eax, dword [ebp - 0x480]
push eax
lea ecx, [ebp - 0x398]
push ecx
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x484], eax
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x488]
push eax
lea ecx, [ebp - 0x30]
call fcn.00407ba0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x398]
call fcn.00414bf0
mov ecx, dword [ebp - 0x5c]
and ecx, 0x2000
je 0x4d48bb
push 0x104
lea edx, [ebp - 0x32c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x120]
call fcn.00413e50
push eax
lea ecx, [ebp - 0x32c]
push ecx
call fcn.0044ac1a
add esp, 8
lea ecx, [ebp - 0x3bd]
call fcn.0040b800
push eax
lea edx, [ebp - 0x32c]
push edx
lea ecx, [ebp - 0x3bc]
call fcn.00414c40
mov byte [ebp - 4], 6
push 0
lea eax, [ebp - 0x3bc]
push eax
call fcn.0048ded0
add esp, 8
mov byte [ebp - 0x399], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3bc]
call fcn.00414a10
movzx ecx, byte [ebp - 0x399]
test ecx, ecx
je 0x4d48bb
jmp 0x4d468d
mov edx, dword [ebp - 0x5c]
and edx, 0x200
je 0x4d4b1f
lea ecx, [ebp - 0x338]
call fcn.00419780
mov byte [ebp - 4], 7
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0048e7d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4d4b0b
lea ecx, [ebp - 0x3be]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x364]
call fcn.004148f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x33c]
call fcn.00438f30
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x100]
call fcn.0041d400
mov dword [ebp - 0x344], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x344]
add eax, 1
push eax
lea ecx, [ebp - 0x100]
call fcn.00414d50
lea ecx, [ebp - 0x3c4]
push ecx
lea ecx, [ebp - 0x338]
call fcn.0042f610
mov edx, dword [eax]
mov dword [ebp - 0x33c], edx
jmp 0x4d4970
lea ecx, [ebp - 0x33c]
call fcn.0041a660
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x338]
call fcn.00426830
push eax
lea ecx, [ebp - 0x33c]
call fcn.0042f670
movzx ecx, al
test ecx, ecx
je 0x4d4afc
lea ecx, [ebp - 0x33c]
call fcn.0041d4f0
push eax
lea ecx, [ebp - 0x364]
call fcn.00415500
lea edx, [ebp - 0x364]
push edx
call fcn.00490480
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x360]
call fcn.0041d400
mov dword [ebp - 0x344], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x344]
add ecx, 1
push ecx
lea edx, [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0x360]
call fcn.00417090
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x490]
push ecx
lea ecx, [ebp - 0x364]
call fcn.00407ba0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3e4]
call fcn.00414bf0
lea edx, [ebp - 0x364]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00415500
lea eax, [ebp - 0x364]
test eax, eax
je 0x4d4a5f
lea ecx, [ebp - 0x364]
add ecx, 4
mov dword [ebp - 0x494], ecx
jmp 0x4d4a69
mov dword [ebp - 0x494], 0
lea edx, [ebp - 0x104]
test edx, edx
je 0x4d4a84
lea eax, [ebp - 0x104]
add eax, 4
mov dword [ebp - 0x498], eax
jmp 0x4d4a8e
mov dword [ebp - 0x498], 0
mov ecx, dword [ebp - 0x494]
push ecx
mov edx, dword [ebp - 0x498]
push edx
lea eax, [ebp - 0x400]
push eax
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x4a0], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4a0]
push edx
lea ecx, [ebp - 0xa4]
call fcn.00407ba0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x400]
call fcn.00414bf0
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x46c]
add ecx, 0x7c
call fcn.0041d420
jmp 0x4d4965
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x364]
call fcn.00414a10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x338]
call fcn.00419800
jmp 0x4d468d
mov ecx, dword [ebp - 0x5c]
and ecx, 0x10000
je 0x4d4b83
call fcn.004856c0
movzx edx, al
test edx, edx
jne 0x4d4b3b
jmp 0x4d468d
lea eax, [ebp - 0x104]
push eax
mov ecx, 0x595e28
call fcn.004e04c0
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x4d4b67
lea edx, [ebp - 0x124]
add edx, 4
mov dword [ebp - 0x4a4], edx
jmp 0x4d4b71
mov dword [ebp - 0x4a4], 0
mov eax, dword [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x100]
call fcn.00404ea0
lea ecx, [ebp - 0x80]
call fcn.0041d350
lea ecx, [ebp - 0x124]
test ecx, ecx
je 0x4d4ba6
lea edx, [ebp - 0x124]
add edx, 4
mov dword [ebp - 0x4a8], edx
jmp 0x4d4bb0
mov dword [ebp - 0x4a8], 0
mov eax, dword [ebp - 0x46c]
add eax, 0x1c
je 0x4d4bcc
mov ecx, dword [ebp - 0x46c]
add ecx, 0x20
mov dword [ebp - 0x4ac], ecx
jmp 0x4d4bd6
mov dword [ebp - 0x4ac], 0
push 0x514250
mov edx, dword [ebp - 0x4ac]
push edx
lea eax, [ebp - 0x41c]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x4b0], eax
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x4a8]
push edx
mov eax, dword [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x4b8], eax
mov edx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x54]
call fcn.00407ba0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x438]
call fcn.00414bf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x41c]
call fcn.00414bf0
lea ecx, [ebp - 0x120]
call fcn.00413930
movzx ecx, al
test ecx, ecx
jne 0x4d4c92
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.0048ded0
add esp, 8
movzx eax, al
test eax, eax
jne 0x4d4d78
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.0048ded0
add esp, 8
movzx edx, al
test edx, edx
jne 0x4d4d67
mov eax, dword [ebp - 0x5c]
and eax, 1
je 0x4d4cbd
jmp 0x4d468d
lea ecx, [ebp - 0x120]
call fcn.00413e50
push eax
push 1
push 0
mov ecx, dword [ebp - 0x46c]
add ecx, 0x5c
push ecx
push 2
push 0x33
push 0x595e00
call fcn.0048bf50
add esp, 0x1c
call fcn.004af7d0
mov dword [ebp - 0x4c0], eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x4c0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c0]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x43c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041d2e0
mov eax, dword [ebp - 0x43c]
jmp 0x4d4f6e
lea ecx, [ebp - 0x30]
push ecx
call fcn.00490480
add esp, 4
mov dword [ebp - 0x64], eax
jmp 0x4d4dc8
lea ecx, [ebp - 0x45d]
call fcn.0040b800
push eax
push str.Override_
lea ecx, [ebp - 0x45c]
call fcn.00414c40
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x84]
call fcn.00415500
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x45c]
call fcn.00414a10
lea eax, [ebp - 0x54]
push eax
call fcn.00490480
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00415500
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00415500
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x46c]
add ecx, 0x7c
call fcn.0041d420
jmp 0x4d468d
call fcn.004af7d0
mov dword [ebp - 0x4c4], eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x4c4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c4]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x46c]
add ecx, 0x3c
push ecx
lea ecx, [ebp - 0xe4]
call fcn.00414990
mov byte [ebp - 4], 0xe
cmp dword [0x595b2c], 0
je 0x4d4e85
push 0
push 0x514278
lea ecx, [ebp - 0xe0]
call fcn.0041d3b0
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0xffffffff
je 0x4d4e85
push 0xffffffffffffffff
mov edx, dword [ebp - 0x368]
push edx
lea ecx, [ebp - 0xe0]
call fcn.00414d50
mov eax, dword [ebp - 0x46c]
mov dword [eax + 0x88], 0
lea ecx, [ebp - 0x36c]
push ecx
mov ecx, dword [ebp - 0x46c]
add ecx, 0x7c
call fcn.0042f610
jmp 0x4d4eb7
lea ecx, [ebp - 0x36c]
call fcn.0041a660
lea edx, [ebp - 0x464]
push edx
mov ecx, dword [ebp - 0x46c]
add ecx, 0x7c
call fcn.00426830
push eax
lea ecx, [ebp - 0x36c]
call fcn.0042f670
movzx eax, al
test eax, eax
je 0x4d4f07
lea ecx, [ebp - 0x36c]
call fcn.0041e460
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx + 0x88]
add edx, dword [eax + 0x60]
mov eax, dword [ebp - 0x46c]
mov dword [eax + 0x88], edx
jmp 0x4d4eac
mov dword [ebp - 0x468], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00414a10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00414a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00414a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041d2e0
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret