Function at 0x401652
Capabilities:
Create directory
Get common file path
Print debug messages

Disassembly:
push 0x47c
mov eax, 0x4423d1
call fcn.0043c542
mov esi, ecx
mov dword [ebp - 0x488], esi
call fcn.0041014a
test eax, eax
jne 0x401679
xor al, al
jmp 0x401a95
push esi
lea ecx, [ebp - 0x25c]
call fcn.00410735
xor edi, edi
push 0x44bc38
lea ecx, [ebp - 0x25c]
mov dword [ebp - 4], edi
call fcn.00410153
mov eax, dword [0x455014]
push dword [eax + 8]
lea ecx, [ebp - 0x25c]
call fcn.00410153
mov eax, dword [0x455014]
push 0xffffffffffffffff
push dword [eax + 4]
lea ecx, [ebp - 0x2a0]
call fcn.00410715
push 0x44bc40
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 1
call fcn.00410153
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x480]
push eax
push edi
push edi
mov dword [ebp - 0x480], edi
call ebx
test eax, eax
jne 0x401710
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push dword [ebp - 0x480]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp + 8], 0
je 0x401763
mov eax, dword [0x455014]
mov edi, dword [eax + 4]
mov ecx, esi
call fcn.004114d9
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x484], eax
call fcn.004114d9
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x480], eax
call fcn.004114d9
push 0
push edi
push dword [ebp - 0x480]
mov edi, dword [ebp - 0x484]
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.004010a2
lea ecx, [ebp - 0x328]
call fcn.00410117
sub esp, 0x44
push 0x11
pop ecx
mov edi, esp
lea eax, [ebp - 0x328]
push str._sSysConfig.ini
mov byte [ebp - 4], 2
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00410944
add esp, 0x4c
lea ecx, [ebp - 0x328]
call fcn.004114d9
cmp byte [ebp + 8], 0
push eax
je 0x4017a9
push 0x44bc5c
jmp 0x4017ae
push 0x44bc74
push str.AddDtop
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x480]
push eax
push 2
push 0
call ebx
test eax, eax
jne 0x4017ee
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push dword [ebp - 0x480]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4017f5
mov eax, dword [0x455014]
mov esi, 0x44bc38
movsw word es:[edi], word [esi]
mov eax, dword [eax + 4]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40180e
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40181e
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x455014]
mov ecx, dword [ebp - 0x488]
mov esi, dword [eax + 4]
call fcn.004114d9
lea ecx, [ebp - 0x2a0]
mov edi, eax
call fcn.004114d9
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x484], eax
call fcn.004114d9
push 0
push esi
push dword [ebp - 0x484]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004010a2
push 0xffffffffffffffff
push str.http:__wj.wuji.com_
lea ecx, [ebp - 0x438]
call fcn.00410715
push 0xffffffffffffffff
push str._ProgramFiles_Internet_Explorer
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 7
call fcn.00410715
push 0xffffffffffffffff
push 0x44bc9c
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 8
call fcn.00410715
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 9
call fcn.004114d9
lea ecx, [ebp - 0x47c]
mov edi, eax
call fcn.004114d9
lea ecx, [ebp - 0x438]
mov esi, eax
call fcn.004114d9
push str._ProgramFiles_Internet_Exploreriexplore.exe
push 0x44bcdc
push esi
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004010a2
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40191f
mov esi, 0x44bce8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x114]
push eax
movsw word es:[edi], word [esi]
call ebx
push dword [ebp - 0x488]
lea ecx, [ebp - 0x2e4]
call fcn.00410735
push 0x44bc38
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xa
call fcn.00410153
mov eax, dword [0x455014]
push dword [eax + 0x10]
lea ecx, [ebp - 0x2e4]
call fcn.00410153
lea ecx, [ebp - 0x36c]
call fcn.00410117
mov byte [ebp - 4], 0xb
mov eax, dword [0x455014]
push dword [eax + 4]
lea eax, [ebp - 0x36c]
push 0x44bcf4
push eax
call fcn.00410944
add esp, 0xc
lea ecx, [ebp - 0x3b0]
call fcn.00410117
mov byte [ebp - 4], 0xc
mov eax, dword [0x455014]
push dword [eax + 4]
lea eax, [ebp - 0x3b0]
push 0x44bd00
push eax
call fcn.00410944
add esp, 0xc
lea ecx, [ebp - 0x3b0]
call fcn.004114d9
mov ecx, dword [ebp - 0x488]
mov esi, eax
call fcn.004114d9
lea ecx, [ebp - 0x36c]
mov edi, eax
call fcn.004114d9
lea ecx, [ebp - 0x2e4]
mov ebx, eax
call fcn.004114d9
push 0
push esi
push ebx
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004010a2
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0xb
call fcn.00410139
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0xa
call fcn.00410139
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 9
call fcn.00410139
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 8
call fcn.00410139
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 7
call fcn.00410139
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.00410139
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 1
call fcn.00410139
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.00410139
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.00410139
mov al, 1
call fcn.0043c58c
ret 4