Function at 0x437b30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50d1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov eax, dword [0x5581a0]
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.004f7df8
mov ecx, dword [eax + 4]
call fcn.004d89ce
mov ebp, dword [esp + 0x348]
lea ecx, [esp + 0x18]
push ebp
mov byte [esp + 0x344], 2
call fcn.004dd1bf
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 3
call fcn.004dd28a
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd151
call fcn.004f7df8
mov ecx, dword [0x55efc0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00445f80
test eax, eax
je 0x437bed
push str.esktop_
lea ecx, [esp + 0x18]
call fcn.004d3b46
cmp eax, 0xffffffff
je 0x437ea0
cmp dword [0x55efc0], edi
je 0x437e3e
cmp byte [ebp + 1], 0x3a
je 0x437e3e
push 0x552b90
push ebp
call fcn.004c47c0
add esp, 8
test eax, eax
jne 0x437e3e
mov esi, 0x554cd8
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437c44
test cl, cl
je 0x437c40
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437c44
add eax, 2
add esi, 2
test cl, cl
jne 0x437c20
xor eax, eax
jmp 0x437c49
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x437d26
call fcn.004f7df8
mov ecx, dword [0x55efc0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00445f80
test eax, eax
jne 0x437ea0
call fcn.004f7df8
mov eax, dword [eax + 4]
mov edx, dword [0x55efc0]
push edx
mov ecx, eax
call fcn.00446150
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x437c9a
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 [0x55efc4]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push edi
push eax
call dword [edx + 0x1c]
mov eax, dword [0x55efc8]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004f7df8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
push edx
mov ecx, eax
call fcn.00445f80
test eax, eax
je 0x437d01
mov eax, dword [0x55efc8]
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 0x437ea0
mov eax, dword [0x55efc8]
mov edx, dword [0x55efc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x437e9b
mov esi, 0x554a0c
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437d51
test cl, cl
je 0x437d4d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437d51
add eax, 2
add esi, 2
test cl, cl
jne 0x437d2d
xor eax, eax
jmp 0x437d56
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x437ea0
cmp byte [ebp], 0
je 0x437ea0
call fcn.004f7df8
mov ecx, dword [0x55efc0]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.00446500
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 4
call fcn.004dd28a
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd151
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, edi
je 0x437dc3
cmp byte [eax + ecx - 1], 0x5c
je 0x437dc3
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004dd554
push ebp
lea ecx, [esp + 0x18]
call fcn.004dd52d
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 [0x55efc4]
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 0x437ea0
cmp dword [esp + 0x10], edi
je 0x437ea0
mov eax, dword [0x55efc8]
mov ecx, dword [0x55efc0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [esp + 0x10]
mov dword [0x55efc0], edx
jmp 0x437ea0
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 [0x55efc4]
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 0x437ea0
cmp dword [esp + 0x10], edi
je 0x437ea0
mov eax, dword [0x55efc8]
mov edx, dword [0x55efc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov dword [0x55efc0], eax
cmp dword [0x55efc0], edi
je 0x438235
call fcn.004f7df8
mov ecx, dword [0x55efc0]
mov eax, dword [eax + 4]
push ecx
mov ecx, eax
call fcn.00445f80
test eax, eax
je 0x437f53
lea edx, [esp + 0x18]
push edx
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x437fbb
call fcn.004f7df8
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, eax
call fcn.00446500
push 0x5c
push eax
lea eax, [esp + 0x18]
mov bl, 5
push eax
mov byte [esp + 0x34c], bl
call fcn.004d3506
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 6
call fcn.004dd28a
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], bl
call fcn.004dd151
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], 2
call fcn.004dd151
mov eax, dword [0x55efc8]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x437fb7
call fcn.004f7df8
mov ecx, dword [0x55efc0]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.00446500
push 0x5c
push eax
lea eax, [esp + 0x2c]
mov bl, 7
push eax
mov byte [esp + 0x34c], bl
call fcn.004d3506
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 8
call fcn.004dd28a
lea ecx, [esp + 0x24]
mov byte [esp + 0x340], bl
call fcn.004dd151
lea ecx, [esp + 0x18]
mov byte [esp + 0x340], 2
call fcn.004dd151
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.004c44f1
mov al, byte [esp + 0x3c]
add esp, 0x14
test al, al
jne 0x437fea
mov al, byte [esp + 0x2c]
test al, al
je 0x4380a7
jmp 0x438047
movsx ecx, al
push ecx
call fcn.004c3625
sub eax, 0x40
push eax
call fcn.004c447e
add esp, 8
test eax, eax
je 0x43803f
movsx eax, byte [esp + 0x28]
lea edx, [esp + 0x2c]
push 0x104
push edx
push eax
call fcn.004c3625
add esp, 4
sub eax, 0x40
push eax
call fcn.004c4686
add esp, 0xc
test eax, eax
je 0x43803f
push 2
lea ecx, [esp + 0x30]
push 0x554cf4
push ecx
call fcn.004c2b80
add esp, 0xc
mov al, byte [esp + 0x2c]
test al, al
je 0x4380a7
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 0x438071
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 0x438094
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x438094
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.004c4a2b
mov ebx, dword [esp + 0x20]
add esp, 4
xor edi, edi
push 1
push edi
call fcn.004c465f
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x4381d2
call fcn.004f7df8
mov eax, dword [eax + 4]
push ebp
lea ecx, [eax + 0x7cc]
call fcn.004dd2da
call fcn.004f7df8
mov eax, dword [eax + 4]
lea ecx, [eax + 0x7cc]
call fcn.004dd685
cmp dword [ebx + 0x3c0], edi
jne 0x4381ab
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 0x438174
mov ecx, dword [esp + 0x1c]
lea ebx, [ecx + 0x238]
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
push esi
call fcn.004ef1d0
call fcn.004f7df8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x7cc]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004c27fe
add esp, 8
test eax, eax
je 0x43815f
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 0x438115
jmp 0x438174
mov eax, dword [esp + 0x1c]
push 0
push esi
push 0x144
mov ecx, dword [eax + 0x254]
push ecx
call edi
call fcn.004f7df8
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.00434e10
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.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0xa20], 1
jne 0x438220
push 0x554ce8
lea ecx, [esp + 0x24]
call fcn.004dd2da
call fcn.004f7df8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
add eax, 0x7cc
push eax
call fcn.004dd569
call fcn.004f7df8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [eax + 0xa04]
call fcn.004d78b2
mov ecx, ebx
call fcn.00436890
test eax, eax
jne 0x438273
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x114]
mov byte [esp + 0x340], 1
call fcn.004f7df8
mov ecx, dword [eax + 4]
call fcn.004d89e3
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0
call fcn.004dd151
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.004dd151
xor eax, eax
jmp 0x4382b9
mov ecx, ebx
call fcn.00432090
mov byte [esp + 0x340], 1
call fcn.004f7df8
mov ecx, dword [eax + 4]
call fcn.004d89e3
lea ecx, [esp + 0x20]
mov byte [esp + 0x340], 0
call fcn.004dd151
lea ecx, [esp + 0x14]
mov dword [esp + 0x340], 0xffffffff
call fcn.004dd151
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