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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00413722
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00413722
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4f7333
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.00413722
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4f7333
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00413722
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.00413722
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4f7333
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, 0xc
call fcn.0041374c
cmp dword [ebp - 0x20], esp
je 0x407591
push 6
call fcn.00413740
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4179a0
call fcn.00413734
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40764c
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4179a0
call fcn.00413734
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40764c
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4179a0
call fcn.00413734
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40764c
mov eax, 0x4f7333
jmp 0x4086fd
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x407661
mov eax, 0x4f72ce
push eax
push 1
mov ebx, 0x413ff0
call fcn.00413734
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 0x40768d
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4f72ce
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401363
add esp, 8
cmp eax, 0
jne 0x4076cc
mov eax, 0x4f7435
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4076c6
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 1
je 0x40775d
cmp dword [ebp + 0x44], 1
jge 0x4076ec
mov dword [ebp + 0x44], 0x3a98
jmp 0x407709
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4f73b6]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402229
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 getpeername
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x416990
call fcn.00413734
add esp, 0x4c
push 0x4f72ce
push dword [0x52e23c]
call fcn.00401363
add esp, 8
cmp eax, 0
je 0x407821
push 0xa0000004
push 0
push 0x52e23c
push 0x80000301
push 0
push 2
push getpeername
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416990
call fcn.00413734
add esp, 0x34
push 0x4f72ce
push dword [0x52e240]
call fcn.00401363
add esp, 8
cmp eax, 0
je 0x407821
push 0xa0000301
push 0
push 0x52e248
push 0xa0000004
push 0
push 0x52e244
push 0xa0000004
push 0
push 0x52e240
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x416990
call fcn.00413734
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 getpeername
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x416990
call fcn.00413734
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x4078b3
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4178f0
call fcn.00413734
add esp, 0x34
push 0x4f72ce
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401363
add esp, 8
cmp eax, 0
jne 0x407909
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.0040113a
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 0x407903
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040882a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408e8c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407950
push ebx
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407960
push ebx
call fcn.00413728
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004093a0
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40797f
push ebx
call fcn.00413728
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407995
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4f72ce
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401363
add esp, 8
cmp eax, 0
je 0x4079f4
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push 0x4f751c
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416990
call fcn.00413734
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4f71e0
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407a27
mov eax, 0x4f72ce
push eax
push 4
mov ebx, 0x413e60
call fcn.00413734
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407e1e
push 0
push 0
push 0
push getpeername
push 0
push 0x4f71e0
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407a6e
mov eax, 0x4f72ce
push eax
push 3
mov ebx, 0x414790
call fcn.00413734
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 0x407aa6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407aa2
imul eax, dword [ebx]
jmp 0x407a97
mov ecx, eax
test ecx, ecx
je 0x407ac5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407abe
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407aac
call fcn.00413728
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401e9b
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 0x407e16
mov ebx, dword [ebp - 8]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407b0d
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407b20
push 1
call fcn.00413740
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 getpeername
push 0
push 0x4f7534
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407b5b
mov eax, 0x4f72ce
push eax
push 4
mov ebx, 0x413e60
call fcn.00413734
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407e0e
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407b99
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407b95
imul eax, dword [ebx]
jmp 0x407b8a
mov ecx, eax
test ecx, ecx
je 0x407bb8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407bb1
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407b9f
call fcn.00413728
add esp, 4
mov eax, 0x4f7333
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407be5
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407bf8
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x4f7534
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407c27
mov eax, 0x4f72ce
push eax
push 3
mov ebx, 0x414790
call fcn.00413734
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 0x407c5f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407c5b
imul eax, dword [ebx]
jmp 0x407c50
mov ecx, eax
test ecx, ecx
je 0x407c7e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407c77
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407c65
call fcn.00413728
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.00401e9b
cmp dword [ebp - 0xc], eax
jle 0x407caa
jmp 0x407d6e
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 1
cmp eax, ecx
jl 0x407cc8
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 1
cmp eax, ecx
jl 0x407cee
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407d13
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407d26
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4f7534
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040113a
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 0x407d63
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407c91
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 0
cmp eax, ecx
jl 0x407d8c
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 1
cmp eax, ecx
jl 0x407db2
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x407dcf
mov eax, 0x4f72ce
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407de5
mov eax, 0x4f72ce
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416990
call fcn.00413734
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x407ae2
add esp, 0xc
jmp 0x40807f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4f7534
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407e51
mov eax, 0x4f72ce
push eax
push 4
mov ebx, 0x413e60
call fcn.00413734
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40807f
push 0
push 0
push 0
push getpeername
push 0
push 0x4f7534
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407e98
mov eax, 0x4f72ce
push eax
push 3
mov ebx, 0x414790
call fcn.00413734
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 0x407ed0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407ecc
imul eax, dword [ebx]
jmp 0x407ec1
mov ecx, eax
test ecx, ecx
je 0x407eef
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407ee8
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407ed6
call fcn.00413728
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.00401e9b
cmp dword [ebp - 0xc], eax
jle 0x407f1b
jmp 0x407fdf
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 1
cmp eax, ecx
jl 0x407f39
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 1
cmp eax, ecx
jl 0x407f5f
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407f84
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407f97
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4f7534
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040113a
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 0x407fd4
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407f02
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 0
cmp eax, ecx
jl 0x407ffd
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401eb4
mov eax, 1
cmp eax, ecx
jl 0x408023
push 1
call fcn.00413740
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408040
mov eax, 0x4f72ce
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408056
mov eax, 0x4f72ce
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416990
call fcn.00413734
add esp, 0x34
mov eax, 0x4f7333
xor ecx, ecx
test eax, eax
je 0x40808d
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 0x4080a0
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4080b7
dec eax
test ecx, ecx
je 0x4080b7
call fcn.00407406
add esp, 0xc
test eax, eax
jne 0x4080f9
push 0xa0000004
push 0
push dword [ebp + 0x14]
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x416990
call fcn.00413734
add esp, 0x28
jmp 0x408164
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 0x408114
mov eax, 0x4f7333
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x4173f0
call fcn.00413734
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x416990
call fcn.00413734
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x416960
call fcn.00413734
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, 0x416a40
call fcn.00413734
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, 0x416a20
call fcn.00413734
add esp, 0x10
call fcn.00413728
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4081f1
push ebx
call fcn.00413728
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x416930
call fcn.00413734
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 0x40823c
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x4f71e0
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x408269
mov eax, 0x4f72ce
push eax
push 3
mov ebx, 0x414790
call fcn.00413734
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 0x4082a1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40829d
imul eax, dword [ebx]
jmp 0x408292
mov ecx, eax
test ecx, ecx
je 0x4082c0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4082b9
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4082a7
call fcn.00413728
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4f72ce
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4082e4
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401e9b
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 0x408616
mov ebx, dword [ebp - 0x1c]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408326
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408339
push 1
call fcn.00413740
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 getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408374
mov eax, 0x4f72ce
push eax
push 4
mov ebx, 0x413e60
call fcn.00413734
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40847a
mov ebx, dword [ebp - 0x1c]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4083b1
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4083c4
push 1
call fcn.00413740
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.0040260b
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40840f
mov eax, 0x4f72ce
push eax
push 6
mov ebx, 0x4145a0
call fcn.00413734
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x408438
mov eax, 0x4f72ce
push eax
push 1
mov ebx, 0x4144b0
call fcn.00413734
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40845e
push ebx
call fcn.00413728
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408474
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408497
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4084aa
push 1
call fcn.00413740
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 getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4084e5
mov eax, 0x4f72ce
push eax
push 4
mov ebx, 0x413e60
call fcn.00413734
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40860e
mov ebx, dword [ebp - 0x1c]
call fcn.00401eb4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408522
push 4
call fcn.00413740
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408535
push 1
call fcn.00413740
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, 0x4f73d7
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.0040a13b
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40857c
push ebx
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40858c
push ebx
call fcn.00413728
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40859f
mov eax, 0x4f72ce
push eax
push 1
mov ebx, 0x4144b0
call fcn.00413734
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4085c5
push ebx
call fcn.00413728
add esp, 4
push 0x4f757f
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040113a
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4085f2
push ebx
call fcn.00413728
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408608
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4082fb
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004093a0
mov ebx, eax
test ebx, ebx
je 0x408633
push ebx
call fcn.00413728
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040882a
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040a38c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40866d
push ebx
call fcn.00413728
add esp, 4
push 0x4f72ce
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401363
add esp, 8
cmp eax, 0
jne 0x4086bf
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x4086a6
push eax
mov ebx, eax
call fcn.004010cf
inc eax
push eax
call fcn.00413722
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 0x4086b9
push ebx
call fcn.00413728
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0xd
call fcn.0041374c
cmp dword [ebp - 0x20], esp
je 0x4086de
push 6
call fcn.00413740
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4086f8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00413722
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4086fd
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x417990
call fcn.00413734
add esp, 0x10
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40873f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40873b
imul eax, dword [ebx]
jmp 0x408730
mov ecx, eax
test ecx, ecx
je 0x40875e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408757
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408745
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408784
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408780
imul eax, dword [ebx]
jmp 0x408775
mov ecx, eax
test ecx, ecx
je 0x4087a3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40879c
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40878a
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x416a20
call fcn.00413734
add esp, 0x10
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4087de
push ebx
call fcn.00413728
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4087fc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4087f8
imul eax, dword [ebx]
jmp 0x4087ed
mov ecx, eax
test ecx, ecx
je 0x40881b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408814
push ebx
push eax
call fcn.00413728
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408802
call fcn.00413728
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54