Function at 0x4196ce
Capabilities:
Connect to http server
Create http request
Query or enumerate registry value
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x453490
call fcn.0044ca14
mov eax, dword [ebp + 0x10]
sub esp, 0x4cc
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 0x14], ebx
jne 0x41970d
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x14], ebx
jne 0x41970d
xor eax, eax
inc eax
lea esp, [ebp - 0x4e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x24
cmp dword [ebp + 0xc], ebx
je 0x4196f3
push 0x4585d0
push dword [ebp + 0xc]
call fcn.0043d188
cmp dword [ebp + 0x24], ebx
pop ecx
pop ecx
jl 0x4196f3
cmp dword [ebp + 0x28], ebx
jl 0x4196f3
push ebx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push str.Browser1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp eax, ebx
jne 0x419749
push 2
pop eax
jmp 0x4196f6
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
call fcn.0040db58
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp dword [ecx + 0x18], 0x10
jb 0x419771
mov edx, dword [ecx + 4]
jmp 0x419774
lea edx, [ecx + 4]
push ebx
push ebx
push 3
mov eax, 0x45842a
push eax
push eax
movzx eax, word [ecx + 0x54]
push eax
push edx
push dword [ebp - 0x74]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x4197a4
lea eax, [ebp - 0x9c]
push eax
call fcn.0040db6b
pop ecx
jmp 0x419744
push eax
lea eax, [ebp - 0xb0]
push eax
mov ecx, esi
call fcn.0040db58
pop ecx
pop ecx
push ebx
push 0x84200000
lea eax, [ebp - 0xa4]
push eax
push ebx
push str.HTTP_1.0
push str.getfipl.php
push str.POST
push dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0xa4], 0x459f30
mov dword [ebp - 0xa0], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x419805
lea eax, [ebp - 0xb0]
push eax
call fcn.0040db6b
pop ecx
jmp 0x419795
push eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, esi
call fcn.0040db58
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.004019d2
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], ebx
je 0x419925
lea eax, [ebp - 0x68]
push eax
call fcn.0042627f
mov esi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov dword [esp], 0x4585e4
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402fff
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 5
call fcn.00402f58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0xcc]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.004017a5
mov esi, dword [ebp + 0x14]
cmp dword [esi + 0x14], ebx
je 0x41997c
lea eax, [ebp - 0xcc]
push eax
call fcn.0042627f
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
mov dword [esp], str.refer
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402fff
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call fcn.00402f58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.004017a5
lea ecx, [ebp - 0xcc]
jmp 0x419971
push str.md5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402fff
add esp, 0xc
push dword [ebp + 0x18]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00402f58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004017a5
lea ecx, [ebp - 0x90]
push ebx
push edi
mov byte [ebp - 4], 3
call fcn.004017a5
push str.uid
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402fff
add esp, 0xc
push dword [ebp + 0xc]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00402fff
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.004017a5
push dword [ebp + 0x24]
lea eax, [ebp - 0xcc]
push eax
call fcn.00401f83
mov esi, eax
push str.pc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 0xe
call fcn.00402fff
add esp, 0x14
push esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402f58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.004017a5
push dword [ebp + 0x28]
lea eax, [ebp - 0xcc]
push eax
call fcn.00401f83
mov esi, eax
mov byte [ebp - 4], 0x11
push str.mc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402fff
add esp, 0x14
push esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x12
call fcn.00402f58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.004017a5
push 4
pop esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
push eax
push str.NoPeer
push str.SoftwareSohu_RDp4p
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp eax, ebx
jne 0x419b27
cmp dword [ebp - 0x4c], edi
jne 0x419b27
push str.nopeer1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00402fff
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.004016f1
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.004017a5
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x419b33
lea eax, [ebp - 0x28]
push eax
push str.getfipl_postdata:__r_n_s_n
push 8
push dword [0x468674]
call fcn.00429300
mov ecx, str.Content_Type:_application_x_www_form_urlencoded
mov eax, ecx
lea edx, [eax + 1]
add esp, 0x10
mov dword [ebp + 0xc], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x419b56
sub eax, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x419b6c
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
push edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
test eax, eax
jne 0x419b9b
push edi
lea ecx, [ebp - 0x2c]
call fcn.004017a5
lea eax, [ebp - 0xd8]
push eax
call fcn.0040db6b
pop ecx
jmp 0x4197f6
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.004019d2
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x10], ebx
cmp ebx, ebx
jbe 0x419bc7
push dword [ebp - 0x10]
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402cfb
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x4d8]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
je 0x419c88
cmp dword [ebp - 0x10], ebx
ja 0x419bb5
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x419bf9
lea eax, [ebp - 0x44]
push eax
push str.P2P_Server_says:__r_n_s_n
push 8
push dword [0x468674]
call fcn.00429300
add esp, 0x10
push ebx
push str.FAILED
lea eax, [ebp - 0x48]
push eax
call fcn.00402bb0
test eax, eax
je 0x419c8b
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x419c2e
lea eax, [ebp - 0x44]
push 7
push str.length
push eax
call fcn.0043bf43
add esp, 0xc
test eax, eax
jne 0x419c8b
mov esi, dword [ebp - 0x34]
lea eax, [esi + 1]
call fcn.0044c230
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [ebp - 0x44]
mov eax, esp
jae 0x419c5b
lea ecx, [ebp - 0x44]
push esi
push ecx
push eax
mov byte [esi + eax], bl
call fcn.0043ba10
add esp, 0xc
push eax
lea ecx, [ebp - 0x48]
call fcn.00401782
push dword [ebp + 0x20]
lea eax, [ebp - 0x48]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
call fcn.00419e09
mov esi, eax
jmp 0x419c8b
push 2
pop esi
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004017a5
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004017a5
lea eax, [ebp - 0xd8]
push eax
call fcn.0040db6b
pop ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040db6b
pop ecx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040db6b
pop ecx
mov eax, esi
jmp 0x4196f6