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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0041a3ed
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0041a3ed
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x49cb7e
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.0041a3ed
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x49cb7e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0041a3ed
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.0041a3ed
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x49cb7e
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, 4
call fcn.0041a405
cmp dword [ebp - 0x20], esp
je 0x405295
push 6
call fcn.0041a3ff
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, 0x41e110
call fcn.0041a3f9
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405350
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41e110
call fcn.0041a3f9
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405350
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41e110
call fcn.0041a3f9
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405350
mov eax, 0x49cb7e
jmp 0x406342
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x405365
mov eax, 0x49c99b
push eax
push 1
mov ebx, 0x41ae90
call fcn.0041a3f9
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 0x405391
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x49c99b
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040103b
add esp, 8
cmp eax, 0
jne 0x4053d0
mov eax, 0x49cb86
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4053ca
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x405461
cmp dword [ebp + 0x44], 1
jge 0x4053f0
mov dword [ebp + 0x44], 0x3a98
jmp 0x40540d
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x49cb8a]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401707
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 0x49cb92
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x41cf70
call fcn.0041a3f9
add esp, 0x4c
push 0x49c99b
push dword [0x58bee8]
call fcn.0040103b
add esp, 8
cmp eax, 0
je 0x405525
push 0xa0000004
push 0
push 0x58bee8
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, 0x41cf70
call fcn.0041a3f9
add esp, 0x34
push 0x49c99b
push dword [0x58beec]
call fcn.0040103b
add esp, 8
cmp eax, 0
je 0x405525
push 0xa0000301
push 0
push 0x58bef4
push 0xa0000004
push 0
push 0x58bef0
push 0xa0000004
push 0
push 0x58beec
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x41cf70
call fcn.0041a3f9
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, 0x41cf70
call fcn.0041a3f9
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x4055b7
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, 0x41e030
call fcn.0041a3f9
add esp, 0x34
push 0x49c99b
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040103b
add esp, 8
cmp eax, 0
jne 0x40560d
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.00401143
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 0x405607
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x49c99b
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040103b
add esp, 8
cmp eax, 0
je 0x405666
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, 0x41cf70
call fcn.0041a3f9
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc8d
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405699
mov eax, 0x49c99b
push eax
push 4
mov ebx, 0x41acf0
call fcn.0041a3f9
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x405a90
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc8d
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4056e0
mov eax, 0x49c99b
push eax
push 3
mov ebx, 0x41b730
call fcn.0041a3f9
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 0x405718
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405714
imul eax, dword [ebx]
jmp 0x405709
mov ecx, eax
test ecx, ecx
je 0x405737
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405730
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40571e
call fcn.0041a3f3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401bb5
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 0x405a88
mov ebx, dword [ebp - 8]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40577f
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405792
push 1
call fcn.0041a3ff
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 0x49cc90
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4057cd
mov eax, 0x49c99b
push eax
push 4
mov ebx, 0x41acf0
call fcn.0041a3f9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x405a80
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40580b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405807
imul eax, dword [ebx]
jmp 0x4057fc
mov ecx, eax
test ecx, ecx
je 0x40582a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405823
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405811
call fcn.0041a3f3
add esp, 4
mov eax, 0x49cb7e
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405857
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40586a
push 1
call fcn.0041a3ff
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 0x49cc90
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405899
mov eax, 0x49c99b
push eax
push 3
mov ebx, 0x41b730
call fcn.0041a3f9
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 0x4058d1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4058cd
imul eax, dword [ebx]
jmp 0x4058c2
mov ecx, eax
test ecx, ecx
je 0x4058f0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4058e9
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4058d7
call fcn.0041a3f3
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.00401bb5
cmp dword [ebp - 0xc], eax
jle 0x40591c
jmp 0x4059e0
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 1
cmp eax, ecx
jl 0x40593a
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 1
cmp eax, ecx
jl 0x405960
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405985
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405998
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x49cc90
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401143
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 0x4059d5
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x405903
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 0
cmp eax, ecx
jl 0x4059fe
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 1
cmp eax, ecx
jl 0x405a24
push 1
call fcn.0041a3ff
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 0x405a41
mov eax, 0x49c99b
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405a57
mov eax, 0x49c99b
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41cf70
call fcn.0041a3f9
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x405754
add esp, 0xc
jmp 0x405cf1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc90
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405ac3
mov eax, 0x49c99b
push eax
push 4
mov ebx, 0x41acf0
call fcn.0041a3f9
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x405cf1
push 0
push 0
push 0
push getpeername
push 0
push 0x49cc90
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405b0a
mov eax, 0x49c99b
push eax
push 3
mov ebx, 0x41b730
call fcn.0041a3f9
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 0x405b42
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405b3e
imul eax, dword [ebx]
jmp 0x405b33
mov ecx, eax
test ecx, ecx
je 0x405b61
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405b5a
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405b48
call fcn.0041a3f3
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.00401bb5
cmp dword [ebp - 0xc], eax
jle 0x405b8d
jmp 0x405c51
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 1
cmp eax, ecx
jl 0x405bab
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 1
cmp eax, ecx
jl 0x405bd1
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405bf6
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405c09
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x49cc90
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401143
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 0x405c46
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x405b74
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 0
cmp eax, ecx
jl 0x405c6f
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401bce
mov eax, 1
cmp eax, ecx
jl 0x405c95
push 1
call fcn.0041a3ff
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 0x405cb2
mov eax, 0x49c99b
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405cc8
mov eax, 0x49c99b
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41cf70
call fcn.0041a3f9
add esp, 0x34
mov eax, 0x49cb7e
xor ecx, ecx
test eax, eax
je 0x405cff
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 0x405d12
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405d29
dec eax
test ecx, ecx
je 0x405d29
call fcn.00401bee
add esp, 0xc
test eax, eax
jne 0x405d6b
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, 0x41cf70
call fcn.0041a3f9
add esp, 0x28
jmp 0x405dd6
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 0x405d86
mov eax, 0x49cb7e
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x41dab0
call fcn.0041a3f9
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, 0x41cf70
call fcn.0041a3f9
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, 0x41cf40
call fcn.0041a3f9
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, 0x41d100
call fcn.0041a3f9
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, 0x41d030
call fcn.0041a3f9
add esp, 0x10
call fcn.0041a3f3
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405e63
push ebx
call fcn.0041a3f3
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, 0x41ceb0
call fcn.0041a3f9
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 0x405eae
push ebx
call fcn.0041a3f3
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 0x49cc8d
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x405edb
mov eax, 0x49c99b
push eax
push 3
mov ebx, 0x41b730
call fcn.0041a3f9
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 0x405f13
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405f0f
imul eax, dword [ebx]
jmp 0x405f04
mov ecx, eax
test ecx, ecx
je 0x405f32
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405f2b
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405f19
call fcn.0041a3f3
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x49c99b
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405f56
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401bb5
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 0x406295
mov ebx, dword [ebp - 0x1c]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405f98
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405fab
push 1
call fcn.0041a3ff
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 0x405fe6
mov eax, 0x49c99b
push eax
push 4
mov ebx, 0x41acf0
call fcn.0041a3f9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4060ec
mov ebx, dword [ebp - 0x1c]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406023
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406036
push 1
call fcn.0041a3ff
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.00401c9a
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406081
mov eax, 0x49c99b
push eax
push 6
mov ebx, 0x41b540
call fcn.0041a3f9
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4060aa
mov eax, 0x49c99b
push eax
push 1
mov ebx, 0x41b450
call fcn.0041a3f9
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4060d0
push ebx
call fcn.0041a3f3
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4060e6
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406109
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40611c
push 1
call fcn.0041a3ff
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 0x406157
mov eax, 0x49c99b
push eax
push 4
mov ebx, 0x41acf0
call fcn.0041a3f9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40628d
mov ebx, dword [ebp - 0x1c]
call fcn.00401bce
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406194
push 4
call fcn.0041a3ff
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4061a7
push 1
call fcn.0041a3ff
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x49cccf
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.00404938
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4061fb
push ebx
call fcn.0041a3f3
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40620b
push ebx
call fcn.0041a3f3
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40621e
mov eax, 0x49c99b
push eax
push 1
mov ebx, 0x41b450
call fcn.0041a3f9
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406244
push ebx
call fcn.0041a3f3
add esp, 4
push 0x49ccdd
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401143
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x406271
push ebx
call fcn.0041a3f3
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406287
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x405f6d
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00403b9d
mov ebx, eax
test ebx, ebx
je 0x4062b2
push ebx
call fcn.0041a3f3
add esp, 4
push 0x49c99b
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040103b
add esp, 8
cmp eax, 0
jne 0x406304
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x4062eb
push eax
mov ebx, eax
call fcn.004010d8
inc eax
push eax
call fcn.0041a3ed
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 0x4062fe
push ebx
call fcn.0041a3f3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 5
call fcn.0041a405
cmp dword [ebp - 0x20], esp
je 0x406323
push 6
call fcn.0041a3ff
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40633d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0041a3ed
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406342
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41e100
call fcn.0041a3f9
add esp, 0x10
call fcn.0041a3f3
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406384
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406380
imul eax, dword [ebx]
jmp 0x406375
mov ecx, eax
test ecx, ecx
je 0x4063a3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40639c
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40638a
call fcn.0041a3f3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4063c9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4063c5
imul eax, dword [ebx]
jmp 0x4063ba
mov ecx, eax
test ecx, ecx
je 0x4063e8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4063e1
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4063cf
call fcn.0041a3f3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41d030
call fcn.0041a3f9
add esp, 0x10
call fcn.0041a3f3
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406423
push ebx
call fcn.0041a3f3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406441
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40643d
imul eax, dword [ebx]
jmp 0x406432
mov ecx, eax
test ecx, ecx
je 0x406460
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406459
push ebx
push eax
call fcn.0041a3f3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406447
call fcn.0041a3f3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54