Function at 0x489640
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x684649
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x38], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 0
push 0x18
mov dword [esi], vtable.SetupManager.0
call fcn.006113aa
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, byte [ebx + 0x14]
xor ecx, ecx
mov byte [esi + 0x28], al
mov al, byte [ebx + 0x10]
mov byte [esi + 0x29], al
mov eax, dword [ebx + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 7
mov word [esi + 0x30], cx
xor eax, eax
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 7
mov word [esi + 0x60], cx
mov dword [esi + 0x78], 0xffffffff
push eax
push 1
mov dword [esi + 0x7c], eax
mov byte [esi + 0x80], al
mov dword [esi + 0x84], eax
mov byte [esi + 0x88], al
push 1
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], vtable.Event.0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call esi
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x90], eax
push 0
push 0
push 1
push 0
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x94], vtable.Event.0
call esi
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x98], eax
push edi
mov edi, ecx
mov byte [ebp - 4], 7
lea ecx, [edi + 0x9c]
call fcn.00489a90
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
push 0
mov dword [edi + 0x12c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x23
mov edx, 0x6f8b70
push eax
call fcn.00471970
lea eax, [ebp - 0x2c]
add esp, 8
lea esi, [edi + 0x48]
cmp esi, eax
je 0x4897f9
mov ecx, esi
call fcn.00453390
movups xmm0, xmmword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x2c], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
call fcn.00453390
mov eax, dword [edi + 0x58]
test eax, eax
je 0x489967
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 8
jb 0x489818
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x489850
mov ecx, dword [esi + 0x10]
cmp ecx, edx
jae 0x48983f
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x489836
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x5c
jmp 0x489850
push 0x5c
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.0046acb0
push 7
push str.Yandex_
mov ecx, esi
call fcn.00459fe0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x489868
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xe
push str.Yandex.Disk.2_
mov ecx, esi
call fcn.00459fe0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x489889
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x27
push str.3FE0EF39_1462_4094_9A42_43B4EE3C383B_
mov ecx, esi
call fcn.00459fe0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4898aa
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4898c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x489967
push str..exe
mov edx, 0x7aa630
lea ecx, [ebp - 0x2c]
call fcn.0045a420
lea ecx, [ebp - 0x2c]
add esp, 4
lea eax, [edi + 0x60]
cmp eax, ecx
je 0x489914
mov ecx, eax
call fcn.00453390
movups xmm0, xmmword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x2c], ax
movups xmmword [edi + 0x60], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x70], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
call fcn.00453390
lea eax, [edi + 0x60]
mov edx, esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048d050
mov esi, eax
lea ecx, [edi + 0x30]
add esp, 4
cmp ecx, esi
je 0x48995f
call fcn.00453390
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2c]
call fcn.00453390
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00611399
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10