Function at 0x437b10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50d170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x5580a0]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x340], edi
mov byte [esp + 0x340], 1
call fcn.004f7db8
mov ecx, dword [eax + 4]
call fcn.004d898e
mov ebp, dword [esp + 0x348]
lea ecx, [esp + 0x18]
push ebp
mov byte [esp + 0x344], 2
call fcn.004dd17f
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 3
call fcn.004dd24a
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd111
call fcn.004f7db8
mov ecx, dword [0x55eec0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00445f60
test eax, eax
je 0x437bcd
push str.esktop_
lea ecx, [esp + 0x18]
call fcn.004d3b06
cmp eax, 0xffffffff
je 0x437e80
cmp dword [0x55eec0], edi
je 0x437e1e
cmp byte [ebp + 1], 0x3a
je 0x437e1e
push 0x552b90
push ebp
call fcn.004c4780
add esp, 8
test eax, eax
jne 0x437e1e
mov esi, 0x554bd8
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437c24
test cl, cl
je 0x437c20
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437c24
add eax, 2
add esi, 2
test cl, cl
jne 0x437c00
xor eax, eax
jmp 0x437c29
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x437d06
call fcn.004f7db8
mov ecx, dword [0x55eec0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00445f60
test eax, eax
jne 0x437e80
call fcn.004f7db8
mov eax, dword [eax + 4]
mov edx, dword [0x55eec0]
push edx
mov ecx, eax
call fcn.00446130
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x437c7a
lea eax, [esp + 0x10]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [esp + 0x18]
push ecx
push 0x10
push edi
call esi
mov ecx, dword [esp + 0x18]
mov eax, dword [0x55eec4]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push edi
push eax
call dword [edx + 0x1c]
mov eax, dword [0x55eec8]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004f7db8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
push edx
mov ecx, eax
call fcn.00445f60
test eax, eax
je 0x437ce1
mov eax, dword [0x55eec8]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 0x10]
push eax
push edi
push edi
call esi
cmp dword [esp + 0x10], edi
je 0x437e80
mov eax, dword [0x55eec8]
mov edx, dword [0x55eec0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x437e7b
mov esi, 0x55497c
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437d31
test cl, cl
je 0x437d2d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437d31
add eax, 2
add esi, 2
test cl, cl
jne 0x437d0d
xor eax, eax
jmp 0x437d36
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x437e80
cmp byte [ebp], 0
je 0x437e80
call fcn.004f7db8
mov ecx, dword [0x55eec0]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.004464e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 4
call fcn.004dd24a
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd111
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, edi
je 0x437da3
cmp byte [eax + ecx - 1], 0x5c
je 0x437da3
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004dd514
push ebp
lea ecx, [esp + 0x18]
call fcn.004dd4ed
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x130]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 1
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [0x55eec4]
lea ecx, [esp + 0x10]
push edi
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x13c]
push ecx
push edi
push edi
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x437e80
cmp dword [esp + 0x10], edi
je 0x437e80
mov eax, dword [0x55eec8]
mov ecx, dword [0x55eec0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [esp + 0x10]
mov dword [0x55eec0], edx
jmp 0x437e80
lea eax, [esp + 0x130]
push 0x104
push eax
push 0xffffffffffffffff
push ebp
push 1
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [0x55eec4]
lea edx, [esp + 0x10]
push edi
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x13c]
push edx
push edi
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x437e80
cmp dword [esp + 0x10], edi
je 0x437e80
mov eax, dword [0x55eec8]
mov edx, dword [0x55eec0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov dword [0x55eec0], eax
cmp dword [0x55eec0], edi
je 0x438215
call fcn.004f7db8
mov ecx, dword [0x55eec0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00445f60
test eax, eax
je 0x437f33
lea edx, [esp + 0x18]
push edx
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x437f9b
call fcn.004f7db8
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, eax
call fcn.004464e0
push 0x5c
push eax
lea eax, [esp + 0x18]
mov bl, 5
push eax
mov byte [esp + 0x34c], bl
call fcn.004d34c6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 6
call fcn.004dd24a
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], bl
call fcn.004dd111
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 2
call fcn.004dd111
mov eax, dword [0x55eec8]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x437f97
call fcn.004f7db8
mov ecx, dword [0x55eec0]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.004464e0
push 0x5c
push eax
lea eax, [esp + 0x2c]
mov bl, 7
push eax
mov byte [esp + 0x34c], bl
call fcn.004d34c6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 8
call fcn.004dd24a
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], bl
call fcn.004dd111
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd111
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x30]
push edi
lea edx, [esp + 0x30]
push ecx
push edx
push eax
call fcn.004c44b1
mov al, byte [esp + 0x3c]
add esp, 0x14
test al, al
jne 0x437fca
mov al, byte [esp + 0x2c]
test al, al
je 0x438087
jmp 0x438027
movsx ecx, al
push ecx
call fcn.004c35e5
sub eax, 0x40
push eax
call fcn.004c443e
add esp, 8
test eax, eax
je 0x43801f
movsx eax, byte [esp + 0x28]
lea edx, [esp + 0x2c]
push 0x104
push edx
push eax
call fcn.004c35e5
add esp, 4
sub eax, 0x40
push eax
call fcn.004c4646
add esp, 0xc
test eax, eax
je 0x43801f
push 2
lea ecx, [esp + 0x30]
push 0x554bf4
push ecx
call fcn.004c2b40
add esp, 0xc
mov al, byte [esp + 0x2c]
test al, al
je 0x438087
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x2b], 0x5c
je 0x438051
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x2b], 0x2f
jne 0x438074
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x438074
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x2b], al
lea edx, [esp + 0x2c]
push edx
call fcn.004c49eb
mov ebx, dword [esp + 0x20]
add esp, 4
xor edi, edi
push 1
push edi
call fcn.004c461f
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x4381b2
call fcn.004f7db8
mov eax, dword [eax + 4]
push ebp
lea ecx, [eax + 0x7cc]
call fcn.004dd29a
call fcn.004f7db8
mov eax, dword [eax + 4]
lea ecx, [eax + 0x7cc]
call fcn.004dd645
cmp dword [ebx + 0x3c0], edi
jne 0x43818b
mov eax, dword [ebx + 0x254]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x146
push eax
xor esi, esi
call edi
test eax, eax
jle 0x438154
mov ecx, dword [esp + 0x1c]
lea ebx, [ecx + 0x238]
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
push esi
call fcn.004ef190
call fcn.004f7db8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x7cc]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004c27be
add esp, 8
test eax, eax
je 0x43813f
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0x146
mov edx, dword [ecx + 0x254]
inc esi
push edx
call edi
cmp esi, eax
jl 0x4380f5
jmp 0x438154
mov eax, dword [esp + 0x1c]
push 0
push esi
push 0x144
mov ecx, dword [eax + 0x254]
push ecx
call edi
call fcn.004f7db8
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax + 0x7cc]
mov edx, dword [esi + 0x254]
push eax
push 0
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x254]
push 0
push 0
push 0x14e
push eax
call edi
mov ebx, esi
mov ecx, ebx
call fcn.00434df0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.004f7db8
mov eax, dword [eax + 4]
cmp dword [eax + 0xa20], 1
jne 0x438200
push 0x554be8
lea ecx, [esp + 0x24]
call fcn.004dd29a
call fcn.004f7db8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
add eax, 0x7cc
push eax
call fcn.004dd529
call fcn.004f7db8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [eax + 0xa04]
call fcn.004d7872
mov ecx, ebx
call fcn.00436870
test eax, eax
jne 0x438253
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x114]
mov byte [esp + 0x340], 1
call fcn.004f7db8
mov ecx, dword [eax + 4]
call fcn.004d89a3
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0
call fcn.004dd111
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.004dd111
xor eax, eax
jmp 0x438299
mov ecx, ebx
call fcn.00432070
mov byte [esp + 0x340], 1
call fcn.004f7db8
mov ecx, dword [eax + 4]
call fcn.004d89a3
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0
call fcn.004dd111
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.004dd111
mov eax, 1
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x334
ret 4