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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0041024b
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0041024b
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x48d4cf
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.0041024b
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x48d4cf
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0041024b
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.0041024b
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x48d4cf
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, 1
call fcn.00410257
cmp dword [ebp - 0x20], esp
je 0x407286
push 6
call fcn.00410251
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, 0x413c20
call fcn.00410245
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407341
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, 0x413c20
call fcn.00410245
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407341
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, 0x413c20
call fcn.00410245
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407341
mov eax, 0x48d4cf
jmp 0x4083f2
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x407356
mov eax, 0x48d222
push eax
push 1
mov ebx, 0x410a50
call fcn.00410245
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 0x407382
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x48d222
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401884
add esp, 8
cmp eax, 0
jne 0x4073c1
mov eax, 0x48eab1
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4073bb
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 1
je 0x407452
cmp dword [ebp + 0x44], 1
jge 0x4073e1
mov dword [ebp + 0x44], 0x3a98
jmp 0x4073fe
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x48eab5]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401379
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 0x48eabd
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x412cf0
call fcn.00410245
add esp, 0x4c
push 0x48d222
push dword [0x4b3cd4]
call fcn.00401884
add esp, 8
cmp eax, 0
je 0x407516
push 0xa0000004
push 0
push 0x4b3cd4
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, 0x412cf0
call fcn.00410245
add esp, 0x34
push 0x48d222
push dword [0x4b3cd8]
call fcn.00401884
add esp, 8
cmp eax, 0
je 0x407516
push 0xa0000301
push 0
push 0x4b3ce0
push 0xa0000004
push 0
push 0x4b3cdc
push 0xa0000004
push 0
push 0x4b3cd8
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x412cf0
call fcn.00410245
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, 0x412cf0
call fcn.00410245
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x4075a8
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, 0x413b70
call fcn.00410245
add esp, 0x34
push 0x48d222
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401884
add esp, 8
cmp eax, 0
jne 0x4075fe
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.00401206
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 0x4075f8
push ebx
call fcn.0041022d
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.0040851f
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.00408b81
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407645
push ebx
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407655
push ebx
call fcn.0041022d
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00409095
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407674
push ebx
call fcn.0041022d
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40768a
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x48d222
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401884
add esp, 8
cmp eax, 0
je 0x4076e9
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x412cf0
call fcn.00410245
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x48d679
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40771c
mov eax, 0x48d222
push eax
push 4
mov ebx, 0x4108d0
call fcn.00410245
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407b13
push 0
push 0
push 0
push getpeername
push 0
push 0x48d679
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407763
mov eax, 0x48d222
push eax
push 3
mov ebx, 0x411080
call fcn.00410245
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 0x40779b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407797
imul eax, dword [ebx]
jmp 0x40778c
mov ecx, eax
test ecx, ecx
je 0x4077ba
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4077b3
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4077a1
call fcn.0041022d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00406e2e
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 0x407b0b
mov ebx, dword [ebp - 8]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407802
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407815
push 1
call fcn.00410251
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 0x48ebb8
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407850
mov eax, 0x48d222
push eax
push 4
mov ebx, 0x4108d0
call fcn.00410245
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407b03
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40788e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40788a
imul eax, dword [ebx]
jmp 0x40787f
mov ecx, eax
test ecx, ecx
je 0x4078ad
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4078a6
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407894
call fcn.0041022d
add esp, 4
mov eax, 0x48d4cf
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4078da
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4078ed
push 1
call fcn.00410251
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 0x48ebb8
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40791c
mov eax, 0x48d222
push eax
push 3
mov ebx, 0x411080
call fcn.00410245
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 0x407954
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407950
imul eax, dword [ebx]
jmp 0x407945
mov ecx, eax
test ecx, ecx
je 0x407973
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40796c
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40795a
call fcn.0041022d
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.00406e2e
cmp dword [ebp - 0xc], eax
jle 0x40799f
jmp 0x407a63
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 1
cmp eax, ecx
jl 0x4079bd
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 1
cmp eax, ecx
jl 0x4079e3
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407a08
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407a1b
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x48ebb8
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401206
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 0x407a58
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407986
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 0
cmp eax, ecx
jl 0x407a81
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 1
cmp eax, ecx
jl 0x407aa7
push 1
call fcn.00410251
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 0x407ac4
mov eax, 0x48d222
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407ada
mov eax, 0x48d222
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x412cf0
call fcn.00410245
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4077d7
add esp, 0xc
jmp 0x407d74
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x48ebb8
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407b46
mov eax, 0x48d222
push eax
push 4
mov ebx, 0x4108d0
call fcn.00410245
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407d74
push 0
push 0
push 0
push getpeername
push 0
push 0x48ebb8
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407b8d
mov eax, 0x48d222
push eax
push 3
mov ebx, 0x411080
call fcn.00410245
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 0x407bc5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407bc1
imul eax, dword [ebx]
jmp 0x407bb6
mov ecx, eax
test ecx, ecx
je 0x407be4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407bdd
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407bcb
call fcn.0041022d
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.00406e2e
cmp dword [ebp - 0xc], eax
jle 0x407c10
jmp 0x407cd4
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 1
cmp eax, ecx
jl 0x407c2e
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 1
cmp eax, ecx
jl 0x407c54
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407c79
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407c8c
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x48ebb8
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401206
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 0x407cc9
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407bf7
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 0
cmp eax, ecx
jl 0x407cf2
push 1
call fcn.00410251
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00406e0e
mov eax, 1
cmp eax, ecx
jl 0x407d18
push 1
call fcn.00410251
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 0x407d35
mov eax, 0x48d222
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407d4b
mov eax, 0x48d222
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x412cf0
call fcn.00410245
add esp, 0x34
mov eax, 0x48d4cf
xor ecx, ecx
test eax, eax
je 0x407d82
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 0x407d95
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x407dac
dec eax
test ecx, ecx
je 0x407dac
call fcn.004070fb
add esp, 0xc
test eax, eax
jne 0x407dee
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, 0x412cf0
call fcn.00410245
add esp, 0x28
jmp 0x407e59
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 0x407e09
mov eax, 0x48d4cf
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x4136f0
call fcn.00410245
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, 0x412cf0
call fcn.00410245
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, 0x412cc0
call fcn.00410245
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, 0x412d40
call fcn.00410245
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, 0x412d20
call fcn.00410245
add esp, 0x10
call fcn.0041022d
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407ee6
push ebx
call fcn.0041022d
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, 0x412c90
call fcn.00410245
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 0x407f31
push ebx
call fcn.0041022d
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 0x48d679
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x407f5e
mov eax, 0x48d222
push eax
push 3
mov ebx, 0x411080
call fcn.00410245
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 0x407f96
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407f92
imul eax, dword [ebx]
jmp 0x407f87
mov ecx, eax
test ecx, ecx
je 0x407fb5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407fae
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407f9c
call fcn.0041022d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x48d222
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407fd9
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00406e2e
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 0x40830b
mov ebx, dword [ebp - 0x1c]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40801b
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40802e
push 1
call fcn.00410251
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 0x408069
mov eax, 0x48d222
push eax
push 4
mov ebx, 0x4108d0
call fcn.00410245
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40816f
mov ebx, dword [ebp - 0x1c]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4080a6
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4080b9
push 1
call fcn.00410251
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.00401921
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408104
mov eax, 0x48d222
push eax
push 6
mov ebx, 0x410e90
call fcn.00410245
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40812d
mov eax, 0x48d222
push eax
push 1
mov ebx, 0x410dc0
call fcn.00410245
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408153
push ebx
call fcn.0041022d
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408169
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40818c
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40819f
push 1
call fcn.00410251
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 0x4081da
mov eax, 0x48d222
push eax
push 4
mov ebx, 0x4108d0
call fcn.00410245
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x408303
mov ebx, dword [ebp - 0x1c]
call fcn.00406e0e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408217
push 4
call fcn.00410251
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40822a
push 1
call fcn.00410251
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, 0x48ebf7
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x48ebf9
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.00409e30
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408271
push ebx
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408281
push ebx
call fcn.0041022d
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x408294
mov eax, 0x48d222
push eax
push 1
mov ebx, 0x410dc0
call fcn.00410245
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4082ba
push ebx
call fcn.0041022d
add esp, 4
push 0x48ec05
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401206
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4082e7
push ebx
call fcn.0041022d
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4082fd
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x407ff0
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00409095
mov ebx, eax
test ebx, ebx
je 0x408328
push ebx
call fcn.0041022d
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040851f
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040a081
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408362
push ebx
call fcn.0041022d
add esp, 4
push 0x48d222
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401884
add esp, 8
cmp eax, 0
jne 0x4083b4
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40839b
push eax
mov ebx, eax
call fcn.0040119b
inc eax
push eax
call fcn.0041024b
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 0x4083ae
push ebx
call fcn.0041022d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 2
call fcn.00410257
cmp dword [ebp - 0x20], esp
je 0x4083d3
push 6
call fcn.00410251
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4083ed
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0041024b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4083f2
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x413c10
call fcn.00410245
add esp, 0x10
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408434
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408430
imul eax, dword [ebx]
jmp 0x408425
mov ecx, eax
test ecx, ecx
je 0x408453
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40844c
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40843a
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408479
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408475
imul eax, dword [ebx]
jmp 0x40846a
mov ecx, eax
test ecx, ecx
je 0x408498
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408491
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40847f
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x412d20
call fcn.00410245
add esp, 0x10
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4084d3
push ebx
call fcn.0041022d
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4084f1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4084ed
imul eax, dword [ebx]
jmp 0x4084e2
mov ecx, eax
test ecx, ecx
je 0x408510
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408509
push ebx
push eax
call fcn.0041022d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4084f7
call fcn.0041022d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54