Function at 0x437de0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50d4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x5580c0]
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.004f80f4
mov ecx, dword [eax + 4]
call fcn.004d8ccf
mov ebp, dword [esp + 0x348]
lea ecx, [esp + 0x18]
push ebp
mov byte [esp + 0x344], 2
call fcn.004dd4bb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 3
call fcn.004dd586
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd44d
call fcn.004f80f4
mov ecx, dword [0x55eee0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00446290
test eax, eax
je 0x437e9d
push str.esktop_
lea ecx, [esp + 0x18]
call fcn.004d3e42
cmp eax, 0xffffffff
je 0x438150
cmp dword [0x55eee0], edi
je 0x4380ee
cmp byte [ebp + 1], 0x3a
je 0x4380ee
push 0x552b90
push ebp
call fcn.004c4ab0
add esp, 8
test eax, eax
jne 0x4380ee
mov esi, 0x554bd8
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437ef4
test cl, cl
je 0x437ef0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437ef4
add eax, 2
add esi, 2
test cl, cl
jne 0x437ed0
xor eax, eax
jmp 0x437ef9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x437fd6
call fcn.004f80f4
mov ecx, dword [0x55eee0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00446290
test eax, eax
jne 0x438150
call fcn.004f80f4
mov eax, dword [eax + 4]
mov edx, dword [0x55eee0]
push edx
mov ecx, eax
call fcn.00446460
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x437f4a
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 [0x55eee4]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push edi
push eax
call dword [edx + 0x1c]
mov eax, dword [0x55eee8]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004f80f4
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
push edx
mov ecx, eax
call fcn.00446290
test eax, eax
je 0x437fb1
mov eax, dword [0x55eee8]
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 0x438150
mov eax, dword [0x55eee8]
mov edx, dword [0x55eee0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x43814b
mov esi, 0x55497c
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x438001
test cl, cl
je 0x437ffd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x438001
add eax, 2
add esi, 2
test cl, cl
jne 0x437fdd
xor eax, eax
jmp 0x438006
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x438150
cmp byte [ebp], 0
je 0x438150
call fcn.004f80f4
mov ecx, dword [0x55eee0]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.00446810
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 4
call fcn.004dd586
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd44d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, edi
je 0x438073
cmp byte [eax + ecx - 1], 0x5c
je 0x438073
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004dd850
push ebp
lea ecx, [esp + 0x18]
call fcn.004dd829
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 [0x55eee4]
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 0x438150
cmp dword [esp + 0x10], edi
je 0x438150
mov eax, dword [0x55eee8]
mov ecx, dword [0x55eee0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [esp + 0x10]
mov dword [0x55eee0], edx
jmp 0x438150
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 [0x55eee4]
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 0x438150
cmp dword [esp + 0x10], edi
je 0x438150
mov eax, dword [0x55eee8]
mov edx, dword [0x55eee0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov dword [0x55eee0], eax
cmp dword [0x55eee0], edi
je 0x4384e5
call fcn.004f80f4
mov ecx, dword [0x55eee0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00446290
test eax, eax
je 0x438203
lea edx, [esp + 0x18]
push edx
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43826b
call fcn.004f80f4
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, eax
call fcn.00446810
push 0x5c
push eax
lea eax, [esp + 0x18]
mov bl, 5
push eax
mov byte [esp + 0x34c], bl
call fcn.004d3802
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 6
call fcn.004dd586
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], bl
call fcn.004dd44d
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 2
call fcn.004dd44d
mov eax, dword [0x55eee8]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x438267
call fcn.004f80f4
mov ecx, dword [0x55eee0]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.00446810
push 0x5c
push eax
lea eax, [esp + 0x2c]
mov bl, 7
push eax
mov byte [esp + 0x34c], bl
call fcn.004d3802
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 8
call fcn.004dd586
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], bl
call fcn.004dd44d
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd44d
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.004c47e1
mov al, byte [esp + 0x3c]
add esp, 0x14
test al, al
jne 0x43829a
mov al, byte [esp + 0x2c]
test al, al
je 0x438357
jmp 0x4382f7
movsx ecx, al
push ecx
call fcn.004c3915
sub eax, 0x40
push eax
call fcn.004c476e
add esp, 8
test eax, eax
je 0x4382ef
movsx eax, byte [esp + 0x28]
lea edx, [esp + 0x2c]
push 0x104
push edx
push eax
call fcn.004c3915
add esp, 4
sub eax, 0x40
push eax
call fcn.004c4976
add esp, 0xc
test eax, eax
je 0x4382ef
push 2
lea ecx, [esp + 0x30]
push 0x554bf4
push ecx
call fcn.004c2e70
add esp, 0xc
mov al, byte [esp + 0x2c]
test al, al
je 0x438357
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 0x438321
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 0x438344
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x438344
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.004c4d1b
mov ebx, dword [esp + 0x20]
add esp, 4
xor edi, edi
push 1
push edi
call fcn.004c494f
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x438482
call fcn.004f80f4
mov eax, dword [eax + 4]
push ebp
lea ecx, [eax + 0x7cc]
call fcn.004dd5d6
call fcn.004f80f4
mov eax, dword [eax + 4]
lea ecx, [eax + 0x7cc]
call fcn.004dd981
cmp dword [ebx + 0x3c0], edi
jne 0x43845b
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 0x438424
mov ecx, dword [esp + 0x1c]
lea ebx, [ecx + 0x238]
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
push esi
call fcn.004ef4c7
call fcn.004f80f4
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x7cc]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004c2aee
add esp, 8
test eax, eax
je 0x43840f
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 0x4383c5
jmp 0x438424
mov eax, dword [esp + 0x1c]
push 0
push esi
push 0x144
mov ecx, dword [eax + 0x254]
push ecx
call edi
call fcn.004f80f4
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.00435040
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.004f80f4
mov eax, dword [eax + 4]
cmp dword [eax + 0xa20], 1
jne 0x4384d0
push 0x554be8
lea ecx, [esp + 0x24]
call fcn.004dd5d6
call fcn.004f80f4
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
add eax, 0x7cc
push eax
call fcn.004dd865
call fcn.004f80f4
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [eax + 0xa04]
call fcn.004d7bf3
mov ecx, ebx
call fcn.00436b30
test eax, eax
jne 0x438523
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x114]
mov byte [esp + 0x340], 1
call fcn.004f80f4
mov ecx, dword [eax + 4]
call fcn.004d8ce4
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.004dd44d
xor eax, eax
jmp 0x438569
mov ecx, ebx
call fcn.004322b0
mov byte [esp + 0x340], 1
call fcn.004f80f4
mov ecx, dword [eax + 4]
call fcn.004d8ce4
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.004dd44d
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