Function at 0x4152e0
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4654c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebp
mov dword [esp + 0x20], edi
mov word [edi + 4], bp
lea eax, [esp + 0xac]
push eax
push ebp
push ebp
push 5
mov dword [esp + 0x2d0], ebp
mov ebx, 1
push ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0xac]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x415370
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xb0]
push ecx
lea esi, [esp + 0x48]
call fcn.00401070
push 3
push 0x46cdec
mov ecx, esi
mov dword [esp + 0x2c8], ebx
call fcn.00402190
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4153b5
lea eax, [esp + 0x44]
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [esp + 0x40]
push edx
mov ebx, 0x46cdf4
lea esi, [esp + 0x28]
call fcn.004026f0
add esp, 4
mov byte [esp + 0x2c0], 2
mov eax, dword [esp + 0x28]
mov ebx, 8
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ebp
jae 0x4153f2
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0044faff
add esp, 8
test eax, eax
je 0x415458
call fcn.004151d0
cmp dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x28]
jae 0x415413
lea eax, [esp + 0x28]
push 0x46ce00
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0044fd71
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, ebp
je 0x4154dd
cmp dword [edi + 0x18], ebx
jb 0x41543c
mov eax, dword [edi + 4]
jmp 0x41543f
lea eax, [edi + 4]
push ecx
push eax
call fcn.00451f74
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044f9fc
add esp, 0xc
jmp 0x4154d9
cmp dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x28]
jae 0x415466
lea eax, [esp + 0x28]
push 0x46a1b0
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0044fd71
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp esi, ebp
je 0x4154dd
push 0x4e
lea eax, [esp + 0x62]
push ebp
push eax
mov word [esp + 0x68], bp
call fcn.00452a60
add esp, 0xc
push esi
lea ecx, [esp + 0x60]
push 0x28
push ecx
call fcn.0045201c
lea eax, [esp + 0x68]
add esp, 0xc
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4154b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x60]
push edx
mov esi, edi
call fcn.00401070
mov eax, dword [esp + 0x18]
push eax
call fcn.0044f9fc
add esp, 4
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x3c], ebx
jb 0x4154f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x58], ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
jb 0x415514
mov edx, dword [esp + 0x44]
push edx
call fcn.0044ec2b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.0044eeec
add esp, 0x2b0
ret