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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0040c905
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040c905
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x483cd5
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.0040c905
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x483cd5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040c905
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.0040c905
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x483cd5
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, 0
call fcn.0040c917
cmp dword [ebp - 0x20], esp
je 0x40247b
push 6
call fcn.0040c911
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, 0x40f580
call fcn.0040c90b
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4024c0
mov eax, 0x483cd5
jmp 0x40349f
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4024d5
mov eax, 0x483c8c
push eax
push 1
mov ebx, 0x40d340
call fcn.0040c90b
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 0x402501
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x483c8c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040224b
add esp, 8
cmp eax, 0
jne 0x402540
mov eax, 0x483dd3
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40253a
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4025d1
cmp dword [ebp + 0x44], 1
jge 0x402560
mov dword [ebp + 0x44], 0x3a98
jmp 0x40257d
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x483da2]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004013ba
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, 0x40e650
call fcn.0040c90b
add esp, 0x4c
push 0x483c8c
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.0040224b
add esp, 8
cmp eax, 0
je 0x40269d
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, 0x40e650
call fcn.0040c90b
add esp, 0x34
push 0x483c8c
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.0040224b
add esp, 8
cmp eax, 0
je 0x40269d
cmp dword [ebp + 0x68], 0
jne 0x402656
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, 0x40e650
call fcn.0040c90b
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, 0x40e650
call fcn.0040c90b
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40272f
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, 0x40f4d0
call fcn.0040c90b
add esp, 0x34
push 0x483c8c
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040224b
add esp, 8
cmp eax, 0
jne 0x402785
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.0040135e
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 0x40277f
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x483c8c
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040224b
add esp, 8
cmp eax, 0
je 0x4027de
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, 0x40e650
call fcn.0040c90b
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x483ed2
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402811
mov eax, 0x483c8c
push eax
push 4
mov ebx, 0x40d1c0
call fcn.0040c90b
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402c08
push 0
push 0
push 0
push getpeername
push 0
push 0x483ed2
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402858
mov eax, 0x483c8c
push eax
push 3
mov ebx, 0x40d870
call fcn.0040c90b
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 0x402890
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40288c
imul eax, dword [ebx]
jmp 0x402881
mov ecx, eax
test ecx, ecx
je 0x4028af
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4028a8
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402896
call fcn.0040c8ff
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401048
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 0x402c00
mov ebx, dword [ebp - 8]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4028f7
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40290a
push 1
call fcn.0040c911
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 0x483ed5
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402945
mov eax, 0x483c8c
push eax
push 4
mov ebx, 0x40d1c0
call fcn.0040c90b
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402bf8
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402983
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40297f
imul eax, dword [ebx]
jmp 0x402974
mov ecx, eax
test ecx, ecx
je 0x4029a2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40299b
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402989
call fcn.0040c8ff
add esp, 4
mov eax, 0x483cd5
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4029cf
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4029e2
push 1
call fcn.0040c911
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 0x483ed5
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402a11
mov eax, 0x483c8c
push eax
push 3
mov ebx, 0x40d870
call fcn.0040c90b
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 0x402a49
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402a45
imul eax, dword [ebx]
jmp 0x402a3a
mov ecx, eax
test ecx, ecx
je 0x402a68
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402a61
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402a4f
call fcn.0040c8ff
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.00401048
cmp dword [ebp - 0xc], eax
jle 0x402a94
jmp 0x402b58
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 1
cmp eax, ecx
jl 0x402ab2
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 1
cmp eax, ecx
jl 0x402ad8
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402afd
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402b10
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x483ed5
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040135e
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 0x402b4d
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x402a7b
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 0
cmp eax, ecx
jl 0x402b76
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 1
cmp eax, ecx
jl 0x402b9c
push 1
call fcn.0040c911
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 0x402bb9
mov eax, 0x483c8c
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402bcf
mov eax, 0x483c8c
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40e650
call fcn.0040c90b
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4028cc
add esp, 0xc
jmp 0x402e69
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x483ed5
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402c3b
mov eax, 0x483c8c
push eax
push 4
mov ebx, 0x40d1c0
call fcn.0040c90b
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402e69
push 0
push 0
push 0
push getpeername
push 0
push 0x483ed5
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402c82
mov eax, 0x483c8c
push eax
push 3
mov ebx, 0x40d870
call fcn.0040c90b
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 0x402cba
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402cb6
imul eax, dword [ebx]
jmp 0x402cab
mov ecx, eax
test ecx, ecx
je 0x402cd9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402cd2
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402cc0
call fcn.0040c8ff
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.00401048
cmp dword [ebp - 0xc], eax
jle 0x402d05
jmp 0x402dc9
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 1
cmp eax, ecx
jl 0x402d23
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 1
cmp eax, ecx
jl 0x402d49
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402d6e
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402d81
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x483ed5
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040135e
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 0x402dbe
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x402cec
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 0
cmp eax, ecx
jl 0x402de7
push 1
call fcn.0040c911
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401061
mov eax, 1
cmp eax, ecx
jl 0x402e0d
push 1
call fcn.0040c911
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 0x402e2a
mov eax, 0x483c8c
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402e40
mov eax, 0x483c8c
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40e650
call fcn.0040c90b
add esp, 0x34
mov eax, 0x483cd5
xor ecx, ecx
test eax, eax
je 0x402e77
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 0x402e8a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402ea1
dec eax
test ecx, ecx
je 0x402ea1
call fcn.004022e8
add esp, 0xc
test eax, eax
jne 0x402ee3
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, 0x40e650
call fcn.0040c90b
add esp, 0x28
jmp 0x402f4e
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 0x402efe
mov eax, 0x483cd5
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40f050
call fcn.0040c90b
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, 0x40e650
call fcn.0040c90b
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, 0x40e620
call fcn.0040c90b
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, 0x40e6a0
call fcn.0040c90b
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, 0x40e680
call fcn.0040c90b
add esp, 0x10
call fcn.0040c8ff
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402fdb
push ebx
call fcn.0040c8ff
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, 0x40e5f0
call fcn.0040c90b
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 0x403026
push ebx
call fcn.0040c8ff
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 0x483ed2
push getpeername
push 0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x403053
mov eax, 0x483c8c
push eax
push 3
mov ebx, 0x40d870
call fcn.0040c90b
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 0x40308b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403087
imul eax, dword [ebx]
jmp 0x40307c
mov ecx, eax
test ecx, ecx
je 0x4030aa
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4030a3
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403091
call fcn.0040c8ff
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x483c8c
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4030ce
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401048
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 0x40340c
mov ebx, dword [ebp - 0x1c]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403110
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403123
push 1
call fcn.0040c911
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 0x40315e
mov eax, 0x483c8c
push eax
push 4
mov ebx, 0x40d1c0
call fcn.0040c90b
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403264
mov ebx, dword [ebp - 0x1c]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40319b
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4031ae
push 1
call fcn.0040c911
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.00402394
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4031f9
mov eax, 0x483c8c
push eax
push 6
mov ebx, 0x40d680
call fcn.0040c90b
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x403222
mov eax, 0x483c8c
push eax
push 1
mov ebx, 0x40d660
call fcn.0040c90b
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403248
push ebx
call fcn.0040c8ff
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40325e
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403281
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403294
push 1
call fcn.0040c911
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 0x4032cf
mov eax, 0x483c8c
push eax
push 4
mov ebx, 0x40d1c0
call fcn.0040c90b
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403404
mov ebx, dword [ebp - 0x1c]
call fcn.00401061
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40330c
push 4
call fcn.0040c911
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40331f
push 1
call fcn.0040c911
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, 0x483f14
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.004035cc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403372
push ebx
call fcn.0040c8ff
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403382
push ebx
call fcn.0040c8ff
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403395
mov eax, 0x483c8c
push eax
push 1
mov ebx, 0x40d660
call fcn.0040c90b
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4033bb
push ebx
call fcn.0040c8ff
add esp, 4
push 0x483f22
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040135e
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4033e8
push ebx
call fcn.0040c8ff
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4033fe
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4030e5
add esp, 0xc
push 0x483c8c
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040224b
add esp, 8
cmp eax, 0
jne 0x403461
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
je 0x403448
push eax
mov ebx, eax
call fcn.004012f3
inc eax
push eax
call fcn.0040c905
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 0x40345b
push ebx
call fcn.0040c8ff
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.0040c917
cmp dword [ebp - 0x20], esp
je 0x403480
push 6
call fcn.0040c911
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40349a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040c905
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40349f
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40f570
call fcn.0040c90b
add esp, 0x10
call fcn.0040c8ff
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4034e1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4034dd
imul eax, dword [ebx]
jmp 0x4034d2
mov ecx, eax
test ecx, ecx
je 0x403500
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4034f9
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4034e7
call fcn.0040c8ff
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403526
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403522
imul eax, dword [ebx]
jmp 0x403517
mov ecx, eax
test ecx, ecx
je 0x403545
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40353e
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40352c
call fcn.0040c8ff
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40e680
call fcn.0040c90b
add esp, 0x10
call fcn.0040c8ff
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403580
push ebx
call fcn.0040c8ff
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40359e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40359a
imul eax, dword [ebx]
jmp 0x40358f
mov ecx, eax
test ecx, ecx
je 0x4035bd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4035b6
push ebx
push eax
call fcn.0040c8ff
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4035a4
call fcn.0040c8ff
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74