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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0040f258
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040f258
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4cae0b
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.0040f258
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4cae0b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040f258
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.0040f258
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4cae0b
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.0040f276
cmp dword [ebp - 0x20], esp
je 0x402285
push 6
call fcn.0040f270
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, 0x4132b0
call fcn.0040f252
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4022ca
mov eax, 0x4cae0b
jmp 0x4032bb
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4022df
mov eax, 0x4cae28
push eax
push 1
mov ebx, 0x40faa0
call fcn.0040f252
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 0x40230b
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4cae28
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004017de
add esp, 8
cmp eax, 0
jne 0x40234a
mov eax, 0x4caec4
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402344
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4023db
cmp dword [ebp + 0x44], 1
jge 0x40236a
mov dword [ebp + 0x44], 0x3a98
jmp 0x402387
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4caec8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040134d
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 0x4caed0
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x412290
call fcn.0040f252
add esp, 0x4c
push 0x4cae28
push dword [0x4fc204]
call fcn.004017de
add esp, 8
cmp eax, 0
je 0x40249f
push 0xa0000004
push 0
push 0x4fc204
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, 0x412290
call fcn.0040f252
add esp, 0x34
push 0x4cae28
push dword [0x4fc208]
call fcn.004017de
add esp, 8
cmp eax, 0
je 0x40249f
push 0xa0000301
push 0
push 0x4fc210
push 0xa0000004
push 0
push 0x4fc20c
push 0xa0000004
push 0
push 0x4fc208
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x412290
call fcn.0040f252
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, 0x412290
call fcn.0040f252
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x402531
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, 0x4131b0
call fcn.0040f252
add esp, 0x34
push 0x4cae28
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004017de
add esp, 8
cmp eax, 0
jne 0x402587
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.00401524
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 0x402581
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4cae28
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004017de
add esp, 8
cmp eax, 0
je 0x4025e0
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, 0x412290
call fcn.0040f252
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4caea6
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402613
mov eax, 0x4cae28
push eax
push 4
mov ebx, 0x40f920
call fcn.0040f252
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402a0a
push 0
push 0
push 0
push getpeername
push 0
push 0x4caea6
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40265a
mov eax, 0x4cae28
push eax
push 3
mov ebx, 0x4100d0
call fcn.0040f252
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 0x402692
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40268e
imul eax, dword [ebx]
jmp 0x402683
mov ecx, eax
test ecx, ecx
je 0x4026b1
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4026aa
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402698
call fcn.0040f25e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0040218d
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 0x402a02
mov ebx, dword [ebp - 8]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4026f9
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40270c
push 1
call fcn.0040f270
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 0x4cafcb
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402747
mov eax, 0x4cae28
push eax
push 4
mov ebx, 0x40f920
call fcn.0040f252
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4029fa
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402785
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402781
imul eax, dword [ebx]
jmp 0x402776
mov ecx, eax
test ecx, ecx
je 0x4027a4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40279d
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40278b
call fcn.0040f25e
add esp, 4
mov eax, 0x4cae0b
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4027d1
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4027e4
push 1
call fcn.0040f270
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 0x4cafcb
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402813
mov eax, 0x4cae28
push eax
push 3
mov ebx, 0x4100d0
call fcn.0040f252
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 0x40284b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402847
imul eax, dword [ebx]
jmp 0x40283c
mov ecx, eax
test ecx, ecx
je 0x40286a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402863
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402851
call fcn.0040f25e
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.0040218d
cmp dword [ebp - 0xc], eax
jle 0x402896
jmp 0x40295a
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 1
cmp eax, ecx
jl 0x4028b4
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 1
cmp eax, ecx
jl 0x4028da
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4028ff
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402912
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4cafcb
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401524
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 0x40294f
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40287d
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 0
cmp eax, ecx
jl 0x402978
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 1
cmp eax, ecx
jl 0x40299e
push 1
call fcn.0040f270
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 0x4029bb
mov eax, 0x4cae28
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4029d1
mov eax, 0x4cae28
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x412290
call fcn.0040f252
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4026ce
add esp, 0xc
jmp 0x402c6b
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4cafcb
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402a3d
mov eax, 0x4cae28
push eax
push 4
mov ebx, 0x40f920
call fcn.0040f252
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402c6b
push 0
push 0
push 0
push getpeername
push 0
push 0x4cafcb
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402a84
mov eax, 0x4cae28
push eax
push 3
mov ebx, 0x4100d0
call fcn.0040f252
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 0x402abc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402ab8
imul eax, dword [ebx]
jmp 0x402aad
mov ecx, eax
test ecx, ecx
je 0x402adb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402ad4
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402ac2
call fcn.0040f25e
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.0040218d
cmp dword [ebp - 0xc], eax
jle 0x402b07
jmp 0x402bcb
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 1
cmp eax, ecx
jl 0x402b25
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 1
cmp eax, ecx
jl 0x402b4b
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402b70
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402b83
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4cafcb
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401524
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 0x402bc0
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x402aee
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 0
cmp eax, ecx
jl 0x402be9
push 1
call fcn.0040f270
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040104f
mov eax, 1
cmp eax, ecx
jl 0x402c0f
push 1
call fcn.0040f270
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 0x402c2c
mov eax, 0x4cae28
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402c42
mov eax, 0x4cae28
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x412290
call fcn.0040f252
add esp, 0x34
mov eax, 0x4cae0b
xor ecx, ecx
test eax, eax
je 0x402c79
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 0x402c8c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402ca3
dec eax
test ecx, ecx
je 0x402ca3
call fcn.0040122d
add esp, 0xc
test eax, eax
jne 0x402ce5
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, 0x412290
call fcn.0040f252
add esp, 0x28
jmp 0x402d50
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 0x402d00
mov eax, 0x4cae0b
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x412d10
call fcn.0040f252
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, 0x412290
call fcn.0040f252
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, 0x412260
call fcn.0040f252
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, 0x412360
call fcn.0040f252
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, 0x412320
call fcn.0040f252
add esp, 0x10
call fcn.0040f25e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402ddd
push ebx
call fcn.0040f25e
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, 0x4121d0
call fcn.0040f252
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 0x402e28
push ebx
call fcn.0040f25e
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 0x4caea6
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x402e55
mov eax, 0x4cae28
push eax
push 3
mov ebx, 0x4100d0
call fcn.0040f252
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 0x402e8d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402e89
imul eax, dword [ebx]
jmp 0x402e7e
mov ecx, eax
test ecx, ecx
je 0x402eac
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402ea5
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402e93
call fcn.0040f25e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4cae28
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402ed0
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040218d
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 0x40320e
mov ebx, dword [ebp - 0x1c]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402f12
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402f25
push 1
call fcn.0040f270
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 0x402f60
mov eax, 0x4cae28
push eax
push 4
mov ebx, 0x40f920
call fcn.0040f252
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403066
mov ebx, dword [ebp - 0x1c]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402f9d
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402fb0
push 1
call fcn.0040f270
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.00401938
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402ffb
mov eax, 0x4cae28
push eax
push 6
mov ebx, 0x40fee0
call fcn.0040f252
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x403024
mov eax, 0x4cae28
push eax
push 1
mov ebx, 0x40fe10
call fcn.0040f252
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40304a
push ebx
call fcn.0040f25e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403060
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403083
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403096
push 1
call fcn.0040f270
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 0x4030d1
mov eax, 0x4cae28
push eax
push 4
mov ebx, 0x40f920
call fcn.0040f252
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403206
mov ebx, dword [ebp - 0x1c]
call fcn.0040104f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40310e
push 4
call fcn.0040f270
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403121
push 1
call fcn.0040f270
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, 0x4cb00a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4cb00c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.004033e8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403174
push ebx
call fcn.0040f25e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403184
push ebx
call fcn.0040f25e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403197
mov eax, 0x4cae28
push eax
push 1
mov ebx, 0x40fe10
call fcn.0040f252
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4031bd
push ebx
call fcn.0040f25e
add esp, 4
push 0x4cb018
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401524
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4031ea
push ebx
call fcn.0040f25e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403200
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x402ee7
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004037d6
mov ebx, eax
test ebx, ebx
je 0x40322b
push ebx
call fcn.0040f25e
add esp, 4
push 0x4cae28
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004017de
add esp, 8
cmp eax, 0
jne 0x40327d
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x403264
push eax
mov ebx, eax
call fcn.004014b9
inc eax
push eax
call fcn.0040f258
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 0x403277
push ebx
call fcn.0040f25e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 2
call fcn.0040f276
cmp dword [ebp - 0x20], esp
je 0x40329c
push 6
call fcn.0040f270
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4032b6
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040f258
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4032bb
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x413280
call fcn.0040f252
add esp, 0x10
call fcn.0040f25e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4032fd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4032f9
imul eax, dword [ebx]
jmp 0x4032ee
mov ecx, eax
test ecx, ecx
je 0x40331c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403315
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403303
call fcn.0040f25e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403342
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40333e
imul eax, dword [ebx]
jmp 0x403333
mov ecx, eax
test ecx, ecx
je 0x403361
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40335a
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403348
call fcn.0040f25e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x412320
call fcn.0040f252
add esp, 0x10
call fcn.0040f25e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40339c
push ebx
call fcn.0040f25e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4033ba
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4033b6
imul eax, dword [ebx]
jmp 0x4033ab
mov ecx, eax
test ecx, ecx
je 0x4033d9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4033d2
push ebx
push eax
call fcn.0040f25e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4033c0
call fcn.0040f25e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54