Function at 0x4db720
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00524330
lea edi, [ebx + 0x1c]
mov ecx, edi
call fcn.004259a0
xor ebp, ebp
lea esi, [ebx + 0xf4]
mov dword [ebx + 0x28], ebp
mov eax, dword [0x547570]
mov dword [ebx + 0x38], eax
mov ecx, dword [0x547570]
mov dword [ebx + 0x40], ecx
mov ecx, esi
call fcn.0042a140
lea ecx, [esi + 0x20]
call fcn.0042dc90
mov dword [esi], 0x542000
lea esi, [ebx + 0x168]
mov ecx, esi
call fcn.0042a140
lea ecx, [esi + 0x20]
call fcn.0042dc90
mov dword [esi], 0x542000
mov eax, dword [0x555b44]
cmp eax, ebp
jne 0x4db79d
push 0x555b44
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x4db7a3
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [ebx + 0x1fc]
call fcn.004d8df0
mov eax, dword [0x547570]
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.0042a140
mov dword [esi], 0x542d84
mov dword [ebx + 0x264], ebp
lea ecx, [ebx + 0x27c]
mov dword [ebx + 0x270], ebp
call fcn.005107a0
mov dword [ebx + 0x284], ebp
mov ecx, dword [0x547570]
mov dword [ebx + 0x288], ecx
lea ecx, [ebx + 0x2b8]
call fcn.00516ee0
mov edx, dword [0x547570]
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.00425b50
lea ecx, [ebx + 0x4a8]
call fcn.0041c130
mov eax, dword [0x547570]
lea esi, [ebx + 0x61c]
mov ecx, esi
mov dword [ebx + 0x618], eax
call fcn.0050b170
mov dword [esi + 0x84], ebp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi], 0x542d70
mov dword [ebx], 0x5422e4
mov dword [edi], 0x5422c8
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 [0x554e0c]
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 [0x547570]
lea ecx, [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4db976
lea edx, [esp + 0x2c]
shr edx, 0x10
jne 0x4db925
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00413ae0
jmp 0x4db976
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebp
je 0x4db976
lea eax, [edi + edi + 0xe]
push eax
call fcn.00532695
add esp, 4
cmp eax, ebp
je 0x4db976
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 0x4dbabe
push 0x547f14
push eax
call fcn.0053225f
add esp, 8
cmp eax, ebp
je 0x4dbabe
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, ebp
jle 0x4dbabe
lea edi, [eax + 1]
cmp edi, ebp
jge 0x4db9b4
xor edi, edi
jmp 0x4db9bd
mov eax, dword [ecx - 8]
cmp edi, eax
jle 0x4db9bd
mov edi, eax
mov eax, dword [0x547570]
cmp edi, ebp
mov dword [esp + 0x18], eax
jne 0x4db9d0
mov dword [esp + 0x18], eax
jmp 0x4db9f7
push edi
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x4db9f7
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 0x4dba93
cmp dword [ecx - 0xc], ebp
jge 0x4dba2c
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4dba31
cmp dword [eax - 0xc], ebp
jge 0x4dba74
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 0x4dba8f
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 0x4dba8f
lea ecx, [esp + 0x14]
call fcn.004124c0
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 [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4dbabe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4dbabe
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, 1
push ebp
push esi
push ecx
call fcn.00529d70
push ebp
lea edx, [esp + 0x3c]
push esi
push edx
mov dword [0x55f234], eax
call fcn.00529d70
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x18
mov dword [0x55f238], eax
lea eax, [esp + 0x2c]
push 0x547f14
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.00529d70
mov dword [0x55f23c], 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 [0x547570]
mov ecx, str.Spalten
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x4dbc5c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebp
je 0x4dbc5c
push esi
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
je 0x4dbc5c
mov ecx, dword [esp + 0x18]
lea eax, [esi + 1]
cmp eax, ebp
mov esi, ecx
jne 0x4dbc39
cmp ecx, ebp
jne 0x4dbc52
push eax
push ecx
push edi
push str.Spalten
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebp
jle 0x4dbc52
mov word [esi + eax*2 - 2], bp
push edi
lea ecx, [esp + 0x1c]
call fcn.00405bb0
lea edx, [esp + 0x1c]
mov ecx, 0x55f604
push edx
call fcn.0048fd50
mov ecx, dword [0x547570]
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 0x4dbca9
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4dbcbd
mov edx, dword [0x547570]
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 0x4dbd59
cmp dword [ecx - 0xc], ebp
jge 0x4dbcec
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4dbcf1
cmp dword [eax - 0xc], ebp
jge 0x4dbd3e
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 0x4dbd55
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 0x4dbd55
mov ecx, edi
call fcn.004124c0
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 [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4dbd88
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4dbd8e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
jmp 0x4dbd8e
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4dbdb9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4dbdb9
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4dbde4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4dbde4
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4dbe0f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4dbe0f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x21c
ret