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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
push 8
call fcn.0041b436
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x4bca8a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
push 0x80000301
push 0
push 5
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40a335
mov eax, 0x4bca38
push eax
push 2
mov ebx, 0x41bbd0
call fcn.0041b448
add esp, 0x1c
mov dword [ebp - 0x68], eax
push getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40a35e
mov eax, 0x4bca38
push eax
push 1
mov ebx, 0x41c090
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40a384
push ebx
call fcn.0041b430
add esp, 4
push str.https
push dword [ebp - 0x6c]
call fcn.004010d2
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40a3b2
push ebx
call fcn.0041b430
add esp, 4
cmp dword [ebp - 0x70], 0
je 0x40a3c6
mov eax, 0x800000
jmp 0x40a3cb
mov eax, 0
mov dword [ebp - 4], eax
push 0x4bca38
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.004010d2
add esp, 8
cmp eax, 0
mov eax, 0
sete al
test eax, eax
je 0x40a3fd
mov eax, 1
jmp 0x40a402
mov eax, 3
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x54]
call fcn.0040b91c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esp
push 0
push 0
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40a434
add eax, 8
push eax
push dword [ebp - 0x6c]
push 0
mov eax, 0x1d
call fcn.0041b442
cmp dword [ebp - 0x78], esp
je 0x40a459
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40a46c
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a486
mov eax, 0x4bca8a
jmp 0x40b85f
cmp dword [ebp + 0x4c], 0
mov eax, 0
sete al
mov dword [ebp - 0x68], eax
fild dword [ebp + 0x4c]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fmul qword [0x4bcaf2]
fstp qword [ebp - 0x78]
cmp dword [ebp - 0x68], 0
je 0x40a4c0
mov edx, 0x40c38800
mov eax, 0
jmp 0x40a4c6
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
fld qword [ebp - 0x88]
call fcn.00401a06
mov dword [ebp + 0x4c], eax
mov dword [ebp - 0x68], esp
push dword [ebp + 0x4c]
push dword [ebp + 0x4c]
push dword [ebp + 0x4c]
push dword [ebp + 0x4c]
push dword [ebp - 8]
mov eax, 0x1e
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40a50e
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push dword [ebp + 8]
call fcn.0040ba84
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b91c
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40a54e
push ebx
call fcn.0041b430
add esp, 4
push dword [ebp + 8]
call fcn.0040be4a
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esp
push 0
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40a56e
add eax, 8
push eax
push dword [ebp - 8]
mov eax, 0x1f
call fcn.0041b442
cmp dword [ebp - 0x7c], esp
je 0x40a58e
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40a5a4
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40a5e3
mov dword [ebp - 0x68], esp
push dword [ebp - 8]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40a5d9
push 6
call fcn.0041b43c
add esp, 4
mov eax, 0x4bca8a
jmp 0x40b85f
cmp dword [ebp + 0xc], 0
je 0x40a5f7
mov eax, 0x4bcbd5
jmp 0x40a5fc
mov eax, 0x4bcbda
mov dword [ebp - 0x68], eax
push getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40a612
mov eax, 0x4bca38
push eax
push 1
mov ebx, 0x41c070
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40a638
push ebx
call fcn.0041b430
add esp, 4
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b91c
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40a661
push ebx
call fcn.0041b430
add esp, 4
push dword [ebp + 8]
call fcn.0040c15e
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040b91c
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40a698
push ebx
call fcn.0041b430
add esp, 4
mov dword [ebp - 0x84], esp
push dword [ebp - 4]
push 0
push 0
push 0
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x40a6bd
add eax, 8
push eax
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40a6c8
add eax, 8
push eax
push dword [ebp - 0xc]
mov eax, 0x21
call fcn.0041b442
cmp dword [ebp - 0x84], esp
je 0x40a6eb
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x88], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40a701
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40a714
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40a775
mov dword [ebp - 0x68], esp
push dword [ebp - 8]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40a749
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], esp
push dword [ebp - 0xc]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40a76b
push 6
call fcn.0041b43c
add esp, 4
mov eax, 0x4bca8a
jmp 0x40b85f
cmp dword [ebp + 0x60], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40a826
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x5c]
call fcn.0040b91c
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x64]
call fcn.0040b91c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esp
push 0
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40a7d1
add eax, 8
push eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40a7dc
add eax, 8
push eax
push 1
push 1
push dword [ebp - 0x10]
mov eax, 0x22
call fcn.0041b442
cmp dword [ebp - 0x78], esp
je 0x40a806
push 6
call fcn.0041b43c
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40a816
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40a826
push ebx
call fcn.0041b430
add esp, 4
cmp dword [ebp + 0x34], 0
je 0x40a868
mov dword [ebp - 0x68], esp
push 4
mov eax, 2
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push 0x3f
push dword [ebp - 0x10]
mov eax, 0x23
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40a868
push 6
call fcn.0041b43c
add esp, 4
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40a8b9
push 0x4bcb75
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str.cookie:
mov ecx, 3
call fcn.004029cd
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a8b5
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x30], 0
jne 0x40aaae
push 0x80000301
push 0
push 0xff
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x41bb50
call fcn.0041b448
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x41cf20
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x6c], eax
push 0x80000301
push 0
push 0xff
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x41bb50
call fcn.0041b448
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x41cf20
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x74], eax
push 0x80000301
push 0
push 0xff
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x41bb50
call fcn.0041b448
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x41cf20
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x7c], eax
push 0x80000301
push 0
push 0xff
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x41bb50
call fcn.0041b448
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x41cf20
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x84], eax
push dword [ebp - 0x84]
push 0x4bcd0f
push dword [ebp - 0x7c]
push 0x4bcd0f
push dword [ebp - 0x74]
push 0x4bcd0f
push dword [ebp - 0x6c]
mov ecx, 7
call fcn.004029cd
add esp, 0x1c
mov dword [ebp - 0x88], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40aa23
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40aa33
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40aa43
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x40aa56
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x88]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40aa6d
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x4bcb75
push dword [ebp - 0x18]
push str.Accept:_text_html_application_xhtmlxml_application_xml_image_webp___r_nAccept_Language:_zh_CN_zh_r_nCache_Control:_max_age0_r_nConnection:_keep_alive_r_nContent_Type:_application_x_www_form_urlencoded_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_31.0.1650.57_Safari_537.36_r_nx_forward_for:
push dword [ebp - 0x14]
mov ecx, 4
call fcn.004029cd
add esp, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40aaa5
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x40aade
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004029cd
add esp, 8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40aada
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b91c
mov dword [ebp - 0x6c], eax
push 0x80000301
push 0
push accept
push 0x80000301
push 0
push 0x20000000
push 2
mov ebx, 0x41b810
call fcn.0041b448
add esp, 0x1c
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], esp
push dword [ebp - 0x70]
push 0xffffffff
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40ab39
add eax, 8
push eax
push dword [ebp - 0x10]
mov eax, 0x24
call fcn.0041b442
cmp dword [ebp - 0x74], esp
je 0x40ab59
push 6
call fcn.0041b43c
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40ab69
push ebx
call fcn.0041b430
add esp, 4
mov dword [ebp - 0x68], esp
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x40ab78
add eax, 8
push eax
mov eax, 0x25
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40ab95
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fsub qword [0x4c390f]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
call fcn.00401a06
push eax
call fcn.0040c389
mov dword [ebp - 0x20], eax
push 0x80000601
push 0x40a00000
push 0
fild dword [ebp - 0x20]
fstp qword [ebp - 0x6c]
push 0x80000601
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 2
mov ebx, 0x41b720
call fcn.0041b448
add esp, 0x1c
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
fld qword [ebp - 0x7c]
call fcn.00401a06
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 0x24]
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x41e8e0
call fcn.0041b448
add esp, 0x1c
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], esp
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40ac3f
add eax, 8
push eax
push 0xffffffff
push 0
push dword [ebp - 0x10]
mov eax, 0x26
call fcn.0041b442
cmp dword [ebp - 0x6c], esp
je 0x40ac69
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40ac7c
push ebx
call fcn.0041b430
add esp, 4
cmp dword [ebp - 0x70], 0
je 0x40b7da
fild dword [ebp - 0x20]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fdiv qword [0x4c3917]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
call fcn.00401a06
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40adac
fild dword [ebp - 0x28]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fsub qword [0x4bcb66]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
fmul qword [0x4c3917]
fstp qword [ebp - 0x7c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
fadd qword [ebp - 0x7c]
fstp qword [ebp - 0x8c]
fld qword [ebp - 0x8c]
call fcn.00401a06
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x74]
fadd qword [ebp - 0x74]
fstp qword [ebp - 0x7c]
push 0x80000301
push 0
push 0x800
fld qword [ebp - 0x7c]
call fcn.00401a06
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x41e8e0
call fcn.0041b448
add esp, 0x1c
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], esp
mov eax, 0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
push 0x800
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x40ad6e
add eax, 8
push eax
push dword [ebp - 0x10]
mov eax, 0x27
call fcn.0041b442
cmp dword [ebp - 0x84], esp
je 0x40ad91
push 6
call fcn.0041b43c
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40ada4
push ebx
call fcn.0041b430
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x40aca9
add esp, 0xc
mov dword [ebp - 0x68], esp
push 0
push dword [ebp - 0x10]
mov eax, 0x28
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40add6
push 6
call fcn.0041b43c
add esp, 4
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x41ce20
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ae0b
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x68], esp
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40ae1c
add eax, 8
push eax
mov eax, 0x25
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40ae39
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], esp
mov eax, 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
mov eax, 0x40
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x6c]
push 0
push 5
push dword [ebp - 0x10]
mov eax, 0x29
call fcn.0041b442
cmp dword [ebp - 0x70], esp
je 0x40ae83
push 6
call fcn.0041b43c
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040c3b5
mov dword [ebp - 0x68], eax
push getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40aea2
mov eax, 0x4bca38
push eax
push 1
mov ebx, 0x41c290
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40aec8
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0x2000
mov dword [ebp - 0x68], esp
push dword [ebp - 0x40]
push 0x40
mov eax, 0x2a
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40af0a
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], esp
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
mov eax, 0x2b
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40af33
push 6
call fcn.0041b43c
add esp, 4
test eax, eax
je 0x40b0f9
cmp dword [ebp - 0x38], 0
jg 0x40af4a
jmp 0x40b0f9
fild dword [ebp - 0x40]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x74]
fsub qword [ebp - 0x74]
fstp qword [ebp - 0x7c]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x7c]
fsub qword [ebp - 0x84]
fcomp qword [0x4c391f]
fnstsw ax
test ah, 1
je 0x40b070
mov dword [ebp - 0x68], esp
push dword [ebp - 0x40]
push 0x40
mov eax, 0x2a
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40afa9
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40afc2
mov dword [ebp - 0x4c], 1
jmp 0x40b0f9
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0040c53c
mov dword [ebp - 0x68], esp
push dword [ebp - 0x44]
mov eax, 0x2c
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40aff2
push 6
call fcn.0041b43c
add esp, 4
add dword [ebp - 0x40], 0x2000
mov dword [ebp - 0x68], esp
push dword [ebp - 0x40]
push 0x40
mov eax, 0x2a
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b020
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x40b039
mov dword [ebp - 0x4c], 1
jmp 0x40b0f9
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
call fcn.0040c53c
mov dword [ebp - 0x68], esp
push dword [ebp - 0x48]
mov eax, 0x2c
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b069
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x48], 0
fild dword [ebp - 0x44]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x74]
fadd qword [ebp - 0x74]
fstp qword [ebp - 0x7c]
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x38]
fld qword [ebp - 0x7c]
call fcn.00401a06
push eax
push dword [ebp - 0x10]
mov eax, 0x2d
call fcn.0041b442
cmp dword [ebp - 0x80], esp
je 0x40b0bd
push 6
call fcn.0041b43c
add esp, 4
test eax, eax
je 0x40b0f4
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x74]
fadd qword [ebp - 0x74]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
call fcn.00401a06
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x50], 0
jne 0x40b0f4
jmp 0x40b0f9
jmp 0x40af0d
cmp dword [ebp - 0x4c], 0
je 0x40b1e0
mov dword [ebp - 0x68], esp
push dword [ebp - 0x44]
mov eax, 0x2c
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b125
push 6
call fcn.0041b43c
add esp, 4
cmp dword [ebp - 0x48], 0
jle 0x40b151
mov dword [ebp - 0x68], esp
push dword [ebp - 0x48]
mov eax, 0x2c
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b151
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], esp
push dword [ebp - 8]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b173
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], esp
push dword [ebp - 0xc]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b195
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], esp
push dword [ebp - 0x10]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b1b7
push 6
call fcn.0041b43c
add esp, 4
push getpeername
push 0
push 0x4c3927
push 1
mov ebx, 0x41c950
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
jmp 0x40b85f
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 0x80000301
push 0
push dword [ebp - 0x44]
push 2
mov ebx, 0x41e8e0
call fcn.0041b448
add esp, 0x1c
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40b21d
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], esp
push dword [ebp - 0x44]
mov eax, 0x2c
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b243
push 6
call fcn.0041b43c
add esp, 4
cmp dword [ebp - 0x48], 0
jle 0x40b26f
mov dword [ebp - 0x68], esp
push dword [ebp - 0x48]
mov eax, 0x2c
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b26f
push 6
call fcn.0041b43c
add esp, 4
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
jne 0x40b2c1
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
jne 0x40b2c1
cmp dword [ebp + 0x40], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
jne 0x40b2c1
xor eax, eax
jmp 0x40b2c6
mov eax, 1
test eax, eax
je 0x40b7da
mov dword [ebp - 0x68], esp
mov eax, 0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0x16
push dword [ebp - 0x10]
mov eax, 0x29
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b30f
push 6
call fcn.0041b43c
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x41ce20
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b342
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x68], esp
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40b353
add eax, 8
push eax
mov eax, 0x25
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b370
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], esp
mov eax, 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x6c]
push 0
push 0x16
push dword [ebp - 0x10]
mov eax, 0x29
call fcn.0041b442
cmp dword [ebp - 0x70], esp
je 0x40b3b2
push 6
call fcn.0041b43c
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040c3b5
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40b3d2
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x58], eax
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40b6c8
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x4bcb75
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c560
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40b419
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x5c]
call fcn.00403893
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40b690
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x28]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
push getpeername
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 - 0x68]
mov eax, dword [ebx]
test eax, eax
jne 0x40b484
mov eax, 0x4bca38
push eax
push 4
mov ebx, 0x41bec0
call fcn.0041b448
add esp, 0x34
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffff
je 0x40b688
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x28]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
push 1
mov eax, str.Set_Cookie:
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x68]
call fcn.0040c8fb
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40b4ff
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40b50f
push ebx
call fcn.0041b430
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x40b522
mov eax, 0x4bca38
push eax
push 1
mov ebx, 0x41c590
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40b548
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x7c]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40b55c
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x60], eax
push getpeername
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4bcce9
push getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40b591
mov eax, 0x4bca38
push eax
push 4
mov ebx, 0x41bec0
call fcn.0041b448
add esp, 0x34
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
je 0x40b655
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push 1
mov eax, 0x4bcce9
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040c8fb
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40b5f4
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40b604
push ebx
call fcn.0041b430
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x40b617
mov eax, 0x4bca38
push eax
push 1
mov ebx, 0x41c590
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40b63d
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40b651
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x60], eax
push 0x4bccf7
push dword [ebp - 0x60]
push dword [ebp - 0x64]
mov ecx, 3
call fcn.004029cd
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40b684
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov dword [ebp - 0x64], eax
pop eax
pop ebx
pop ecx
jmp 0x40b42a
add esp, 0xc
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40b6af
push eax
mov ebx, eax
call fcn.00401b62
inc eax
push eax
call fcn.0041b436
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b6c2
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40b717
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40b6fe
push eax
mov ebx, eax
call fcn.00401b62
inc eax
push eax
call fcn.0041b436
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b711
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
cmp dword [ebp + 0x40], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40b7da
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push 1
mov eax, 0x4bcb75
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push 1
mov eax, str.Location:
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c8fb
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40b775
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40b785
push ebx
call fcn.0041b430
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x40b798
mov eax, 0x4bca38
push eax
push 1
mov ebx, 0x41c590
call fcn.0041b448
add esp, 0x10
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40b7be
push ebx
call fcn.0041b430
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b7d4
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
mov dword [ebp - 0x68], esp
push dword [ebp - 8]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b7fc
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], esp
push dword [ebp - 0xc]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b81e
push 6
call fcn.0041b43c
add esp, 4
mov dword [ebp - 0x68], esp
push dword [ebp - 0x10]
mov eax, 0x20
call fcn.0041b442
cmp dword [ebp - 0x68], esp
je 0x40b840
push 6
call fcn.0041b43c
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x40b85a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0041b436
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b85f
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b870
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b880
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b890
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40b8a0
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40b8b0
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x5c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b8ce
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b8ca
imul eax, dword [ebx]
jmp 0x40b8bf
mov ecx, eax
test ecx, ecx
je 0x40b8ed
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b8e6
push ebx
push eax
call fcn.0041b430
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b8d4
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40b905
push ebx
call fcn.0041b430
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40b915
push ebx
call fcn.0041b430
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x64