Function at 0x4079f7
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0042a596
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042a596
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4b2951
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.0042a596
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4b2951
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0042a596
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.0042a596
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4b2951
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 3
call fcn.0042a5a2
cmp dword [ebp - 0x20], esp
je 0x407ad6
push 6
call fcn.0042a59c
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d850
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407b91
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d850
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407b91
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d850
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407b91
mov eax, 0x4b2951
jmp 0x408b76
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x407ba6
mov eax, 0x4b2837
push eax
push 1
mov ebx, 0x42af20
call fcn.0042a5a8
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407bd2
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4b2837
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040100f
add esp, 8
cmp eax, 0
jne 0x407c11
mov eax, 0x4b29a6
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407c0b
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 1
je 0x407ca2
cmp dword [ebp + 0x44], 1
jge 0x407c31
mov dword [ebp + 0x44], 0x3a98
jmp 0x407c4e
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4b29aa]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401649
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x4b29b2
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x4c
push 0x4b2837
push dword [0x686a30]
call fcn.0040100f
add esp, 8
cmp eax, 0
je 0x407d66
push 0xa0000004
push 0
push 0x686a30
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x34
push 0x4b2837
push dword [0x686a34]
call fcn.0040100f
add esp, 8
cmp eax, 0
je 0x407d66
push 0xa0000301
push 0
push 0x686a3c
push 0xa0000004
push 0
push 0x686a38
push 0xa0000004
push 0
push 0x686a34
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x407df8
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42d750
call fcn.0042a5a8
add esp, 0x34
push 0x4b2837
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040100f
add esp, 8
cmp eax, 0
jne 0x407e4e
push str._r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 3
call fcn.004015e5
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407e48
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4b2837
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040100f
add esp, 8
cmp eax, 0
je 0x407ea7
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push str.Cookie
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2aad
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407eda
mov eax, 0x4b2837
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4082d1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2aad
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407f21
mov eax, 0x4b2837
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407f59
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407f55
imul eax, dword [ebx]
jmp 0x407f4a
mov ecx, eax
test ecx, ecx
je 0x407f78
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407f71
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407f5f
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401efa
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4082c9
mov ebx, dword [ebp - 8]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407fc0
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407fd3
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2ab0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40800e
mov eax, 0x4b2837
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4082c1
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40804c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408048
imul eax, dword [ebx]
jmp 0x40803d
mov ecx, eax
test ecx, ecx
je 0x40806b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408064
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408052
call fcn.0042a590
add esp, 4
mov eax, 0x4b2951
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408098
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4080ab
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2ab0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4080da
mov eax, 0x4b2837
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408112
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40810e
imul eax, dword [ebx]
jmp 0x408103
mov ecx, eax
test ecx, ecx
je 0x408131
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40812a
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408118
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00401efa
cmp dword [ebp - 0xc], eax
jle 0x40815d
jmp 0x408221
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 1
cmp eax, ecx
jl 0x40817b
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 1
cmp eax, ecx
jl 0x4081a1
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4081c6
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4081d9
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4b2ab0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015e5
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408216
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x408144
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 0
cmp eax, ecx
jl 0x40823f
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 1
cmp eax, ecx
jl 0x408265
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408282
mov eax, 0x4b2837
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408298
mov eax, 0x4b2837
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x407f95
add esp, 0xc
jmp 0x408532
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2ab0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x408304
mov eax, 0x4b2837
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x408532
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2ab0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40834b
mov eax, 0x4b2837
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408383
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40837f
imul eax, dword [ebx]
jmp 0x408374
mov ecx, eax
test ecx, ecx
je 0x4083a2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40839b
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408389
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00401efa
cmp dword [ebp - 0xc], eax
jle 0x4083ce
jmp 0x408492
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 1
cmp eax, ecx
jl 0x4083ec
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 1
cmp eax, ecx
jl 0x408412
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408437
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40844a
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4b2ab0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015e5
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408487
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4083b5
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 0
cmp eax, ecx
jl 0x4084b0
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f13
mov eax, 1
cmp eax, ecx
jl 0x4084d6
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4084f3
mov eax, 0x4b2837
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408509
mov eax, 0x4b2837
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x34
mov eax, 0x4b2951
xor ecx, ecx
test eax, eax
je 0x408540
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x408553
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40856a
dec eax
test ecx, ecx
je 0x40856a
call fcn.00401f33
add esp, 0xc
test eax, eax
jne 0x4085ac
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x28
jmp 0x408617
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4085c7
mov eax, 0x4b2951
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x42d1f0
call fcn.0042a5a8
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42c650
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x42c840
call fcn.0042a5a8
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42c770
call fcn.0042a5a8
add esp, 0x10
call fcn.0042a590
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4086a4
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42c5c0
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4086ef
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4b2aad
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40871c
mov eax, 0x4b2837
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408754
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408750
imul eax, dword [ebx]
jmp 0x408745
mov ecx, eax
test ecx, ecx
je 0x408773
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40876c
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40875a
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4b2837
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408797
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401efa
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x408ac9
mov ebx, dword [ebp - 0x1c]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4087d9
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4087ec
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408827
mov eax, 0x4b2837
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40892d
mov ebx, dword [ebp - 0x1c]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408864
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408877
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00401641
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4088c2
mov eax, 0x4b2837
push eax
push 6
mov ebx, 0x42b3e0
call fcn.0042a5a8
add esp, 0x4c
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4088eb
mov eax, 0x4b2837
push eax
push 1
mov ebx, 0x42b3c0
call fcn.0042a5a8
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408911
push ebx
call fcn.0042a590
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408927
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40894a
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40895d
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Set_Cookie
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408998
mov eax, 0x4b2837
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x408ac1
mov ebx, dword [ebp - 0x1c]
call fcn.00401f13
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4089d5
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4089e8
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4b2aef
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.00408ca3
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408a2f
push ebx
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408a3f
push ebx
call fcn.0042a590
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x408a52
mov eax, 0x4b2837
push eax
push 1
mov ebx, 0x42b3c0
call fcn.0042a5a8
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408a78
push ebx
call fcn.0042a590
add esp, 4
push 0x4b2afd
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015e5
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408aa5
push ebx
call fcn.0042a590
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408abb
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4087ae
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00408ef4
mov ebx, eax
test ebx, ebx
je 0x408ae6
push ebx
call fcn.0042a590
add esp, 4
push 0x4b2837
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040100f
add esp, 8
cmp eax, 0
jne 0x408b38
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x408b1f
push eax
mov ebx, eax
call fcn.0040157a
inc eax
push eax
call fcn.0042a596
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408b32
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.0042a5a2
cmp dword [ebp - 0x20], esp
je 0x408b57
push 6
call fcn.0042a59c
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x408b71
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042a596
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408b76
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42d820
call fcn.0042a5a8
add esp, 0x10
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408bb8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408bb4
imul eax, dword [ebx]
jmp 0x408ba9
mov ecx, eax
test ecx, ecx
je 0x408bd7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408bd0
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408bbe
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408bfd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408bf9
imul eax, dword [ebx]
jmp 0x408bee
mov ecx, eax
test ecx, ecx
je 0x408c1c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408c15
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408c03
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42c770
call fcn.0042a5a8
add esp, 0x10
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408c57
push ebx
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408c75
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408c71
imul eax, dword [ebx]
jmp 0x408c66
mov ecx, eax
test ecx, ecx
je 0x408c94
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408c8d
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408c7b
call fcn.0042a590
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54