Function at 0x404d70
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c3ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x540
mov eax, dword [0x43a180]
mov dword [esp + 0x538], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x1c
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [eax + ecx + 8]
test edx, edx
push edi
mov dword [esp + 0x1c], esi
je 0x405324
push str.wnie
lea ebx, [esi + 0x1c]
push ebx
lea edx, [esp + 0x18]
push edx
call fcn.00403f40
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00402c00
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404df6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.0041f2f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x554], 0
call fcn.0041f2f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 2
lea eax, [esp + 0x28]
push eax
push 0
mov byte [esp + 0x564], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x405135
lea edi, [esp + 0x20]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404e62
mov ecx, dword [0x42e2b4]
mov edx, dword [0x42e2b8]
mov ax, word [0x42e2bc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [edi], ecx
push 0
lea ecx, [esp + 0x24]
mov dword [edi + 4], edx
push ecx
mov word [edi + 8], ax
call esi
lea edi, [esp + 0x20]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404ea0
mov edx, dword [0x42e3a0]
mov eax, dword [0x42e3a4]
push 0
lea ecx, [esp + 0x24]
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push 0x42e38c
push eax
call fcn.00403e70
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x24]
push str._swniewnie.exe
push edx
call fcn.00403e70
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
add esp, 0x18
push 0
call esi
test eax, eax
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
jl 0x404f99
lea eax, [esp + 0xc]
push eax
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x404f93
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x432a9c
push eax
call dword [edx]
test eax, eax
jl 0x404f89
mov eax, dword [esp + 0x18]
push 0x104
lea edx, [esp + 0x33c]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x33c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push 0x42e250
push ecx
call fcn.00403e70
mov edx, dword [ebx]
push edx
lea eax, [esp + 0x24]
push 0x42e23c
push eax
call fcn.00403e70
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x405065
lea ecx, [esp + 0xc]
push ecx
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x40505f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x432a9c
push eax
call dword [ecx]
test eax, eax
jl 0x405055
mov ecx, dword [esp + 0x18]
push 0x104
lea eax, [esp + 0x33c]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x33c]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push 0x42e230
push eax
call fcn.00403e70
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x24]
push str._suninst.exe
push edx
call fcn.00403e70
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x405131
lea eax, [esp + 0xc]
push eax
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x40512b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x432a9c
push eax
call dword [edx]
test eax, eax
jl 0x405121
mov eax, dword [esp + 0x18]
push 0x104
lea edx, [esp + 0x33c]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x33c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [esp + 0x1c]
xor eax, eax
mov byte [esp + 0x230], 0
mov ecx, 0x40
lea edi, [esp + 0x231]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x10
lea eax, [esp + 0x238]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4051f5
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x1c]
push 0x42e38c
push edx
call fcn.00403e70
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x24]
push str._swniewnie.exe
push ecx
call fcn.00403e70
add esp, 0x18
push str.wnie
push ebx
lea edx, [esp + 0x18]
push edx
call fcn.00403f40
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push 0
push 1
push 0x42e36c
push eax
push ecx
push 1
mov ecx, esi
mov byte [esp + 0x570], 2
call fcn.00402aa0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x554], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4051f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x128], 0
mov ecx, 0x40
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x1a
lea eax, [esp + 0x130]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4052d5
lea edi, [esp + 0x128]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405234
mov ecx, 0xa
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x1c]
push 0x42e38c
push edx
movsw word es:[edi], word [esi]
call fcn.00403e70
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x24]
push str._swniewnie.exe
push ecx
call fcn.00403e70
add esp, 0x18
push str.wnie
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00403f40
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push 0
push 1
push 0x42e36c
push eax
push ecx
mov ecx, dword [esp + 0x34]
push 1
mov byte [esp + 0x570], 3
call fcn.00402aa0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x554], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4052d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x554], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x554], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405324
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x54c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x544]
mov eax, 1
call fcn.00411fce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4