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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c726
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
mov eax, dword [0x43b180]
mov dword [esp + 0x328], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x1c
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 4]
mov edx, dword [eax + ecx + 8]
test edx, edx
push esi
push edi
je 0x405b8f
mov eax, dword [ebx + 0x1c]
push eax
mov ecx, ebx
call fcn.00402bf0
call fcn.0041f593
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x344], 0
call fcn.0041f593
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 2
lea eax, [esp + 0x20]
push eax
push 0
mov byte [esp + 0x354], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x405a2e
lea edi, [esp + 0x18]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405950
mov ecx, dword [0x42f3e4]
mov edx, dword [0x42f3e8]
mov ax, word [0x42f3ec]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [edi], ecx
push 0
lea ecx, [esp + 0x1c]
mov dword [edi + 4], edx
push ecx
mov word [edi + 8], ax
call esi
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405987
mov edx, dword [0x42f530]
mov eax, dword [0x42f534]
push 0
lea ecx, [esp + 0x1c]
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x42f51c
push eax
call fcn.00404120
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str._s_shengdiangou.exe
push edx
call fcn.00404120
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push 0
push 1
push 0
push eax
push ecx
push 1
mov ecx, ebx
call fcn.00402aa0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x42f338
push eax
call fcn.00404120
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str._suninst.exe
push edx
call fcn.00404120
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
push 1
push 0
push esi
push eax
push 1
mov ecx, ebx
call fcn.00402aa0
mov byte [esp + 0x228], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x229]
rep stosd dword es:[edi], eax
push 0
push 0x10
lea ecx, [esp + 0x230]
stosw word es:[edi], ax
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x405aaa
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x14]
push 0x42f4f8
push eax
call fcn.00404120
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str._s_shengdiangou.exe
push edx
call fcn.00404120
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
push 1
push 0x42f4ec
push esi
push eax
push 1
mov ecx, ebx
call fcn.00402aa0
mov byte [esp + 0x120], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x121]
rep stosd dword es:[edi], eax
push 0
push 0x1a
lea ecx, [esp + 0x128]
stosw word es:[edi], ax
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x405b44
lea edi, [esp + 0x120]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405ae5
mov ecx, 0xa
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x14]
push 0x42f4f8
push eax
movsw word es:[edi], word [esi]
call fcn.00404120
mov ecx, dword [ebx + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str._s_shengdiangou.exe
push edx
call fcn.00404120
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
push 1
push 0x42f4ec
push esi
push eax
push 1
mov ecx, ebx
call fcn.00402aa0
add esi, 0xfffffff0
mov byte [esp + 0x344], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b66
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x344], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x334]
mov eax, 1
call fcn.004120ce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4