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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415a9f
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x41d480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x484], eax
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403d20
sub eax, edx
jne 0x403d32
xor al, al
jmp 0x4043bd
xor ebx, ebx
lea eax, [ebp - 0x324]
mov dword [ebp - 0x328], eax
mov byte [ebp - 0x324], bl
cmp esi, ebx
jne 0x403d4f
mov esi, 0x418cba
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x403d54
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x403d7d
lea eax, [edi + 1]
push eax
push ebx
mov dword [ebp - 0x328], ebx
call fcn.0040a8d7
add esp, 8
mov dword [ebp - 0x328], eax
push edi
push esi
push eax
call fcn.0040a627
mov ecx, dword [ebp - 0x328]
add esp, 0xc
mov byte [edi + ecx], bl
push 0x418bf0
lea eax, [ebp - 0x328]
mov dword [ebp - 4], ebx
call fcn.00402de0
mov edx, dword [0x41f3d8]
mov eax, dword [edx + 4]
push eax
lea eax, [ebp - 0x328]
call fcn.00402de0
mov ecx, dword [0x41f3d8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x368]
mov dword [ebp - 0x36c], eax
mov byte [ebp - 0x368], bl
mov esi, ecx
cmp ecx, ebx
jne 0x403dde
mov esi, 0x418cba
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x403de3
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x403e0c
lea edx, [edi + 1]
push edx
push ebx
mov dword [ebp - 0x36c], ebx
call fcn.0040a8d7
add esp, 8
mov dword [ebp - 0x36c], eax
push edi
push esi
push eax
call fcn.0040a627
mov eax, dword [ebp - 0x36c]
add esp, 0xc
mov byte [edi + eax], bl
push 0x418cfc
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 1
call fcn.00402de0
lea ecx, [ebp - 0x480]
push ecx
push 0x19
push ebx
mov dword [ebp - 0x480], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x403e6f
mov eax, dword [ebp - 0x480]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp - 0x480]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp + 0xc], bl
je 0x403ea1
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [0x41f3d8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x36c]
mov ebx, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x218]
push eax
xor edi, edi
call fcn.00402b20
xor ebx, ebx
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x3f4], ecx
mov byte [ebp - 0x3f0], bl
mov esi, dword [ebp - 0x484]
sub esp, 0x44
mov edi, esp
mov byte [ebp - 4], 2
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
push str._sSysConfig.ini
lea edi, [ebp - 0x3f4]
call fcn.004033e0
add esp, 0x48
cmp byte [ebp + 0xc], bl
je 0x403eef
mov edx, dword [ebp - 0x3f4]
push edx
push 0x418d18
jmp 0x403efb
mov eax, dword [ebp - 0x3f4]
push eax
push 0x418d30
push str.AddDtop
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [ebp + 0x10], bl
je 0x4043db
lea ecx, [ebp - 0x29c]
push 0x1a
mov edx, ecx
push str.http:__dianying.fm__wujizm
push edx
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 0x29c], bl
call fcn.0040a627
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x1a], bl
lea ecx, [ebp - 0x258]
push 0x20
mov edx, ecx
push str._ProgramFiles_Internet_Explorer
push edx
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 0x258], bl
call fcn.0040a627
mov eax, dword [ebp - 0x25c]
mov byte [eax + 0x20], bl
lea ecx, [ebp - 0x2e0]
push 0xa
mov edx, ecx
push 0x418d74
push edx
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 0x2e0], bl
call fcn.0040a627
mov eax, dword [ebp - 0x2e4]
add esp, 0x24
mov byte [eax + 0xa], bl
mov ecx, dword [ebp - 0x484]
push ecx
lea esi, [ebp - 0x3b0]
call fcn.00402d50
push str.icondyfm.ico
mov eax, esi
mov byte [ebp - 4], 6
call fcn.00402de0
mov edx, dword [ebp - 0x25c]
mov edi, dword [ebp - 0x3b0]
mov ecx, dword [ebp - 0x2e4]
mov ebx, dword [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x218]
push eax
mov edx, 0x418d90
call fcn.00402b20
mov ecx, dword [ebp - 0x3f4]
push ecx
push 0x418d18
push str.AddDyfm
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x3b0]
lea edx, [ebp - 0x3ac]
cmp eax, edx
je 0x404016
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x2e0]
cmp eax, ecx
je 0x40402f
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
cmp eax, edx
je 0x404048
push eax
call fcn.00409901
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x404065
push eax
call fcn.00409901
add esp, 4
xor ebx, ebx
cmp byte [ebp + 0x14], bl
je 0x404370
lea eax, [ebp - 0x480]
push eax
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4040a5
mov edx, dword [ebp - 0x480]
lea ecx, [ebp - 0x114]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [ebp - 0x114]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4040b0
mov cx, word [0x418bf0]
mov edx, dword [0x41f3d8]
mov word [edi], cx
mov eax, dword [edx]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4040d0
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4040e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
lea eax, [ebp - 0x114]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
call esi
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [0x41f3d8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x36c]
mov ebx, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x114]
push eax
xor edi, edi
call fcn.00402b20
lea ecx, [ebp - 0x2e0]
push 0x14
mov edx, ecx
push str.http:__www.wuji.com_
xor bl, bl
push edx
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 0x2e0], bl
call fcn.0040a627
mov eax, dword [ebp - 0x2e4]
mov byte [eax + 0x14], bl
lea ecx, [ebp - 0x258]
push 0x20
mov edx, ecx
push str._ProgramFiles_Internet_Explorer
push edx
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 0x258], bl
call fcn.0040a627
mov eax, dword [ebp - 0x25c]
mov byte [eax + 0x20], bl
lea ecx, [ebp - 0x29c]
push 0xc
mov edx, ecx
push 0x418db8
push edx
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 0x29c], bl
call fcn.0040a627
mov eax, dword [ebp - 0x2a0]
add esp, 0x24
mov byte [eax + 0xc], bl
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x25c]
mov ebx, dword [ebp - 0x2e4]
push ecx
mov ecx, dword [ebp - 0x2a0]
lea edx, [ebp - 0x114]
push edx
mov edi, str._ProgramFiles_Internet_Exploreriexplore.exe
mov edx, 0x418df8
call fcn.00402b20
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4041f5
mov ecx, dword [0x418e04]
mov edx, dword [0x418e08]
mov dword [eax], ecx
mov cx, word [0x418e0c]
mov dword [eax + 4], edx
xor ebx, ebx
push ebx
lea edx, [ebp - 0x114]
push edx
mov word [eax + 8], cx
call esi
mov eax, dword [ebp - 0x484]
push eax
lea esi, [ebp - 0x3b0]
call fcn.00402d50
push 0x418bf0
mov eax, esi
call fcn.00402de0
mov ecx, dword [0x41f3d8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, esi
call fcn.00402de0
lea eax, [ebp - 0x478]
mov dword [ebp - 0x47c], eax
mov byte [ebp - 0x478], bl
mov ecx, dword [0x41f3d8]
mov edx, dword [ecx]
push edx
push 0x418e10
lea edi, [ebp - 0x47c]
call fcn.004033e0
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], eax
mov byte [ebp - 0x434], bl
mov byte [ebp - 4], 0xc
mov ecx, dword [0x41f3d8]
mov edx, dword [ecx]
push edx
push 0x418e1c
lea edi, [ebp - 0x438]
call fcn.004033e0
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x3b0]
add esp, 0x10
push ecx
mov ecx, dword [ebp - 0x47c]
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x438]
xor edi, edi
call fcn.00402b20
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x434]
cmp eax, ecx
je 0x4042f3
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x478]
cmp eax, edx
je 0x40430c
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x3ac]
cmp eax, ecx
je 0x404325
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x29c]
cmp eax, edx
je 0x40433e
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x404357
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
cmp eax, edx
je 0x404370
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3f0]
cmp eax, ecx
je 0x404389
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x36c]
lea edx, [ebp - 0x368]
cmp eax, edx
je 0x4043a2
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x328]
lea ecx, [ebp - 0x324]
cmp eax, ecx
je 0x4043bb
push eax
call fcn.00409901
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409454
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0x3f4]
push edx
push 0x418d30
push str.AddDyfm
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x404067