Function at 0x4dd404
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4dd40d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4dd970
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027dc
mov dword [ebp - 0x1c], eax
push 0xff
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp + 0xc]
call fcn.0041bc20
mov dl, 1
mov eax, dword [0x4187ec]
call fcn.00403a04
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x43efdc]
call fcn.0043f0dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4dd92e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0043f17c
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.0043f1e4
test al, al
je 0x4dd910
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0043f5d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4dd910
inc esi
xor ebx, ebx
mov eax, dword [0x55c098]
cmp byte [eax], 1
je 0x4dd910
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x20]
call fcn.00404b74
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0046d0e8
call fcn.004d27bc
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0043f710
dec eax
sub al, 2
jae 0x4dd8fc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.00404a60
push dword [ebp - 0x28]
push 0x4dd988
lea ecx, [ebp - 0x30]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.0043f760
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404be8
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.00408ee0
mov edx, dword [ebp - 0x34]
mov eax, 0x4dd998
call fcn.00404e6c
cmp eax, 2
jne 0x4dd8fc
mov edx, dword [ebp - 0x18]
mov eax, 0x4dd9a4
call fcn.00404e6c
test eax, eax
jne 0x4dd8fc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00408dd0
mov edx, dword [ebp - 0x38]
mov eax, 0x4dd9b0
call fcn.00404e6c
test eax, eax
jne 0x4dd8fc
mov eax, dword [0x55bdac]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.004d1820
test al, al
je 0x4dd8fc
mov eax, dword [ebp - 0x18]
call fcn.0040991c
test al, al
jne 0x4dd8fc
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 0x14]
call fcn.004d0a34
push dword [ebp - 0x44]
push 0x4dd9bc
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404be8
mov ecx, dword [ebp - 0x40]
mov edx, 0x4dd9c8
mov eax, dword [ebp + 8]
call fcn.004d1dfc
cmp al, 1
je 0x4dd908
mov eax, dword [ebp + 0xc]
call fcn.0048f650
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
mov edx, dword [0x55bf60]
mov dl, byte [edx + 0xf]
mov byte [eax + 0xc], dl
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x12
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp + 0x14]
call fcn.004d0a34
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, 0x4dd9e0
call fcn.0040a4d0
mov edx, dword [ebp - 0x48]
pop eax
call fcn.004048bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x16
mov edx, 0x4dd9f0
call fcn.004048bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x1a
push eax
lea ecx, [ebp - 0x60]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x60]
pop eax
call fcn.004048bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x1e
push eax
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x10]
call fcn.0043f760
mov edx, dword [ebp - 0x64]
pop eax
call fcn.004048bc
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp + 0x14]
call fcn.004d0a34
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, 0x4dd9e0
call fcn.0040a4d0
mov eax, dword [ebp - 0x6c]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x2e
mov edx, 0x4dda00
pop ecx
call fcn.00404b74
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x32
mov edx, 0x4dda14
pop ecx
call fcn.00404b74
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.0043f760
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x36
mov edx, 0x4dda28
pop ecx
call fcn.00404b74
push 0x4dda38
lea ecx, [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.0043f760
push dword [ebp - 0x80]
push 0x4dda4c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x3a
mov edx, 3
call fcn.00404be8
mov eax, dword [0x55c4c4]
inc dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
mov edx, dword [0x55c4c4]
mov edx, dword [edx]
mov dword [eax + 0x2a], edx
push 0x4dda80
lea ecx, [ebp - 0x8c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x10]
call fcn.0043f760
push dword [ebp - 0x88]
push 0x4dda94
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp + 0x14]
call fcn.004d0a34
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea edx, [ebp - 0x58]
mov ecx, 1
mov eax, 0x4dd9e0
call fcn.0040a4d0
push dword [ebp - 0x90]
push 0x4ddaa4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x3e
mov edx, 5
call fcn.00404be8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0048f664
add eax, 0x42
mov edx, 0x4ddad0
call fcn.004048bc
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041bcc4
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], 0
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, 0x4ddaf0
call fcn.0040a4d0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 8]
call fcn.0046d0e8
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048da60
inc ebx
dec esi
jne 0x4dd4c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd935
mov eax, dword [ebp - 0x10]
call fcn.00403a34
mov eax, dword [ebp - 0x14]
call fcn.00403a34
ret