Function at 0x423a40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b08e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x2b0], esi
xorps xmm0, xmm0
mov dword [ebp - 0x288], 0
movups xmmword [esi], xmm0
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0042b3f0
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
mov dword [ebp - 0x288], 1
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 4], 2
push 8
movups xmmword [ebp - 0x228], xmm0
call fcn.0042b3f0
lea ecx, [ebp - 0x228]
mov dword [eax + 4], 0
mov dword [ebp - 0x228], eax
mov dword [eax], ecx
mov dword [ebp - 4], 4
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call fcn.0042b3f0
lea ecx, [ebp - 0x244]
add esp, 0xc
mov dword [eax + 4], 0
mov dword [ebp - 0x244], eax
mov dword [eax], ecx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
push 0
push 0x1c
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x27c]
call fcn.00426710
push 0
sub esp, 0x1c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
mov ecx, esp
lea edi, [ebp - 0x228]
push eax
call fcn.004058a0
mov edx, edi
xor ecx, ecx
call fcn.00423490
add esp, 0x20
push 0
sub esp, 0x1c
mov ecx, esp
call fcn.00426ab0
mov edx, edi
xor ecx, ecx
call fcn.00423490
mov eax, dword [ebp - 0x224]
add esp, 0x20
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], ecx
cmp eax, ecx
je 0x423e8b
nop word [eax + eax]
push eax
lea ecx, [ebp - 0x260]
call fcn.004058a0
push 0x12c
mov byte [ebp - 4], 7
call fcn.0042b3f0
push 0x12c
mov esi, eax
push 0
push esi
call fcn.0042de70
add esp, 0x10
mov ecx, esi
call fcn.00404760
cmp dword [ebp - 0x248], 0x10
lea ecx, [ebp - 0x25c]
mov esi, dword [ebp - 0x24c]
mov edi, eax
cmovae ecx, dword [ebp - 0x25c]
mov edx, esi
push 1
push 0x493b28
push ecx
setae byte [ebp - 0x27d]
call fcn.004168c0
add esp, 0xc
mov dword [ebp - 0x2a8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
movups xmmword [ebp - 0x2a4], xmm0
lea edx, [eax + 1]
mov dword [ebp - 0x290], 0
cmp esi, edx
jb 0x423f1a
sub esi, edx
lea eax, [ebp - 0x25c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp byte [ebp - 0x27d], 0
push ecx
cmovne eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x2a8]
add eax, edx
push eax
call fcn.00408cd0
or dword [ebp - 0x288], 2
lea ecx, [ebp - 0x244]
call fcn.00406820
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x244]
call fcn.00406a60
lea ecx, [ebp - 0x2a8]
call fcn.00406820
mov eax, dword [ebp - 0x2a8]
push 8
push eax
mov dword [ebp - 0x2a8], 0
call fcn.0042b3d0
mov eax, 5
lea ecx, [edi + 0x20]
mov word [edi], ax
add esp, 8
lea eax, [ebp - 0x260]
cmp ecx, eax
je 0x423d48
cmp dword [ebp - 0x248], 0x10
lea eax, [ebp - 0x25c]
push dword [ebp - 0x24c]
cmovae eax, dword [ebp - 0x25c]
push eax
call fcn.004068f0
lea ecx, [edi + 4]
lea eax, [ebp - 0x244]
cmp ecx, eax
je 0x423d75
cmp dword [ebp - 0x22c], 0x10
lea eax, [ebp - 0x240]
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.004068f0
lea ecx, [ebp - 0x2cc]
call fcn.00426ab0
mov byte [ebp - 4], 8
lea esi, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x423d8f
mov esi, dword [esi]
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004058a0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423da6
sub eax, edx
lea ecx, [ebp - 0x2a4]
cmp dword [ebp - 0x290], 0x10
mov edx, dword [ebp - 0x294]
cmovae ecx, dword [ebp - 0x2a4]
push eax
push esi
push 0
call fcn.00424910
add esp, 0xc
lea ecx, [ebp - 0x2a8]
cmp eax, 0xffffffff
setne byte [ebp - 0x27d]
call fcn.00406820
mov eax, dword [ebp - 0x2a8]
push 8
push eax
mov dword [ebp - 0x2a8], 0
call fcn.0042b3d0
mov al, byte [ebp - 0x27d]
lea ecx, [ebp - 0x2cc]
add esp, 8
mov byte [edi + 0x75], al
mov byte [ebp - 4], 7
call fcn.00406820
mov eax, dword [ebp - 0x2cc]
push 8
push eax
mov dword [ebp - 0x2cc], 0
call fcn.0042b3d0
mov esi, dword [ebp - 0x2ac]
add esp, 8
mov ecx, esi
push edi
call fcn.004050f0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.00406820
mov eax, dword [ebp - 0x260]
push 8
push eax
mov dword [ebp - 0x260], 0
call fcn.0042b3d0
mov eax, dword [ebp - 0x28c]
add esp, 8
add eax, 0x1c
mov dword [ebp - 0x28c], eax
cmp eax, dword [ebp - 0x284]
jne 0x423c00
lea ecx, [ebp - 0x27c]
call fcn.00406820
mov eax, dword [ebp - 0x27c]
push 8
push eax
mov dword [ebp - 0x27c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.00406820
mov eax, dword [ebp - 0x244]
push 8
push eax
mov dword [ebp - 0x244], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.004193e0
mov ecx, dword [ebp - 0x228]
push 8
push ecx
mov dword [ebp - 0x228], 0
call fcn.0042b3d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
call fcn.00407c30
int3