Function at 0x412ba2
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x484dc9
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4bb760]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4bb760]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
push str._APPDATA_SPI_
lea ecx, [esp + 0x24]
call fcn.0040d051
xor ebx, ebx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x38]
mov dword [esp + 0xf0], ebx
call fcn.0042d77c
cmp dword [eax + 0x14], 8
jb 0x412c0e
mov eax, dword [eax]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x412c27
cmp eax, 0xb7
je 0x412c27
cmp eax, 0x50
jne 0x412c29
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.0040d2b7
or dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x20]
xor edi, edi
push 0
inc edi
push edi
call fcn.0040d2b7
test bl, bl
je 0x4130e3
push str._APPDATA_SPI_vk.ico
lea ecx, [esp + 0x3c]
call fcn.0040d051
push str._APPDATA_SPIok.ico
lea ecx, [esp + 0x24]
mov dword [esp + 0xf4], edi
call fcn.0040d051
push 0xa
push 0x84
mov byte [esp + 0xf8], 2
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
call esi
test eax, eax
jne 0x412c99
xor bl, bl
jmp 0x412ca6
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.00412af7
mov bl, al
push 0xa
push 0x83
push 0
call esi
test eax, eax
jne 0x412cb9
xor al, al
jmp 0x412cc4
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00412af7
movzx esi, al
lea ecx, [esp + 0x20]
movzx eax, bl
xor ebx, ebx
push ebx
push edi
or esi, eax
call fcn.0040d2b7
or dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x38]
push ebx
push edi
call fcn.0040d2b7
test esi, esi
je 0x4130e3
push str._ProgramFiles_x86__Operalauncher.exe
lea ecx, [esp + 0x3c]
call fcn.0040d051
lea edx, [esp + 0x38]
mov dword [esp + 0xf0], 3
lea ecx, [esp + 0x50]
call fcn.0042d77c
push ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 5
call fcn.0040d2b7
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4130d8
push str._DESKTOP_odnoklassniki.lnk
lea ecx, [esp + 0x24]
call fcn.0040d051
lea edx, [esp + 0x20]
mov byte [esp + 0xf0], 6
lea ecx, [esp + 0xc8]
call fcn.0042d77c
push ebx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 8
call fcn.0040d2b7
push str._DESKTOP__vkontakte.lnk
lea ecx, [esp + 0x3c]
call fcn.0040d051
lea edx, [esp + 0x38]
mov byte [esp + 0xf0], 9
lea ecx, [esp + 0x98]
call fcn.0042d77c
push ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 0xb
call fcn.0040d2b7
push str._APPDATA_MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBarodnoklassniki.lnk
lea ecx, [esp + 0x24]
call fcn.0040d051
lea edx, [esp + 0x20]
mov byte [esp + 0xf0], 0xc
lea ecx, [esp + 0x80]
call fcn.0042d77c
push ebx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 0xe
call fcn.0040d2b7
push str._APPDATA_MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_vkontakte.lnk
lea ecx, [esp + 0x3c]
call fcn.0040d051
lea edx, [esp + 0x38]
mov byte [esp + 0xf0], 0xf
lea ecx, [esp + 0x68]
call fcn.0042d77c
push ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 0x11
call fcn.0040d2b7
push str._APPDATA_SPIok.ico
lea ecx, [esp + 0x24]
call fcn.0040d051
sub esp, 0x18
mov byte [esp + 0x108], 0x12
lea edx, [esp + 0x38]
mov dword [esp + 0x30], esp
mov ecx, esp
call fcn.0042d77c
sub esp, 0x18
mov byte [esp + 0x120], 0x13
mov ecx, esp
mov dword [esp + 0x40], esp
mov edi, str.ok.ru
push edi
call fcn.0040d051
mov byte [esp + 0x120], 0x14
sub esp, 0x18
lea eax, [esp + 0x110]
mov dword [esp + 0x5c], esp
mov ecx, esp
push eax
call fcn.004133d7
sub esp, 0x18
mov byte [esp + 0x150], 0x15
lea eax, [esp + 0xb0]
mov ecx, esp
push eax
call fcn.004133d7
mov byte [esp + 0x150], 0x12
call fcn.00413107
add esp, 0x60
mov byte [esp + 0xf0], 0x11
lea ecx, [esp + 0x20]
push ebx
push 1
call fcn.0040d2b7
push str._APPDATA_SPI_vk.ico
lea ecx, [esp + 0x24]
call fcn.0040d051
sub esp, 0x18
mov byte [esp + 0x108], 0x16
lea edx, [esp + 0x38]
mov dword [esp + 0x34], esp
mov ecx, esp
call fcn.0042d77c
sub esp, 0x18
mov byte [esp + 0x120], 0x17
mov ecx, esp
mov dword [esp + 0x44], esp
mov esi, str.vk.com
push esi
call fcn.0040d051
sub esp, 0x18
mov byte [esp + 0x138], 0x18
lea eax, [esp + 0xe0]
mov dword [esp + 0x58], esp
mov ecx, esp
push eax
call fcn.004133d7
sub esp, 0x18
mov byte [esp + 0x150], 0x19
lea eax, [esp + 0xb0]
mov ecx, esp
push eax
call fcn.004133d7
mov byte [esp + 0x150], 0x16
call fcn.00413107
add esp, 0x60
mov byte [esp + 0xf0], 0x11
lea ecx, [esp + 0x20]
push ebx
push 1
call fcn.0040d2b7
push str._APPDATA_SPIok.ico
lea ecx, [esp + 0x24]
call fcn.0040d051
sub esp, 0x18
mov byte [esp + 0x108], 0x1a
lea edx, [esp + 0x38]
mov dword [esp + 0x34], esp
mov ecx, esp
call fcn.0042d77c
sub esp, 0x18
mov byte [esp + 0x120], 0x1b
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
call fcn.0040d051
mov byte [esp + 0x120], 0x1c
sub esp, 0x18
lea eax, [esp + 0xc8]
mov dword [esp + 0x58], esp
mov ecx, esp
push eax
call fcn.004133d7
sub esp, 0x18
mov byte [esp + 0x150], 0x1d
lea eax, [esp + 0xb0]
mov ecx, esp
push eax
call fcn.004133d7
mov byte [esp + 0x150], 0x1a
call fcn.00413107
add esp, 0x60
mov byte [esp + 0xf0], 0x11
xor edi, edi
lea ecx, [esp + 0x20]
inc edi
push ebx
push edi
call fcn.0040d2b7
push str._APPDATA_SPI_vk.ico
lea ecx, [esp + 0xb4]
call fcn.0040d051
sub esp, 0x18
mov byte [esp + 0x108], 0x1e
lea edx, [esp + 0xc8]
mov dword [esp + 0x34], esp
mov ecx, esp
call fcn.0042d77c
sub esp, 0x18
mov byte [esp + 0x120], 0x1f
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040d051
sub esp, 0x18
mov byte [esp + 0x138], 0x20
lea eax, [esp + 0xb0]
mov dword [esp + 0x58], esp
mov ecx, esp
push eax
call fcn.004133d7
sub esp, 0x18
mov byte [esp + 0x150], 0x21
lea eax, [esp + 0xb0]
mov ecx, esp
push eax
call fcn.004133d7
mov byte [esp + 0x150], 0x1e
call fcn.00413107
add esp, 0x60
lea ecx, [esp + 0xb0]
push ebx
push edi
call fcn.0040d2b7
push ebx
push edi
lea ecx, [esp + 0x70]
call fcn.0040d2b7
push ebx
push edi
lea ecx, [esp + 0x88]
call fcn.0040d2b7
push ebx
push edi
lea ecx, [esp + 0xa0]
call fcn.0040d2b7
push ebx
push edi
lea ecx, [esp + 0xd0]
call fcn.0040d2b7
push ebx
push edi
lea ecx, [esp + 0x58]
call fcn.0040d2b7
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00465956
mov esp, ebp
pop ebp
ret