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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423c43
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x42e4a0]
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 ebx, dword [eax]
mov dword [ebp - 0x484], eax
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a3e0
sub eax, edx
jne 0x40a3f2
xor al, al
jmp 0x40a97d
xor esi, esi
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
cmp ebx, esi
jne 0x40a410
mov ebx, 0x429482
mov ecx, ebx
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40a415
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x40a43e
lea eax, [edi + 1]
push eax
push esi
mov dword [ebp - 0x25c], esi
call fcn.00411e87
add esp, 8
mov dword [ebp - 0x25c], eax
push edi
push ebx
push eax
call fcn.00411bd7
mov ecx, dword [ebp - 0x25c]
add esp, 0xc
mov byte [edi + ecx], 0
push 0x4285d8
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], esi
call fcn.004095f0
mov edx, dword [0x4306f8]
mov eax, dword [edx + 4]
push eax
lea eax, [ebp - 0x25c]
call fcn.004095f0
mov ecx, dword [0x4306f8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 0x2e0], 0
mov ebx, ecx
cmp ecx, esi
jne 0x40a4a1
mov ebx, 0x429482
mov ecx, ebx
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40a4a6
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x40a4cf
lea edx, [edi + 1]
push edx
push esi
mov dword [ebp - 0x2e4], esi
call fcn.00411e87
add esp, 8
mov dword [ebp - 0x2e4], eax
push edi
push ebx
push eax
call fcn.00411bd7
mov eax, dword [ebp - 0x2e4]
add esp, 0xc
mov byte [edi + eax], 0
push 0x42ac8c
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 1
call fcn.004095f0
lea ecx, [ebp - 0x480]
push ecx
push esi
push esi
mov dword [ebp - 0x480], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40a532
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], 0
je 0x40a563
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [0x4306f8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2e4]
mov ebx, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x218]
push eax
xor edi, edi
call fcn.00409370
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x3f4], ecx
mov byte [ebp - 0x3f0], 0
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.00409b50
add esp, 0x48
cmp byte [ebp + 0xc], 0
je 0x40a5b3
mov edx, dword [ebp - 0x3f4]
push edx
push 0x42aca8
jmp 0x40a5bf
mov eax, dword [ebp - 0x3f4]
push eax
push 0x42acc0
push str.AddDtop
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [ebp + 0x10], 0
je 0x40a930
lea ecx, [ebp - 0x480]
push ecx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40a60f
mov eax, dword [ebp - 0x480]
lea edx, [ebp - 0x114]
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]
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a616
mov dx, word [0x4285d8]
mov eax, dword [0x4306f8]
mov word [edi], dx
mov eax, dword [eax]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a631
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a641
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 0
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 - 0x484]
mov eax, dword [eax]
mov ecx, dword [0x4306f8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2e4]
mov ebx, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x114]
push eax
xor edi, edi
call fcn.00409370
lea ecx, [ebp - 0x368]
push 0x13
mov edx, ecx
push str.http:__wj.wuji.com_
xor bl, bl
push edx
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 0x368], bl
call fcn.00411bd7
mov eax, dword [ebp - 0x36c]
mov byte [eax + 0x13], bl
lea ecx, [ebp - 0x324]
push 0x20
mov edx, ecx
push str._ProgramFiles_Internet_Explorer
push edx
mov dword [ebp - 0x328], ecx
mov byte [ebp - 0x324], bl
call fcn.00411bd7
mov eax, dword [ebp - 0x328]
mov byte [eax + 0x20], bl
lea ecx, [ebp - 0x3ac]
push 0xc
mov edx, ecx
push 0x42ace8
push edx
mov dword [ebp - 0x3b0], ecx
mov byte [ebp - 0x3ac], bl
call fcn.00411bd7
mov eax, dword [ebp - 0x3b0]
add esp, 0x24
mov byte [eax + 0xc], bl
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x328]
mov ebx, dword [ebp - 0x36c]
push ecx
mov ecx, dword [ebp - 0x3b0]
lea edx, [ebp - 0x114]
push edx
mov edi, str._ProgramFiles_Internet_Exploreriexplore.exe
mov edx, 0x42ad28
call fcn.00409370
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40a757
mov ecx, dword [0x42ad34]
mov edx, dword [0x42ad38]
mov dword [eax], ecx
mov cx, word [0x42ad3c]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x114]
push edx
mov word [eax + 8], cx
call esi
mov esi, dword [ebp - 0x484]
mov ebx, dword [esi]
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 0
test ebx, ebx
jne 0x40a7aa
mov ebx, 0x429482
mov ecx, ebx
lea edi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40a7b0
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x40a7de
lea eax, [edi + 1]
push eax
push 0
mov dword [ebp - 0x2a0], 0
call fcn.00411e87
add esp, 8
mov dword [ebp - 0x2a0], eax
push edi
push ebx
push eax
call fcn.00411bd7
mov ecx, dword [ebp - 0x2a0]
add esp, 0xc
mov byte [edi + ecx], 0
push 0x4285d8
lea eax, [ebp - 0x2a0]
call fcn.004095f0
mov edx, dword [0x4306f8]
mov eax, dword [edx + 0xc]
push eax
lea eax, [ebp - 0x2a0]
call fcn.004095f0
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x47c], ecx
mov byte [ebp - 0x478], 0
mov edx, dword [0x4306f8]
mov eax, dword [edx]
push eax
push 0x42ad40
lea edi, [ebp - 0x47c]
call fcn.00409b50
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x438], ecx
mov byte [ebp - 0x434], 0
mov byte [ebp - 4], 0xc
mov edx, dword [0x4306f8]
mov eax, dword [edx]
push eax
push 0x42ad4c
lea edi, [ebp - 0x438]
call fcn.00409b50
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x2a0]
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.00409370
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x434]
cmp eax, ecx
je 0x40a8b3
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x478]
cmp eax, edx
je 0x40a8cc
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x40a8e5
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x3b0]
lea edx, [ebp - 0x3ac]
cmp eax, edx
je 0x40a8fe
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x328]
lea ecx, [ebp - 0x324]
cmp eax, ecx
je 0x40a917
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x36c]
lea edx, [ebp - 0x368]
cmp eax, edx
je 0x40a930
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x3f4]
lea ecx, [ebp - 0x3f0]
cmp eax, ecx
je 0x40a949
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
cmp eax, edx
je 0x40a962
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x40a97b
push eax
call fcn.00410721
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.00410127
mov esp, ebp
pop ebp
ret 0xc