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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00413391
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00413391
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4b74d9
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.00413391
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4b74d9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00413391
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.00413391
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4b74d9
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.004133b5
cmp dword [ebp - 0x20], esp
je 0x401e66
push 6
call fcn.0041339d
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, 0x416500
call fcn.004133a9
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401eab
mov eax, 0x4b74d9
jmp 0x402f68
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x401ec0
mov eax, 0x4b7148
push eax
push 1
mov ebx, 0x413d10
call fcn.004133a9
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 0x401eec
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4b7148
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
jne 0x401f2b
mov eax, 0x4b74fc
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401f25
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x401fbc
cmp dword [ebp + 0x44], 1
jge 0x401f4b
mov dword [ebp + 0x44], 0x3a98
jmp 0x401f68
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4b7500]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401c7b
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 0x4b7508
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x4155e0
call fcn.004133a9
add esp, 0x4c
push 0x4b7148
push dword [0xa7e83c]
call fcn.0040103e
add esp, 8
cmp eax, 0
je 0x402080
push 0xa0000004
push 0
push 0xa7e83c
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, 0x4155e0
call fcn.004133a9
add esp, 0x34
push 0x4b7148
push dword [0xa7e840]
call fcn.0040103e
add esp, 8
cmp eax, 0
je 0x402080
push 0xa0000301
push 0
push 0xa7e848
push 0xa0000004
push 0
push 0xa7e844
push 0xa0000004
push 0
push 0xa7e840
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x4155e0
call fcn.004133a9
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, 0x4155e0
call fcn.004133a9
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x402112
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, 0x416450
call fcn.004133a9
add esp, 0x34
push 0x4b7148
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
jne 0x402168
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.0040150a
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 0x402162
push ebx
call fcn.0041338b
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.00403095
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.004036f7
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4021af
push ebx
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4021bf
push ebx
call fcn.0041338b
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c0b
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4021de
push ebx
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4021f4
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4b7148
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
je 0x402253
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, 0x4155e0
call fcn.004133a9
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7603
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402286
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40267d
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7603
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4022cd
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x402305
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402301
imul eax, dword [ebx]
jmp 0x4022f6
mov ecx, eax
test ecx, ecx
je 0x402324
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40231d
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40230b
call fcn.0041338b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401ca2
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 0x402675
mov ebx, dword [ebp - 8]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40236c
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40237f
push 1
call fcn.0041339d
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 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4023ba
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40266d
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4023f8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4023f4
imul eax, dword [ebx]
jmp 0x4023e9
mov ecx, eax
test ecx, ecx
je 0x402417
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402410
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4023fe
call fcn.0041338b
add esp, 4
mov eax, 0x4b74d9
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402444
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402457
push 1
call fcn.0041339d
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 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402486
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x4024be
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4024ba
imul eax, dword [ebx]
jmp 0x4024af
mov ecx, eax
test ecx, ecx
je 0x4024dd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4024d6
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4024c4
call fcn.0041338b
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.00401ca2
cmp dword [ebp - 0xc], eax
jle 0x402509
jmp 0x4025cd
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x402527
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x40254d
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402572
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402585
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4b7606
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040150a
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 0x4025c2
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4024f0
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 0
cmp eax, ecx
jl 0x4025eb
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x402611
push 1
call fcn.0041339d
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 0x40262e
mov eax, 0x4b7148
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402644
mov eax, 0x4b7148
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4155e0
call fcn.004133a9
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x402341
add esp, 0xc
jmp 0x4028de
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4026b0
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4028de
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4026f7
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x40272f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40272b
imul eax, dword [ebx]
jmp 0x402720
mov ecx, eax
test ecx, ecx
je 0x40274e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402747
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402735
call fcn.0041338b
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.00401ca2
cmp dword [ebp - 0xc], eax
jle 0x40277a
jmp 0x40283e
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x402798
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x4027be
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4027e3
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4027f6
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4b7606
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040150a
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 0x402833
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x402761
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 0
cmp eax, ecx
jl 0x40285c
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x402882
push 1
call fcn.0041339d
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 0x40289f
mov eax, 0x4b7148
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4028b5
mov eax, 0x4b7148
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4155e0
call fcn.004133a9
add esp, 0x34
mov eax, 0x4b74d9
xor ecx, ecx
test eax, eax
je 0x4028ec
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 0x4028ff
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402916
dec eax
test ecx, ecx
je 0x402916
call fcn.00401cdb
add esp, 0xc
test eax, eax
jne 0x402958
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, 0x4155e0
call fcn.004133a9
add esp, 0x28
jmp 0x4029c3
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 0x402973
mov eax, 0x4b74d9
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x415fe0
call fcn.004133a9
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, 0x4155e0
call fcn.004133a9
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, 0x4155b0
call fcn.004133a9
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, 0x415630
call fcn.004133a9
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, 0x415610
call fcn.004133a9
add esp, 0x10
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402a50
push ebx
call fcn.0041338b
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, 0x415580
call fcn.004133a9
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 0x402a9b
push ebx
call fcn.0041338b
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 0x4b7603
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x402ac8
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x402b00
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402afc
imul eax, dword [ebx]
jmp 0x402af1
mov ecx, eax
test ecx, ecx
je 0x402b1f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402b18
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402b06
call fcn.0041338b
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4b7148
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402b43
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401ca2
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 0x402e81
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402b85
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402b98
push 1
call fcn.0041339d
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 0x402bd3
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402cd9
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402c10
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402c23
push 1
call fcn.0041339d
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.00401566
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402c6e
mov eax, 0x4b7148
push eax
push 6
mov ebx, 0x4141d0
call fcn.004133a9
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x402c97
mov eax, 0x4b7148
push eax
push 1
mov ebx, 0x4141b0
call fcn.004133a9
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402cbd
push ebx
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402cd3
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402cf6
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402d09
push 1
call fcn.0041339d
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 0x402d44
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402e79
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402d81
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402d94
push 1
call fcn.0041339d
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, 0x4b7645
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.004049a6
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402de7
push ebx
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402df7
push ebx
call fcn.0041338b
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x402e0a
mov eax, 0x4b7148
push eax
push 1
mov ebx, 0x4141b0
call fcn.004133a9
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402e30
push ebx
call fcn.0041338b
add esp, 4
push 0x4b7653
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040150a
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402e5d
push ebx
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402e73
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x402b5a
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00403c0b
mov ebx, eax
test ebx, ebx
je 0x402e9e
push ebx
call fcn.0041338b
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00403095
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.00404d94
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402ed8
push ebx
call fcn.0041338b
add esp, 4
push 0x4b7148
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
jne 0x402f2a
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x402f11
push eax
mov ebx, eax
call fcn.004010db
inc eax
push eax
call fcn.00413391
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 0x402f24
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.004133b5
cmp dword [ebp - 0x20], esp
je 0x402f49
push 6
call fcn.0041339d
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402f63
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00413391
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402f68
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4164f0
call fcn.004133a9
add esp, 0x10
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402faa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402fa6
imul eax, dword [ebx]
jmp 0x402f9b
mov ecx, eax
test ecx, ecx
je 0x402fc9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402fc2
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402fb0
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402fef
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402feb
imul eax, dword [ebx]
jmp 0x402fe0
mov ecx, eax
test ecx, ecx
je 0x40300e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403007
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402ff5
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x415610
call fcn.004133a9
add esp, 0x10
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403049
push ebx
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403067
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403063
imul eax, dword [ebx]
jmp 0x403058
mov ecx, eax
test ecx, ecx
je 0x403086
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40307f
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40306d
call fcn.0041338b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54