Function at 0x4dab60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0040f8f0
lea edi, [ebx + 0x1c]
mov ecx, edi
call fcn.00425ac0
xor ebp, ebp
lea esi, [ebx + 0xf4]
mov dword [ebx + 0x28], ebp
mov eax, dword [0x546560]
mov dword [ebx + 0x38], eax
mov ecx, dword [0x546560]
mov dword [ebx + 0x40], ecx
mov ecx, esi
call fcn.004cd980
lea ecx, [esi + 0x20]
call fcn.0042dbf0
mov dword [esi], 0x540ff8
lea esi, [ebx + 0x168]
mov ecx, esi
call fcn.004cd980
lea ecx, [esi + 0x20]
call fcn.0042dbf0
mov dword [esi], 0x540ff8
mov eax, dword [0x554ad4]
cmp eax, ebp
jne 0x4dabdd
push 0x554ad4
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x4dabe3
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [ebx + 0x1fc]
call fcn.004d8230
mov eax, dword [0x546560]
lea esi, [ebx + 0x234]
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x220], ebp
mov dword [ebx + 0x224], ebp
mov dword [ebx + 0x22c], ebp
mov ecx, esi
mov dword [ebx + 0x230], ebp
call fcn.004cd980
mov dword [esi], 0x541d84
mov dword [ebx + 0x264], ebp
lea ecx, [ebx + 0x27c]
mov dword [ebx + 0x270], ebp
call fcn.0050fea0
mov dword [ebx + 0x284], ebp
mov ecx, dword [0x546560]
mov dword [ebx + 0x288], ecx
lea ecx, [ebx + 0x2b8]
call fcn.00516580
mov edx, dword [0x546560]
lea ecx, [ebx + 0x428]
mov dword [ebx + 0x3d8], edx
mov dword [ebx + 0x3fc], ebp
mov dword [ebx + 0x3f8], ebp
mov dword [ebx + 0x400], ebp
mov dword [ebx + 0x424], ebp
call fcn.00425c70
lea ecx, [ebx + 0x4a8]
call fcn.0041c250
mov eax, dword [0x546560]
lea esi, [ebx + 0x61c]
mov ecx, esi
mov dword [ebx + 0x618], eax
call fcn.0050a610
mov dword [esi + 0x84], ebp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi], 0x541d70
mov dword [ebx], 0x5412e4
mov dword [edi], 0x5412c8
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x50], ebp
mov dword [ebx + 0x228], ebp
mov dword [ebx + 0x1dc], ebp
mov dword [ebx + 0xf0], ebp
mov dword [ebx + 0x24], ebp
lea edi, [ebx + 0x90]
mov ecx, 0x18
xor eax, eax
mov dword [ebx + 0x8c], ebp
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov dword [ebx + 0x274], ebp
mov dword [ebx + 0x278], ebp
mov ecx, dword [0x553d9c]
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, 0x7f
push 0xff
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [0x546560]
lea ecx, [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4dadb6
lea edx, [esp + 0x2c]
shr edx, 0x10
jne 0x4dad65
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00413c90
jmp 0x4dadb6
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebp
je 0x4dadb6
lea eax, [edi + edi + 0xe]
push eax
call fcn.00531ba5
add esp, 4
cmp eax, ebp
je 0x4dadb6
mov dword [eax], 1
mov word [eax + edi*2 + 0xc], bp
lea ecx, [edi + edi]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
add eax, 0xc
mov edx, ecx
lea esi, [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x14], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebp
jl 0x4daefe
push 0x546f04
push eax
call fcn.0053176f
add esp, 8
cmp eax, ebp
je 0x4daefe
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, ebp
jle 0x4daefe
lea edi, [eax + 1]
cmp edi, ebp
jge 0x4dadf4
xor edi, edi
jmp 0x4dadfd
mov eax, dword [ecx - 8]
cmp edi, eax
jle 0x4dadfd
mov edi, eax
mov eax, dword [0x546560]
cmp edi, ebp
mov dword [esp + 0x18], eax
jne 0x4dae10
mov dword [esp + 0x18], eax
jmp 0x4dae37
push edi
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x4dae37
mov esi, dword [esp + 0x14]
lea ecx, [edi + edi]
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405440
lea ecx, [esp + 0x18]
call fcn.00405700
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x4daed3
cmp dword [ecx - 0xc], ebp
jge 0x4dae6c
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4dae71
cmp dword [eax - 0xc], ebp
jge 0x4daeb4
mov edi, dword [eax - 8]
lea ecx, [esp + 0x14]
push edi
mov esi, eax
mov dword [esp + 0x20], edi
call fcn.00405660
test eax, eax
je 0x4daecf
lea eax, [edi + edi]
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], edx
mov ecx, dword [esp + 0x14]
mov word [eax + ecx], bp
jmp 0x4daecf
lea ecx, [esp + 0x14]
call fcn.00412670
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4daefe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4daefe
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, 1
push ebp
push esi
push ecx
call fcn.005292a0
push ebp
lea edx, [esp + 0x3c]
push esi
push edx
mov dword [0x55e17c], eax
call fcn.005292a0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x18
mov dword [0x55e180], eax
lea eax, [esp + 0x2c]
push 0x546f04
push eax
call edi
lea ecx, [esp + 0x2c]
push str.nnnnn
push ecx
call edi
push ebp
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.005292a0
mov dword [0x55e184], eax
mov dword [ebx + 0x290], ebp
mov dword [ebx + 0x28c], ebp
mov dword [ebx + 0x2a4], ebp
mov dword [ebx + 0x3dc], ebp
mov dword [ebx + 0x2a0], ebp
mov dword [ebx + 0x1e4], ebp
mov dword [ebx + 0x1e8], ebp
mov dword [ebx + 0x29c], esi
or edi, 0xffffffff
mov dword [ebx + 0x88], ebp
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x208], ebp
mov dword [ebx + 0x218], esi
mov dword [ebx + 0x214], ebp
mov dword [ebx + 0x210], esi
mov dword [ebx + 0x20c], ebp
mov dword [ebx + 0x260], ebp
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x1f0], ebp
mov dword [ebx + 0x44], ebp
mov dword [ebx + 0x48], ebp
mov dword [ebx + 0x3f4], edi
mov dword [ebx + 0x4c], ebp
mov dword [ebx + 0x150], 0x9c4
mov dword [ebx + 0x1c4], 0xff
mov dword [ebx + 0x140], 7
mov dword [ebx + 0x420], ebp
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x298], ebp
mov dword [ebx + 0x294], ebp
mov dword [ebx + 0x84], ebp
mov dword [ebx + 0x1ec], ebp
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x2a8], ebp
mov dword [ebx + 0x1f8], ebp
mov dword [ebx + 0x78], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x5c], ebp
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x1f4], ebp
mov eax, dword [0x546560]
mov ecx, str.Spalten
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4db09c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebp
je 0x4db09c
push esi
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x4db09c
mov ecx, dword [esp + 0x18]
lea eax, [esi + 1]
cmp eax, ebp
mov esi, ecx
jne 0x4db079
cmp ecx, ebp
jne 0x4db092
push eax
push ecx
push edi
push str.Spalten
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebp
jle 0x4db092
mov word [esi + eax*2 - 2], bp
push edi
lea ecx, [esp + 0x1c]
call fcn.00405bb0
lea edx, [esp + 0x1c]
mov ecx, 0x55e54c
push edx
call fcn.0048ee00
mov ecx, dword [0x546560]
mov eax, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
push ecx
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x24]
push edx
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004059f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebp
jl 0x4db0e9
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4db0fd
mov edx, dword [0x546560]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.00405920
lea ecx, [esp + 0x20]
call fcn.00405700
mov ecx, dword [ebx + 0x288]
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0x288]
cmp ecx, eax
je 0x4db199
cmp dword [ecx - 0xc], ebp
jge 0x4db12c
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4db131
cmp dword [eax - 0xc], ebp
jge 0x4db17e
mov esi, dword [eax - 8]
mov ecx, edi
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
call fcn.00405660
test eax, eax
je 0x4db195
mov edi, dword [ebx + 0x288]
lea eax, [esi + esi]
mov esi, dword [esp + 0x28]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x288]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x288]
mov word [ecx + eax], bp
jmp 0x4db195
mov ecx, edi
call fcn.00412670
mov eax, dword [esp + 0x10]
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4db1c8
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4db1ce
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
jmp 0x4db1ce
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4db1f9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4db1f9
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4db224
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4db224
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4db24f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4db24f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x21c
ret