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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434b03
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4433ec]
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 ebx, ecx
mov ecx, dword [ebx]
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x25c]
mov dword [ebp - 0x484], ebx
mov byte [ebp - 0x258], 0
call fcn.00410060
xor edi, edi
push 0x43a910
mov eax, esi
mov dword [ebp - 4], edi
call fcn.0040ff60
mov edx, dword [0x44600c]
mov eax, dword [edx + 4]
push eax
mov eax, esi
call fcn.0040ff60
mov ecx, dword [0x44600c]
mov eax, dword [ecx]
lea edx, [ebp - 0x2e0]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], edx
mov byte [ebp - 0x2e0], 0
call fcn.00410060
push 0x43bd14
mov eax, esi
mov byte [ebp - 4], 1
call fcn.0040ff60
lea eax, [ebp - 0x480]
push eax
push 0x19
push edi
mov dword [ebp - 0x480], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4123f1
mov edx, dword [ebp - 0x480]
lea ecx, [ebp - 0x218]
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]
cmp byte [ebp + 8], 0
je 0x412422
mov ebx, dword [ebx]
mov ecx, dword [0x44600c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2e4]
push ebx
mov ebx, dword [ebp - 0x25c]
lea eax, [ebp - 0x218]
push eax
xor edi, edi
call fcn.0040fce0
mov ebx, dword [ebp - 0x484]
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 0x324], 0
sub esp, 0x44
mov edi, esp
mov byte [ebp - 4], 2
mov ecx, 0x11
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push str._sSysConfig.ini
lea edi, [ebp - 0x328]
call fcn.00410550
add esp, 0x48
cmp byte [ebp + 8], 0
je 0x41246e
mov edx, dword [ebp - 0x328]
push edx
push 0x43bd30
jmp 0x41247a
mov eax, dword [ebp - 0x328]
push eax
push 0x43bd3c
push str.AddDtop
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [ebp + 0xc], 0
je 0x412792
lea ecx, [ebp - 0x480]
push ecx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4124ca
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 0x4124d1
mov dx, word [0x43a910]
mov eax, dword [0x44600c]
mov word [edi], dx
mov eax, dword [eax]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4124f0
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412500
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]
push 0
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx]
mov ecx, dword [0x44600c]
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.0040fce0
lea ecx, [ebp - 0x3f0]
xor bl, bl
push str.http:__www.wuji.com_
or eax, 0xffffffff
lea esi, [ebp - 0x3f4]
mov dword [ebp - 0x3f4], ecx
mov byte [ebp - 0x3f0], bl
call fcn.00410060
lea edx, [ebp - 0x3ac]
push str._ProgramFiles_Internet_Explorer
or eax, 0xffffffff
lea esi, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], edx
mov byte [ebp - 0x3ac], bl
call fcn.00410060
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], eax
push 0x43bd7c
or eax, 0xffffffff
lea esi, [ebp - 0x438]
mov byte [ebp - 0x434], bl
call fcn.00410060
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3b0]
mov ebx, dword [ebp - 0x3f4]
push ecx
mov ecx, dword [ebp - 0x438]
lea edx, [ebp - 0x114]
push edx
mov edi, str._ProgramFiles_Internet_Exploreriexplore.exe
mov edx, 0x43bdbc
call fcn.0040fce0
lea eax, [ebp - 0x114]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x412600
mov ecx, dword [0x43bdc8]
mov edx, dword [0x43bdcc]
mov dword [eax], ecx
mov cx, word [0x43bdd0]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x114]
push edx
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp - 0x484]
mov ecx, dword [ebx]
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x2a0]
mov byte [ebp - 0x29c], 0
call fcn.00410060
push 0x43a910
mov eax, esi
call fcn.0040ff60
mov edx, dword [0x44600c]
mov eax, dword [edx + 0xc]
push eax
mov eax, esi
call fcn.0040ff60
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x47c], ecx
mov byte [ebp - 0x478], 0
mov edx, dword [0x44600c]
mov eax, dword [edx]
push eax
push 0x43bdd4
lea edi, [ebp - 0x47c]
call fcn.00410550
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 0x368], 0
mov byte [ebp - 4], 8
mov edx, dword [0x44600c]
mov eax, dword [edx]
push eax
push 0x43bde0
lea edi, [ebp - 0x36c]
call fcn.00410550
mov ecx, dword [ebx]
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 - 0x36c]
xor edi, edi
call fcn.0040fce0
mov eax, dword [ebp - 0x36c]
lea ecx, [ebp - 0x368]
cmp eax, ecx
je 0x412715
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x478]
cmp eax, edx
je 0x41272e
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x412747
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x434]
cmp eax, edx
je 0x412760
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x3b0]
lea ecx, [ebp - 0x3ac]
cmp eax, ecx
je 0x412779
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x3f4]
lea edx, [ebp - 0x3f0]
cmp eax, edx
je 0x412792
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x328]
lea ecx, [ebp - 0x324]
cmp eax, ecx
je 0x4127ab
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
cmp eax, edx
je 0x4127c4
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x4127dd
push eax
call fcn.0041be61
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.0041b499
mov esp, ebp
pop ebp
ret 8