Function at 0x412ed5
Capabilities:
Create http request
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x46c]
sub esp, 0x4ec
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x468], eax
mov eax, dword [ebp + 0x474]
push ebx
push esi
push edi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x478]
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0xc], eax
mov byte [ebp + 0x1f], bl
mov dword [ebp + 0x54], 7
call fcn.00401734
push 1
push 2
lea ecx, [ebp - 0x80]
call fcn.0041297f
push 0x11
pop ecx
push 0x1c4
lea eax, [ebp + 0x9c]
push ebx
mov esi, str.http:__ifr.duba.net:80_urlrcv.php
lea edi, [ebp + 0x58]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042b8b0
push 0x206
lea eax, [ebp + 0x262]
push ebx
push eax
mov word [ebp + 0x260], bx
call fcn.0042b8b0
add esp, 0x18
call dword [0x4545d0]
mov edi, str.SOFTWAREKingsoftKSWSVC
push edi
mov dword [ebp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x412f86
mov dword [ebp + 0x14], ebx
jmp 0x412f9e
lea eax, [esi + esi]
call fcn.0042c100
mov eax, esp
push dword [ebp + 0x18]
push esi
push edi
push eax
call fcn.0040ba65
mov dword [ebp + 0x14], eax
push 0x104
lea eax, [ebp + 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kws.ini
lea eax, [ebp + 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x260]
push eax
push 0x103
lea eax, [ebp + 0x58]
push eax
push eax
push 0x448a14
push 0x448a0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x446e68
lea eax, [ebp + 0x3c]
push eax
push 0x448398
push dword [ebp + 0x14]
call fcn.00411a2f
add esp, 0x10
cmp dword [ebp + 0x50], ebx
jne 0x4130b6
lea ecx, [ebp + 0x20]
call fcn.0040b8ce
mov dword [ebp + 0x18], ebx
call dword [0x4545d0]
lea ecx, [ebp + 0x20]
mov dword [ebp], eax
call fcn.0040de31
cmp dword [eax + 0x18], 0x10
jb 0x41303a
mov edi, dword [eax + 4]
jmp 0x41303d
lea edi, [eax + 4]
cmp edi, ebx
je 0x413053
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x413057
xor eax, eax
jmp 0x41306c
lea eax, [esi + esi]
call fcn.0042c100
mov eax, esp
push dword [ebp]
push esi
push edi
push eax
call fcn.0040ba65
push eax
lea ecx, [ebp + 0x3c]
call fcn.00403d76
push 0x20006
push dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push 0x80000002
call fcn.0040126a
cmp dword [ebp + 0x54], 8
mov eax, dword [ebp + 0x40]
jae 0x413096
lea eax, [ebp + 0x40]
push 1
push eax
push 0x448398
lea ecx, [ebp + 0x18]
call fcn.004067ad
lea ecx, [ebp + 0x18]
call fcn.00401253
lea ecx, [ebp + 0x20]
call fcn.0040b80b
push ebx
lea eax, [ebp + 0x10]
push eax
push str.mainChannelID
push dword [ebp + 0x14]
call fcn.00410b00
push ebx
lea eax, [ebp + 4]
push eax
push str.subChannelID
push dword [ebp + 0x14]
call fcn.00410b00
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004125f1
add esp, 0x28
push dword [ebp + 8]
lea eax, [ebp - 0x80]
push str._mc
push eax
call fcn.004125f1
pop ecx
pop ecx
push eax
call fcn.004125f1
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push str.sc
push eax
call fcn.004125f1
pop ecx
pop ecx
push eax
call fcn.004125f1
pop ecx
pop ecx
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x80]
push str.uuid
push eax
call fcn.004125f1
pop ecx
pop ecx
push eax
call fcn.00412730
pop ecx
pop ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x80]
push str.smc
push eax
call fcn.004125f1
pop ecx
pop ecx
mov ecx, eax
call fcn.00412894
push dword [ebp + 4]
lea eax, [ebp - 0x80]
push str.ssc
push eax
call fcn.004125f1
pop ecx
pop ecx
mov ecx, eax
call fcn.00412894
push ebx
push ebx
push ebx
push ebx
push str.httpget
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x4131d3
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004118d6
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x41319e
lea eax, [ebp + 0x24]
push ebx
push 0x80000000
push ebx
push ebx
push eax
push dword [ebp + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
push ebx
push 1
lea ecx, [ebp + 0x20]
mov edi, eax
call fcn.00401f6b
cmp edi, ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x4131ce
push edi
mov byte [ebp + 0x1f], 1
call esi
push dword [ebp + 0x18]
call esi
lea ecx, [ebp - 0x80]
call fcn.00410bef
push ebx
push 1
lea ecx, [ebp + 0x3c]
call fcn.00401f6b
mov al, byte [ebp + 0x1f]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x468]
xor ecx, ebp
call fcn.0042b92a
add ebp, 0x46c
leave
ret