Function at 0x4e9d90
Capabilities:
Get socket status
Query or enumerate registry value
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6d1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x103cc
call fcn.0057a710
mov eax, dword [0x64aa84]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0xea60
mov eax, dword [0x66160c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov esi, 2
mov word [ebp - 0x34], si
xor ebx, ebx
mov word [ebp - 0x32], bx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x24], si
push 0x1439
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
push 0x5fd6f4
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x4eafe2
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
push 0x11
push esi
push esi
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4eafe2
push 0x10
lea edx, [ebp - 0x34]
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4ea03a
mov dword [ebp - 0x1017c], 0x10
mov dword [ebp - 0x1019c], 0x80
mov dword [ebp - 0x10164], ebx
mov byte [ebp - 0x1014d], bl
push ebx
lea eax, [ebp - 0x10160]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareP2P
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4e9f07
lea ecx, [ebp - 0x1019c]
push ecx
lea edx, [ebp - 0x10164]
push edx
lea eax, [ebp - 0x10280]
push eax
push ebx
push str.reported
mov ecx, dword [ebp - 0x10160]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e9ed5
cmp dword [ebp - 0x10164], ebx
jne 0x4e9efa
jmp 0x4e9ef3
push 4
lea edx, [ebp - 0x10164]
push edx
push 4
push ebx
push str.reported
mov eax, dword [ebp - 0x10160]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 0x1014d], 1
mov ecx, dword [ebp - 0x10160]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x101d8], 1
mov byte [ebp - 0x101d7], bl
mov dword [ebp - 0x101d4], ebx
mov dword [ebp - 0x101d0], ebx
mov dword [ebp - 0x101cc], ebx
mov dword [ebp - 0x101c8], ebx
mov dword [ebp - 0x101c4], ebx
mov dword [ebp - 0x101c0], ebx
mov dword [ebp - 0x101bc], ebx
mov dword [ebp - 0x101b8], ebx
mov dword [ebp - fcn.00504050], 0x5e7c20
lea edx, [ebp - 0x10144]
mov dword [ebp - 0x101b4], edx
mov dword [ebp - 0x101b0], 0x10000
mov dword [ebp - 0x101ac], ebx
mov al, byte [ebp - 0x1014d]
push str.Vagaa_Version__135
cmp al, bl
je 0x4e9f9b
lea eax, [ebp - 0x101dc]
push eax
call fcn.004c9fc0
push str.Install_Report__135
lea ecx, [ebp - 0x101dc]
push ecx
call fcn.004c9fc0
add esp, 0x10
jmp 0x4e9faa
lea edx, [ebp - 0x101dc]
push edx
call fcn.004c9fc0
add esp, 8
mov eax, dword [0x661418]
mov ecx, dword [eax + 0x744]
push ecx
push str.ClientID___u
lea edx, [ebp - 0x101dc]
push edx
call fcn.004c9fc0
push 0x5e418a
lea eax, [ebp - 0x101dc]
push eax
call fcn.004c9fc0
add esp, 0x14
mov ecx, dword [ebp - 0x1017c]
push ecx
lea edx, [ebp - 0x24]
push edx
push ebx
mov eax, dword [ebp - 0x101ac]
push eax
lea ecx, [ebp - 0x10144]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x103d8], esi
mov dword [ebp - 0x103dc], 1
mov dword [ebp - 0x101e4], 0xf
mov dword [ebp - 0x101e0], ebx
lea edx, [ebp - 0x101e4]
push edx
push ebx
push ebx
lea eax, [ebp - 0x103dc]
push eax
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x4ea046
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4eafe2
lea edx, [ebp - 0x1017c]
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push 0x10000
lea ecx, [ebp - 0x10144]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp edi, ebx
jle 0x4eafe2
mov byte [ebp - 0x10152], bl
mov byte [ebp - 0x10153], bl
mov byte [ebp - 0x10154], bl
mov byte [ebp - 0x10155], bl
mov byte [ebp - 0x1014f], bl
mov byte [ebp - 0x10150], bl
mov byte [ebp - 0x10151], bl
mov byte [ebp - 0x1014e], bl
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10170], eax
mov dword [ebp - 4], 1
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10180], eax
mov byte [ebp - 4], 3
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10174], eax
mov byte [ebp - 4], 5
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1016c], eax
mov byte [ebp - 4], 7
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10184], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x10178], ebx
mov byte [ebp - 0x10214], 1
mov byte [ebp - 0x10213], bl
mov dword [ebp - 0x10210], ebx
mov dword [ebp - 0x1020c], ebx
mov dword [ebp - 0x10208], ebx
mov dword [ebp - 0x10204], ebx
mov dword [ebp - 0x10200], ebx
mov dword [ebp - 0x101fc], ebx
mov dword [ebp - 0x101f8], ebx
mov dword [ebp - 0x101f4], ebx
mov dword [ebp - fcn.00504050], 0x5e7c20
lea eax, [ebp - 0x10144]
mov dword [ebp - 0x101f0], eax
mov dword [ebp - 0x101ec], edi
mov dword [ebp - 0x101e8], ebx
push 0x18
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x1028c], eax
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x4ea1af
push ebx
mov ecx, eax
call fcn.00412b20
mov esi, eax
jmp 0x4ea1b1
xor esi, esi
mov byte [ebp - 4], 9
push edi
lea ecx, [ebp - 0x10144]
push ecx
mov ecx, esi
call fcn.00412b60
push esi
mov ecx, dword [0x6613bc]
call fcn.004b51d0
cmp esi, ebx
je 0x4ea1dc
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x144], bl
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x10218]
call fcn.004c9ef0
lea ecx, [ebp - 0x1014c]
call fcn.004948d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10148]
call fcn.004948d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x1015c]
call fcn.00460950
mov byte [ebp - 4], 0xe
push ebx
push 0x3d
lea ecx, [ebp - 0x1015c]
call fcn.004e6e20
mov esi, eax
mov dword [ebp - 0x102a4], esi
cmp esi, ebx
jle 0x4ea365
mov edx, dword [ebp - 0x1015c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x102ac], eax
dec eax
cmp esi, eax
jge 0x4ea365
push esi
lea eax, [ebp - 0x101a8]
push eax
lea ecx, [ebp - 0x1015c]
call fcn.004e2c90
mov dword [ebp - 0x102b4], eax
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x1014c]
call fcn.00495070
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x101a8]
call fcn.00401b70
inc esi
push esi
lea ecx, [ebp - 0x10188]
push ecx
lea ecx, [ebp - 0x1015c]
call fcn.004e7650
mov dword [ebp - 0x102bc], eax
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x10148]
call fcn.00495070
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10188]
call fcn.00401b70
lea ecx, [ebp - 0x1014c]
call fcn.004e77a0
mov ecx, eax
call fcn.004e76b0
lea ecx, [ebp - 0x10148]
call fcn.004e77a0
mov ecx, eax
call fcn.004e76b0
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x102c4], eax
push str.Report_Ack
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea335
mov byte [ebp - 0x10153], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x102cc], eax
push str.SetupLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea397
mov edx, dword [ebp - 0x10148]
push edx
lea ecx, [ebp - 0x10170]
call fcn.00405320
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1015c]
call fcn.00401b70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10148]
call fcn.00401b70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1014c]
call fcn.00401b70
jmp 0x4ea1e0
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10298], eax
push str.Need_Update
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea401
mov eax, dword [ebp - 0x10148]
mov dword [ebp - 0x102a8], eax
push 0x5fd674
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
je 0x4ea3f5
mov eax, dword [ebp - 0x10148]
mov dword [ebp - 0x10228], eax
push 0x5fd670
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea365
mov byte [ebp - 0x10152], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x1021c], eax
push str.AdultFilterLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea449
lea eax, [ebp - 0x10148]
push eax
lea ecx, [ebp - 0x10180]
call fcn.00495070
mov ecx, dword [ebp - 0x10148]
push ecx
mov ecx, dword [0x6613bc]
add ecx, 0xbc
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10230], eax
push str.ConfigFileLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea47e
lea edx, [ebp - 0x10148]
push edx
lea ecx, [ebp - 0x10174]
call fcn.00495070
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x102c8], eax
push str.ConfigFileVersion
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea4cf
mov eax, dword [ebp - 0x10148]
push eax
call fcn.0057bc91
add esp, 4
mov dword [ebp - 0x10194], eax
mov ecx, dword [0x6613bc]
cmp dword [ecx + 0x2c8], eax
jae 0x4ea365
mov byte [ebp - 0x10154], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10238], eax
push str.AdVersion
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea520
mov edx, dword [ebp - 0x10148]
push edx
call fcn.0057bc91
add esp, 4
mov dword [ebp - 0x10198], eax
mov ecx, dword [0x6613bc]
cmp eax, dword [ecx + 0x2d0]
jle 0x4ea365
mov byte [ebp - 0x1014f], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10288], eax
push str.MirrorVersion
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea571
mov edx, dword [ebp - 0x10148]
push edx
call fcn.0057bc91
add esp, 4
mov dword [ebp - 0x10190], eax
mov ecx, dword [0x6613bc]
cmp eax, dword [ecx + 0x310]
jle 0x4ea365
mov byte [ebp - 0x10150], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10240], eax
push str.AdLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea5b9
lea edx, [ebp - 0x10148]
push edx
lea ecx, [ebp - 0x1016c]
call fcn.00495070
mov eax, dword [ebp - 0x10148]
push eax
mov ecx, dword [0x6613bc]
add ecx, 0x2d4
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x102b0], eax
push str.MirrorLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea601
lea ecx, [ebp - 0x10148]
push ecx
lea ecx, [ebp - 0x10184]
call fcn.00495070
mov edx, dword [ebp - 0x10148]
push edx
mov ecx, dword [0x6613bc]
add ecx, 0x30c
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10248], eax
push str.CKVersion
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea64f
mov eax, dword [ebp - 0x10148]
push eax
call fcn.0057bc91
add esp, 4
mov dword [ebp - 0x10290], eax
mov ecx, dword [0x661420]
cmp dword [ecx + 0x2c], eax
jae 0x4ea365
mov byte [ebp - 0x10151], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10250], eax
push str.ModuleVersion
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea69d
mov edx, dword [ebp - 0x10148]
push edx
call fcn.0057bc91
mov dword [ebp - 0x10294], eax
add esp, 4
mov ecx, dword [0x66141c]
cmp dword [ecx + 0x30], eax
jae 0x4ea365
mov byte [ebp - 0x1014e], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10258], eax
push str.ModuleVersionEx
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea6cf
mov edx, dword [ebp - 0x10148]
push edx
call fcn.0057bc91
mov dword [ebp - 0x1029c], eax
jmp 0x4ea67f
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10260], eax
push str.ModuleLinkEx
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea702
mov edx, dword [ebp - 0x10148]
push edx
mov ecx, dword [0x6613bc]
add ecx, 0x6c
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x102c0], eax
push str.CKLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea735
mov eax, dword [ebp - 0x10148]
push eax
mov ecx, dword [0x6613bc]
add ecx, 0x68
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10268], eax
push str.AwfVersion
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea786
mov ecx, dword [ebp - 0x10148]
push ecx
call fcn.0057bc91
add esp, 4
mov dword [ebp - 0x10178], eax
mov edx, dword [0x6613bc]
cmp eax, dword [edx + 0x300]
jle 0x4ea365
mov byte [ebp - 0x10155], 1
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x102a0], eax
push str.AwfLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea7bc
mov eax, dword [ebp - 0x10148]
push eax
mov ecx, dword [0x6613bc]
add ecx, 0x304
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10270], eax
push str.DetailLink
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea803
mov ecx, dword [ebp - 0x10148]
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x102b8], eax
cmp eax, ebx
jle 0x4ea365
push ecx
mov ecx, dword [0x6613bc]
add ecx, 0x2e4
jmp 0x4ea360
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x10278], eax
push str.vServerList
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea909
cmp dword [0x661650], ebx
jne 0x4ea848
mov ecx, dword [0x6613d8]
add ecx, 0x14b4
call fcn.0047d600
mov dword [0x661650], 1
mov ecx, dword [ebp - 0x10148]
push ecx
lea ecx, [ebp - 0x101a0]
call fcn.00411760
mov byte [ebp - 4], 0x11
push 1
lea edx, [ebp - 0x44]
push edx
push ebx
mov ecx, eax
call fcn.00431c40
push eax
mov ecx, dword [0x661414]
call fcn.00492e80
mov esi, eax
mov dword [ebp - 0x10220], esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x101a0]
call fcn.00401b70
cmp esi, ebx
je 0x4ea365
push 1
mov eax, dword [0x661418]
add eax, 0x8b4
push eax
lea ecx, [ebp - 0x102d8]
call fcn.005789d4
mov byte [ebp - 4], 0x12
push ebx
push ebx
mov ecx, dword [ebp - 0x42]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
push eax
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [0x6613d8]
add ecx, 0x14b4
call fcn.0047d6e0
mov dword [ebp - 0x10224], eax
cmp eax, ebx
je 0x4ea8f5
mov dword [eax + 0x54], 1
mov ecx, dword [ebp - 0x10148]
push ecx
lea ecx, [eax + 0x30]
call fcn.00405320
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x102d8]
call fcn.0057897a
jmp 0x4ea365
mov eax, dword [ebp - 0x1014c]
mov dword [ebp - 0x1022c], eax
push 0x5fd598
push eax
call fcn.0057d7a8
add esp, 8
test eax, eax
jne 0x4ea365
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1015c]
call fcn.00401b70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10148]
call fcn.00401b70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1014c]
call fcn.00401b70
jmp 0x4ea962
mov dword [ebp - 4], 9
cmp byte [ebp - 0x10151], bl
jne 0x4ea9a1
push ecx
mov edx, esp
mov dword [ebp - 0x10234], esp
push str.Datacookies.dat
push 0x6615ec
push edx
call fcn.0040dc60
add esp, 0xc
mov byte [ebp - 4], 9
call fcn.004e49c0
add esp, 4
cmp al, bl
jne 0x4eaa28
push 0x98
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x1023c], eax
mov byte [ebp - 4], 0x15
cmp eax, ebx
je 0x4ea9c7
mov ecx, eax
call fcn.0047fca0
mov esi, eax
jmp 0x4ea9c9
xor esi, esi
mov byte [ebp - 4], 9
mov eax, dword [0x6613bc]
mov eax, dword [eax + 0x68]
push eax
mov ecx, esi
call fcn.00480170
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_1.1.4322_
mov ecx, esi
call fcn.00480250
push 0x5e7ce4
push str.Accept_Encoding
mov ecx, esi
call fcn.004805d0
mov eax, dword [0x661324]
cmp eax, ebx
jne 0x4eaa07
xor eax, eax
jmp 0x4eaa0a
mov eax, dword [eax + 0x1c]
push 8
push 0x593
push eax
mov ecx, esi
call fcn.0047f630
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
push 1
mov ecx, esi
call fcn.00480f50
cmp byte [ebp - 0x1014e], bl
jne 0x4eaa66
push ecx
mov ecx, esp
mov dword [ebp - 0x10244], esp
push str.Datamodule.dat
push 0x6615ec
push ecx
call fcn.0040dc60
add esp, 0xc
mov byte [ebp - 4], 9
call fcn.004e49c0
add esp, 4
cmp al, bl
je 0x4eaa66
call fcn.0041fa10
jmp 0x4eaaee
push 0x98
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x1024c], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x4eaa8c
mov ecx, eax
call fcn.0047fca0
mov esi, eax
jmp 0x4eaa8e
xor esi, esi
mov byte [ebp - 4], 9
mov edx, dword [0x6613bc]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, esi
call fcn.00480170
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_1.1.4322_
mov ecx, esi
call fcn.00480250
push 0x5e7ce4
push str.Accept_Encoding
mov ecx, esi
call fcn.004805d0
mov eax, dword [0x661324]
cmp eax, ebx
jne 0x4eaacd
xor eax, eax
jmp 0x4eaad0
mov eax, dword [eax + 0x1c]
push 7
push 0x593
push eax
mov ecx, esi
call fcn.0047f630
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
push 1
mov ecx, esi
call fcn.00480f50
cmp byte [ebp - 0x10155], bl
je 0x4eac23
push 0x98
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x10254], eax
mov byte [ebp - 4], 0x18
cmp eax, ebx
je 0x4eab20
mov ecx, eax
call fcn.0047fca0
mov esi, eax
jmp 0x4eab22
xor esi, esi
mov byte [ebp - 4], 9
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10168], eax
mov byte [ebp - 4], 0x1a
mov edi, dword [0x6613bc]
add edi, 0x304
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jl 0x4eab6d
push 0x5e4090
push eax
call fcn.0057aad0
add esp, 8
cmp eax, ebx
je 0x4eab6d
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4eab8f
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 0x304]
push ecx
push str.http:___s
lea edx, [ebp - 0x10168]
push edx
call fcn.0040a170
add esp, 0xc
jmp 0x4eaba5
mov eax, dword [0x6613bc]
add eax, 0x304
push eax
lea ecx, [ebp - 0x10168]
call fcn.00405540
mov edi, dword [ebp - 0x10168]
push edi
mov ecx, esi
call fcn.00480170
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_1.1.4322_
mov ecx, esi
call fcn.00480250
push 0x5e7ce4
push str.Accept_Encoding
mov ecx, esi
call fcn.004805d0
mov eax, dword [0x661324]
cmp eax, ebx
jne 0x4eabdd
xor eax, eax
jmp 0x4eabe0
mov eax, dword [eax + 0x1c]
push 2
push 0x593
push eax
mov ecx, esi
call fcn.0047f630
mov eax, dword [ebp - 0x10178]
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
push 1
mov ecx, esi
call fcn.00480f50
mov byte [ebp - 4], 9
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eac23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp byte [ebp - 0x10154], bl
jne 0x4eac68
mov ecx, dword [0x6613d8]
add ecx, 0x424
call fcn.0047cde0
test eax, eax
je 0x4eac68
mov eax, dword [0x661418]
cmp dword [eax + 0x908], ebx
je 0x4eac68
mov ecx, 2
cmp word [eax + 0x8cc], cx
jne 0x4eac68
cmp word [eax + 0x8dc], cx
je 0x4ead00
push ecx
mov dword [ebp - 0x1025c], esp
mov dword [ebp - 0x1018c], esp
mov esi, dword [ebp - 0x10174]
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esi + 0xc]
cmp dword [ecx], ebx
jl 0x4eac9d
cmp eax, dword [esi]
jne 0x4eac9d
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4eacd0
mov edx, dword [eax]
push 1
mov ecx, dword [esi + 4]
push ecx
mov ecx, eax
call dword [edx]
cmp eax, ebx
jne 0x4eacb2
jmp fcn.00401360
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add esi, 0x10
lea edi, [eax + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov ecx, dword [ebp - 0x1018c]
mov dword [ecx], eax
mov byte [ebp - 4], 9
mov edx, dword [ebp + 8]
push edx
call fcn.004e9380
add esp, 8
cmp eax, ebx
jne 0x4ead00
mov eax, dword [0x6613bc]
mov ecx, dword [ebp - 0x10194]
mov dword [eax + 0x2c8], ecx
cmp byte [ebp - 0x10152], bl
je 0x4ead8f
mov ecx, 0x661308
call fcn.005b1161
mov edi, eax
push 0x100
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x10264], eax
mov byte [ebp - 4], 0x1e
cmp eax, ebx
je 0x4ead3e
mov ecx, eax
call fcn.004f1670
mov esi, eax
jmp 0x4ead40
xor esi, esi
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x10170]
push edx
mov ecx, esi
call fcn.004f41b0
test eax, eax
je 0x4ead83
cmp edi, ebx
je 0x4ead83
mov dword [esi + 0xcc], 1
push ebx
push esi
push 0x469
mov eax, dword [edi + 0x1c]
push eax
call dword [0x652d40]
test eax, eax
jne 0x4ead8f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
jmp 0x4ead8f
cmp esi, ebx
je 0x4ead8f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x1026c], esp
push str.DataMirrors.xml
push 0x6615ec
push ecx
call fcn.0040dc60
add esp, 0xc
mov byte [ebp - 4], 9
call fcn.004e49c0
add esp, 4
cmp al, bl
je 0x4eadc3
cmp byte [ebp - 0x10150], bl
je 0x4eae1e
push ecx
mov edx, esp
mov dword [ebp - 0x10274], esp
push str.DataMirrors.xml
push 0x6615ec
push edx
call fcn.0040dc60
mov byte [ebp - 4], 0x20
mov eax, dword [0x6613bc]
mov eax, dword [eax + 0x30c]
add esp, 8
mov ecx, esp
mov dword [ebp - 0x1027c], esp
push eax
call fcn.00401f30
mov byte [ebp - 4], 9
call fcn.004f2760
add esp, 8
cmp eax, ebx
jne 0x4eae1e
mov ecx, dword [0x6613bc]
mov edx, dword [ebp - 0x10190]
mov dword [ecx + 0x310], edx
cmp byte [ebp - 0x1014f], bl
je 0x4eaebf
push ecx
mov dword [ebp - 0x10284], esp
mov dword [ebp - 0x101a4], esp
mov esi, dword [ebp - 0x1016c]
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esi + 0xc]
cmp dword [ecx], ebx
jl 0x4eae5f
cmp eax, dword [esi]
jne 0x4eae5f
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4eae92
mov edx, dword [eax]
push 1
mov ecx, dword [esi + 4]
push ecx
mov ecx, eax
call dword [edx]
cmp eax, ebx
jne 0x4eae74
jmp fcn.00401360
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add esi, 0x10
lea edi, [eax + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov ecx, dword [ebp - 0x101a4]
mov dword [ecx], eax
mov byte [ebp - 4], 9
call fcn.004e9590
add esp, 4
cmp eax, ebx
je 0x4eaebf
mov edx, dword [0x6613bc]
mov eax, dword [ebp - 0x10198]
mov dword [edx + 0x2d0], eax
cmp byte [ebp - 0x10153], bl
je 0x4eaf21
push ebx
lea ecx, [ebp - 0x10160]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareP2P
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4eaf21
mov dword [ebp - 0x10164], 1
push 4
lea edx, [ebp - 0x10164]
push edx
push 4
push ebx
push str.reported
mov eax, dword [ebp - 0x10160]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x10160]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x658d90], 1
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10184]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4eaf4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1016c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eaf73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10174]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eaf97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10180]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eafbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10170]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eafe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret