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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4147bb
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x41b024]
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 - 0x50c], eax
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030f0
sub eax, edx
jne 0x403102
xor al, al
jmp 0x4038bd
xor ebx, ebx
lea eax, [ebp - 0x3f0]
mov dword [ebp - 0x3f4], eax
mov byte [ebp - 0x3f0], bl
cmp esi, ebx
jne 0x40311f
mov esi, 0x417378
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x403124
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x40314d
lea eax, [edi + 1]
push eax
push ebx
mov dword [ebp - 0x3f4], ebx
call fcn.00408f11
add esp, 8
mov dword [ebp - 0x3f4], eax
push edi
push esi
push eax
call fcn.00408c27
mov ecx, dword [ebp - 0x3f4]
add esp, 0xc
mov byte [edi + ecx], bl
push 0x417368
lea eax, [ebp - 0x3f4]
mov dword [ebp - 4], ebx
call fcn.00402120
mov edx, dword [0x41cf30]
mov eax, dword [edx + 4]
push eax
lea eax, [ebp - 0x3f4]
call fcn.00402120
mov ecx, dword [0x41cf30]
mov ecx, dword [ecx]
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], eax
mov byte [ebp - 0x434], bl
mov esi, ecx
cmp ecx, ebx
jne 0x4031ae
mov esi, 0x417378
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4031b3
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x4031dc
lea edx, [edi + 1]
push edx
push ebx
mov dword [ebp - 0x438], ebx
call fcn.00408f11
add esp, 8
mov dword [ebp - 0x438], eax
push edi
push esi
push eax
call fcn.00408c27
mov eax, dword [ebp - 0x438]
add esp, 0xc
mov byte [edi + eax], bl
push 0x417430
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
call fcn.00402120
lea ecx, [ebp - 0x508]
push ecx
push 0x19
push ebx
mov dword [ebp - 0x508], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40323f
mov eax, dword [ebp - 0x508]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp - 0x508]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp + 0xc], bl
je 0x403271
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
mov ecx, dword [0x41cf30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x438]
mov ebx, dword [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x218]
push eax
xor edi, edi
call fcn.00401e60
xor ebx, ebx
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x47c], ecx
mov byte [ebp - 0x478], bl
mov esi, dword [ebp - 0x50c]
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 - 0x47c]
call fcn.00402790
add esp, 0x48
cmp byte [ebp + 0xc], bl
je 0x4032bf
mov edx, dword [ebp - 0x47c]
push edx
push 0x41744c
jmp 0x4032cb
mov eax, dword [ebp - 0x47c]
push eax
push 0x417464
push str.AddDtop
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [ebp + 0x10], bl
je 0x4038db
lea ecx, [ebp - 0x2e0]
push 0x1a
mov edx, ecx
push str.http:__dianying.fm__wujizm
push edx
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 0x2e0], bl
call fcn.00408c27
mov eax, dword [ebp - 0x2e4]
mov byte [eax + 0x1a], bl
lea ecx, [ebp - 0x29c]
push 0x20
mov edx, ecx
push str._ProgramFiles_Internet_Explorer
push edx
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 0x29c], bl
call fcn.00408c27
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x20], bl
lea ecx, [ebp - 0x258]
push 0xa
mov edx, ecx
push 0x4174a8
push edx
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 0x258], bl
call fcn.00408c27
mov eax, dword [ebp - 0x25c]
add esp, 0x24
mov byte [eax + 0xa], bl
mov ecx, dword [ebp - 0x50c]
push ecx
lea esi, [ebp - 0x4c0]
call fcn.00402090
push str.icondyfm.ico
mov eax, esi
mov byte [ebp - 4], 6
call fcn.00402120
mov edx, dword [ebp - 0x2a0]
mov edi, dword [ebp - 0x4c0]
mov ecx, dword [ebp - 0x25c]
mov ebx, dword [ebp - 0x2e4]
push edx
lea eax, [ebp - 0x218]
push eax
mov edx, 0x4174c4
call fcn.00401e60
xor ebx, ebx
push 0x69
push ebx
mov byte [ebp - 0x3ac], bl
mov dword [ebp - 0x3b0], ebx
call fcn.00408f11
push 0x68
push str.http:__www.taobao.com_go_chn_tbk_channel_channelcode.php_pidmm_13210812_3478214_11371145eventid101329
push eax
mov dword [ebp - 0x3b0], eax
call fcn.00408c27
mov ecx, dword [ebp - 0x3b0]
mov byte [ecx + 0x68], bl
lea edx, [ebp - 0x324]
push 0x20
mov eax, edx
push str._ProgramFiles_Internet_Explorer
push eax
mov dword [ebp - 0x328], edx
mov byte [ebp - 0x324], bl
call fcn.00408c27
mov ecx, dword [ebp - 0x328]
mov byte [ecx + 0x20], bl
lea edx, [ebp - 0x368]
mov dword [ebp - 0x36c], edx
mov byte [ebp - 0x368], bl
push 0xc
mov eax, edx
push 0x41753c
push eax
call fcn.00408c27
mov ecx, dword [ebp - 0x36c]
add esp, 0x2c
mov byte [ecx + 0xc], bl
mov edx, dword [ebp - 0x50c]
push edx
lea esi, [ebp - 0x504]
call fcn.00402090
push 0x41754c
mov eax, esi
mov byte [ebp - 4], 0xa
call fcn.00402120
mov eax, dword [ebp - 0x328]
mov edi, dword [ebp - 0x504]
mov ebx, dword [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x36c]
mov edx, 0x417560
call fcn.00401e60
mov edx, dword [ebp - 0x47c]
push edx
push 0x41744c
push str.AddDyfm
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x504]
lea ecx, [ebp - 0x500]
cmp eax, ecx
je 0x4034bb
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x36c]
lea edx, [ebp - 0x368]
cmp eax, edx
je 0x4034d4
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x328]
lea ecx, [ebp - 0x324]
cmp eax, ecx
je 0x4034ed
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x3b0]
lea edx, [ebp - 0x3ac]
cmp eax, edx
je 0x403506
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x4bc]
cmp eax, ecx
je 0x40351f
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
cmp eax, edx
je 0x403538
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x403551
push eax
call fcn.00408c41
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
cmp eax, edx
je 0x40356e
push eax
call fcn.00408c41
add esp, 4
xor ebx, ebx
cmp byte [ebp + 0x14], bl
je 0x403870
lea ecx, [ebp - 0x508]
push ecx
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4035ae
mov eax, dword [ebp - 0x508]
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp - 0x508]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4035b5
mov dx, word [0x417368]
mov eax, dword [0x41cf30]
mov word [edi], dx
mov eax, dword [eax]
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4035d0
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4035e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
lea ecx, [ebp - 0x114]
push ecx
call esi
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x50c]
mov eax, dword [eax]
mov ecx, dword [0x41cf30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x438]
mov ebx, dword [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x114]
push eax
xor edi, edi
call fcn.00401e60
lea ecx, [ebp - 0x258]
push 0x14
mov edx, ecx
push str.http:__www.wuji.com_
xor bl, bl
push edx
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 0x258], bl
call fcn.00408c27
mov eax, dword [ebp - 0x25c]
mov byte [eax + 0x14], bl
lea ecx, [ebp - 0x29c]
push 0x20
mov edx, ecx
push str._ProgramFiles_Internet_Explorer
push edx
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 0x29c], bl
call fcn.00408c27
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x20], bl
lea ecx, [ebp - 0x2e0]
push 0xc
mov edx, ecx
push 0x41758c
push edx
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 0x2e0], bl
call fcn.00408c27
mov eax, dword [ebp - 0x2e4]
add esp, 0x24
mov byte [eax + 0xc], bl
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2a0]
mov ebx, dword [ebp - 0x25c]
push ecx
mov ecx, dword [ebp - 0x2e4]
lea edx, [ebp - 0x114]
push edx
mov edi, str._ProgramFiles_Internet_Exploreriexplore.exe
mov edx, 0x4175cc
call fcn.00401e60
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4036f5
mov ecx, dword [0x4175d8]
mov edx, dword [0x4175dc]
mov dword [eax], ecx
mov cx, word [0x4175e0]
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 - 0x50c]
push eax
lea esi, [ebp - 0x36c]
call fcn.00402090
push 0x417368
mov eax, esi
call fcn.00402120
mov ecx, dword [0x41cf30]
mov edx, dword [ecx + 0xc]
push edx
mov eax, esi
call fcn.00402120
lea eax, [ebp - 0x324]
mov dword [ebp - 0x328], eax
mov byte [ebp - 0x324], bl
mov ecx, dword [0x41cf30]
mov edx, dword [ecx]
push edx
push 0x4175e4
lea edi, [ebp - 0x328]
call fcn.00402790
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x3b0], eax
mov byte [ebp - 0x3ac], bl
mov byte [ebp - 4], 0x10
mov ecx, dword [0x41cf30]
mov edx, dword [ecx]
push edx
push 0x4175f0
lea edi, [ebp - 0x3b0]
call fcn.00402790
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x36c]
add esp, 0x10
push ecx
mov ecx, dword [ebp - 0x328]
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x3b0]
xor edi, edi
call fcn.00401e60
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x3ac]
cmp eax, ecx
je 0x4037f3
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x328]
lea edx, [ebp - 0x324]
cmp eax, edx
je 0x40380c
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x36c]
lea ecx, [ebp - 0x368]
cmp eax, ecx
je 0x403825
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
cmp eax, edx
je 0x40383e
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x403857
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
cmp eax, edx
je 0x403870
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x478]
cmp eax, ecx
je 0x403889
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x434]
cmp eax, edx
je 0x4038a2
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3f0]
cmp eax, ecx
je 0x4038bb
push eax
call fcn.00408c41
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.004084de
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x47c]
push eax
push 0x417464
push str.AddDyfm
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x403570