Function at 0x41be20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x46420c]
push ebx
push esi
mov dword [esp + 0x428], eax
mov eax, dword [0x46532c]
push edi
mov esi, ecx
mov ecx, dword [eax + 0x14]
push 0x45388c
add ecx, 0x224
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403e70
mov eax, dword [eax]
push eax
push 0x4525b4
push 0x450c5c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x18], bx
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push 0x17
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c09e
lea ecx, [esp + 0x18]
push 0x453880
push ecx
call fcn.0042be5b
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 8
push ebx
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x18]
push 0x453be4
push eax
call fcn.0042be5b
add esp, 8
push ebx
lea ecx, [esp + 0x1c]
push ecx
call edi
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x43c], ebx
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push 0x453bc8
push ecx
mov byte [esp + 0x448], 1
call fcn.00402810
mov edx, dword [0x46532c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x224]
push ecx
lea edx, [esp + 0x1c]
push str._swnlwnl.exe
push edx
call fcn.00402810
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ebx
push ebx
push ebx
push 1
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00419ce0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x453778
push eax
call fcn.00402810
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x224]
push eax
lea ecx, [esp + 0x1c]
push 0x453760
push ecx
call fcn.00402810
add esp, 0x18
push ebx
push ebx
push ebx
push 1
push ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.00419ce0
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x28c]
push eax
lea ecx, [esp + 0x224]
push str.wnl__s
push ecx
call fcn.0042b87a
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push 0x453b7c
push eax
call fcn.00402810
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x224]
push eax
lea ecx, [esp + 0x28]
push str._swnluninst.exe
push ecx
call fcn.00402810
mov edi, dword [esp + 0x30]
add esp, 0x24
lea edx, [esp + 0x220]
push edx
push ebx
push ebx
push 1
push ebx
mov ebx, dword [esp + 0x24]
push edi
push ebx
mov ecx, esi
call fcn.00419ce0
lea eax, [edi - 0x10]
mov byte [esp + 0x43c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c074
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x43c], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c099
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x42c]
call fcn.0042b3a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret