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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00419f78
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00419f78
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x49c82b
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.00419f78
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x49c82b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00419f78
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.00419f78
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x49c82b
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, 0x14
call fcn.00419f96
cmp dword [ebp - 0x20], esp
je 0x40a850
push 6
call fcn.00419f8a
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, 0x41f050
call fcn.00419f7e
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40a895
mov eax, 0x49c82b
jmp 0x40b874
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40a8aa
mov eax, 0x49c762
push eax
push 1
mov ebx, 0x41a910
call fcn.00419f7e
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 0x40a8d6
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x49c762
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004017c7
add esp, 8
cmp eax, 0
jne 0x40a915
mov eax, 0x49ca3b
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a90f
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x40a9a6
cmp dword [ebp + 0x44], 1
jge 0x40a935
mov dword [ebp + 0x44], 0x3a98
jmp 0x40a952
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x49ca44]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401233
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 0x49ca4c
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x41dff0
call fcn.00419f7e
add esp, 0x4c
push 0x49c762
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.004017c7
add esp, 8
cmp eax, 0
je 0x40aa72
push 0xa0000004
push 0
push dword [ebp + 0x4c]
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, 0x41dff0
call fcn.00419f7e
add esp, 0x34
push 0x49c762
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.004017c7
add esp, 8
cmp eax, 0
je 0x40aa72
cmp dword [ebp + 0x68], 0
jne 0x40aa2b
mov dword [ebp + 0x64], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x64]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x5c]
push 0xa0000004
push 0
push dword [ebp + 0x54]
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x41dff0
call fcn.00419f7e
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, 0x41dff0
call fcn.00419f7e
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40ab04
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, 0x41ef50
call fcn.00419f7e
add esp, 0x34
push 0x49c762
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004017c7
add esp, 8
cmp eax, 0
jne 0x40ab5a
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.0040119f
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 0x40ab54
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x49c762
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004017c7
add esp, 8
cmp eax, 0
je 0x40abb3
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, 0x41dff0
call fcn.00419f7e
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc15
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40abe6
mov eax, 0x49c762
push eax
push 4
mov ebx, 0x41a790
call fcn.00419f7e
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40afdd
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc15
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40ac2d
mov eax, 0x49c762
push eax
push 3
mov ebx, 0x41b0d0
call fcn.00419f7e
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 0x40ac65
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ac61
imul eax, dword [ebx]
jmp 0x40ac56
mov ecx, eax
test ecx, ecx
je 0x40ac84
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ac7d
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ac6b
call fcn.00419f84
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004022ab
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 0x40afd5
mov ebx, dword [ebp - 8]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40accc
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40acdf
push 1
call fcn.00419f8a
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 0x49cc18
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40ad1a
mov eax, 0x49c762
push eax
push 4
mov ebx, 0x41a790
call fcn.00419f7e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40afcd
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ad58
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ad54
imul eax, dword [ebx]
jmp 0x40ad49
mov ecx, eax
test ecx, ecx
je 0x40ad77
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ad70
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ad5e
call fcn.00419f84
add esp, 4
mov eax, 0x49c82b
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40ada4
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40adb7
push 1
call fcn.00419f8a
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 0x49cc18
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40ade6
mov eax, 0x49c762
push eax
push 3
mov ebx, 0x41b0d0
call fcn.00419f7e
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 0x40ae1e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ae1a
imul eax, dword [ebx]
jmp 0x40ae0f
mov ecx, eax
test ecx, ecx
je 0x40ae3d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ae36
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ae24
call fcn.00419f84
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.004022ab
cmp dword [ebp - 0xc], eax
jle 0x40ae69
jmp 0x40af2d
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 1
cmp eax, ecx
jl 0x40ae87
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 1
cmp eax, ecx
jl 0x40aead
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40aed2
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40aee5
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x49cc18
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040119f
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 0x40af22
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40ae50
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 0
cmp eax, ecx
jl 0x40af4b
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 1
cmp eax, ecx
jl 0x40af71
push 1
call fcn.00419f8a
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 0x40af8e
mov eax, 0x49c762
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40afa4
mov eax, 0x49c762
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41dff0
call fcn.00419f7e
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40aca1
add esp, 0xc
jmp 0x40b23e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc18
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b010
mov eax, 0x49c762
push eax
push 4
mov ebx, 0x41a790
call fcn.00419f7e
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40b23e
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc18
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b057
mov eax, 0x49c762
push eax
push 3
mov ebx, 0x41b0d0
call fcn.00419f7e
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 0x40b08f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b08b
imul eax, dword [ebx]
jmp 0x40b080
mov ecx, eax
test ecx, ecx
je 0x40b0ae
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b0a7
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b095
call fcn.00419f84
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.004022ab
cmp dword [ebp - 0xc], eax
jle 0x40b0da
jmp 0x40b19e
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 1
cmp eax, ecx
jl 0x40b0f8
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 1
cmp eax, ecx
jl 0x40b11e
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b143
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b156
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x49cc18
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040119f
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 0x40b193
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40b0c1
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 0
cmp eax, ecx
jl 0x40b1bc
push 1
call fcn.00419f8a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004022c4
mov eax, 1
cmp eax, ecx
jl 0x40b1e2
push 1
call fcn.00419f8a
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 0x40b1ff
mov eax, 0x49c762
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40b215
mov eax, 0x49c762
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41dff0
call fcn.00419f7e
add esp, 0x34
mov eax, 0x49c82b
xor ecx, ecx
test eax, eax
je 0x40b24c
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40b25f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40b276
dec eax
test ecx, ecx
je 0x40b276
call fcn.004022e4
add esp, 0xc
test eax, eax
jne 0x40b2b8
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, 0x41dff0
call fcn.00419f7e
add esp, 0x28
jmp 0x40b323
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40b2d3
mov eax, 0x49c82b
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x41ead0
call fcn.00419f7e
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, 0x41dff0
call fcn.00419f7e
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, 0x41dfc0
call fcn.00419f7e
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, 0x41e120
call fcn.00419f7e
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, 0x41e0e0
call fcn.00419f7e
add esp, 0x10
call fcn.00419f84
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b3b0
push ebx
call fcn.00419f84
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, 0x41df30
call fcn.00419f7e
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x6c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b3fb
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0x6c]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc15
push getpeername
push 0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b428
mov eax, 0x49c762
push eax
push 3
mov ebx, 0x41b0d0
call fcn.00419f7e
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 0x40b460
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b45c
imul eax, dword [ebx]
jmp 0x40b451
mov ecx, eax
test ecx, ecx
je 0x40b47f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b478
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b466
call fcn.00419f84
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x49c762
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b4a3
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004022ab
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 0x40b7e1
mov ebx, dword [ebp - 0x1c]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b4e5
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b4f8
push 1
call fcn.00419f8a
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 0x40b533
mov eax, 0x49c762
push eax
push 4
mov ebx, 0x41a790
call fcn.00419f7e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40b639
mov ebx, dword [ebp - 0x1c]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b570
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b583
push 1
call fcn.00419f8a
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.0040178b
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40b5ce
mov eax, 0x49c762
push eax
push 6
mov ebx, 0x41aee0
call fcn.00419f7e
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40b5f7
mov eax, 0x49c762
push eax
push 1
mov ebx, 0x41ae10
call fcn.00419f7e
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b61d
push ebx
call fcn.00419f84
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b633
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b656
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b669
push 1
call fcn.00419f8a
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 0x40b6a4
mov eax, 0x49c762
push eax
push 4
mov ebx, 0x41a790
call fcn.00419f7e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40b7d9
mov ebx, dword [ebp - 0x1c]
call fcn.004022c4
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b6e1
push 4
call fcn.00419f8a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b6f4
push 1
call fcn.00419f8a
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 dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x49cc57
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x49cc59
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.0040b9a1
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b747
push ebx
call fcn.00419f84
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b757
push ebx
call fcn.00419f84
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40b76a
mov eax, 0x49c762
push eax
push 1
mov ebx, 0x41ae10
call fcn.00419f7e
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b790
push ebx
call fcn.00419f84
add esp, 4
push 0x49cc65
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040119f
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b7bd
push ebx
call fcn.00419f84
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b7d3
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40b4ba
add esp, 0xc
push 0x49c762
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004017c7
add esp, 8
cmp eax, 0
jne 0x40b836
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
je 0x40b81d
push eax
mov ebx, eax
call fcn.00401134
inc eax
push eax
call fcn.00419f78
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 0x40b830
push ebx
call fcn.00419f84
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x15
call fcn.00419f96
cmp dword [ebp - 0x20], esp
je 0x40b855
push 6
call fcn.00419f8a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b86f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00419f78
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b874
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41f020
call fcn.00419f7e
add esp, 0x10
call fcn.00419f84
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b8b6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b8b2
imul eax, dword [ebx]
jmp 0x40b8a7
mov ecx, eax
test ecx, ecx
je 0x40b8d5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b8ce
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b8bc
call fcn.00419f84
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b8fb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b8f7
imul eax, dword [ebx]
jmp 0x40b8ec
mov ecx, eax
test ecx, ecx
je 0x40b91a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b913
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b901
call fcn.00419f84
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41e0e0
call fcn.00419f7e
add esp, 0x10
call fcn.00419f84
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b955
push ebx
call fcn.00419f84
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b973
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b96f
imul eax, dword [ebx]
jmp 0x40b964
mov ecx, eax
test ecx, ecx
je 0x40b992
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b98b
push ebx
push eax
call fcn.00419f84
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b979
call fcn.00419f84
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74