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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0042ac06
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042ac06
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a7784
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.0042ac06
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4a7784
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0042ac06
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.0042ac06
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4a7784
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, 0xe
call fcn.0042ac12
cmp dword [ebp - 0x20], esp
je 0x40796b
push 6
call fcn.0042ac0c
add esp, 4
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a80cd
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42ea00
call fcn.0042ac18
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4079b0
mov eax, 0x4a7784
jmp 0x40898f
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4079c5
mov eax, 0x4a7762
push eax
push 1
mov ebx, 0x42b5e0
call fcn.0042ac18
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 0x4079f1
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4a7762
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040113e
add esp, 8
cmp eax, 0
jne 0x407a30
mov eax, 0x4a7d35
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407a2a
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x407ac1
cmp dword [ebp + 0x44], 1
jge 0x407a50
mov dword [ebp + 0x44], 0x3a98
jmp 0x407a6d
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4a7d39]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040336e
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 0x80000004
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x4c
push 0x4a7762
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.0040113e
add esp, 8
cmp eax, 0
je 0x407b8d
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push 0x80000301
push 0
push 2
push 0x80000004
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x34
push 0x4a7762
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.0040113e
add esp, 8
cmp eax, 0
je 0x407b8d
cmp dword [ebp + 0x68], 0
jne 0x407b46
mov dword [ebp + 0x64], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x64]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x5c]
push 0xa0000004
push 0
push dword [ebp + 0x54]
push 0x80000004
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x40
push 0x80000002
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push 0x80000004
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x407c1f
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push 0x80000004
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42e900
call fcn.0042ac18
add esp, 0x34
push 0x4a7762
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040113e
add esp, 8
cmp eax, 0
jne 0x407c75
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.004010a9
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 0x407c6f
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4a7762
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040113e
add esp, 8
cmp eax, 0
je 0x407cce
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push 0x80000004
push 0
push str.Cookie
push 0x80000004
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x34
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7dc2
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407d01
mov eax, 0x4a7762
push eax
push 4
mov ebx, 0x42b440
call fcn.0042ac18
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4080f8
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7dc2
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407d48
mov eax, 0x4a7762
push eax
push 3
mov ebx, 0x42bd40
call fcn.0042ac18
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 0x407d80
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407d7c
imul eax, dword [ebx]
jmp 0x407d71
mov ecx, eax
test ecx, ecx
je 0x407d9f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407d98
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407d86
call fcn.0042ac00
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401105
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 0x4080f0
mov ebx, dword [ebp - 8]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407de7
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407dfa
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7fb0
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407e35
mov eax, 0x4a7762
push eax
push 4
mov ebx, 0x42b440
call fcn.0042ac18
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4080e8
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407e73
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407e6f
imul eax, dword [ebx]
jmp 0x407e64
mov ecx, eax
test ecx, ecx
je 0x407e92
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407e8b
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407e79
call fcn.0042ac00
add esp, 4
mov eax, 0x4a7784
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407ebf
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407ed2
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7fb0
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407f01
mov eax, 0x4a7762
push eax
push 3
mov ebx, 0x42bd40
call fcn.0042ac18
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 0x407f39
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407f35
imul eax, dword [ebx]
jmp 0x407f2a
mov ecx, eax
test ecx, ecx
je 0x407f58
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407f51
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407f3f
call fcn.0042ac00
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.00401105
cmp dword [ebp - 0xc], eax
jle 0x407f84
jmp 0x408048
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 1
cmp eax, ecx
jl 0x407fa2
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 1
cmp eax, ecx
jl 0x407fc8
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407fed
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408000
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a7fb0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010a9
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 0x40803d
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407f6b
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 0
cmp eax, ecx
jl 0x408066
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 1
cmp eax, ecx
jl 0x40808c
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000004
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4080a9
mov eax, 0x4a7762
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4080bf
mov eax, 0x4a7762
push eax
push 0x80000004
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x407dbc
add esp, 0xc
jmp 0x408359
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7fb0
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40812b
mov eax, 0x4a7762
push eax
push 4
mov ebx, 0x42b440
call fcn.0042ac18
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x408359
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7fb0
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x408172
mov eax, 0x4a7762
push eax
push 3
mov ebx, 0x42bd40
call fcn.0042ac18
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 0x4081aa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4081a6
imul eax, dword [ebx]
jmp 0x40819b
mov ecx, eax
test ecx, ecx
je 0x4081c9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4081c2
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4081b0
call fcn.0042ac00
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.00401105
cmp dword [ebp - 0xc], eax
jle 0x4081f5
jmp 0x4082b9
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 1
cmp eax, ecx
jl 0x408213
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 1
cmp eax, ecx
jl 0x408239
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40825e
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408271
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a7fb0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010a9
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 0x4082ae
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4081dc
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 0
cmp eax, ecx
jl 0x4082d7
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040111e
mov eax, 1
cmp eax, ecx
jl 0x4082fd
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000004
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40831a
mov eax, 0x4a7762
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408330
mov eax, 0x4a7762
push eax
push 0x80000004
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x34
mov eax, 0x4a7784
xor ecx, ecx
test eax, eax
je 0x408367
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40837a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x408391
dec eax
test ecx, ecx
je 0x408391
call fcn.004040da
add esp, 0xc
test eax, eax
jne 0x4083d3
push 0xa0000004
push 0
push dword [ebp + 0x14]
push 0x80000004
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x28
jmp 0x40843e
push 0
push 0
push 0
push 0x80000005
push 0
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x4083ee
mov eax, 0x4a7784
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x42e480
call fcn.0042ac18
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000004
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d980
call fcn.0042ac18
add esp, 0x28
push 0
push 0
push 0
push 0x80000004
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d950
call fcn.0042ac18
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, 0x42dad0
call fcn.0042ac18
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, 0x42da70
call fcn.0042ac18
add esp, 0x10
call fcn.0042ac00
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4084cb
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0x80000004
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42d8c0
call fcn.0042ac18
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x6c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408516
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x6c]
mov dword [ebx], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4a7dc2
push 0x80000004
push 0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x408543
mov eax, 0x4a7762
push eax
push 3
mov ebx, 0x42bd40
call fcn.0042ac18
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 0x40857b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408577
imul eax, dword [ebx]
jmp 0x40856c
mov ecx, eax
test ecx, ecx
je 0x40859a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408593
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408581
call fcn.0042ac00
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4a7762
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4085be
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401105
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 0x4088fc
mov ebx, dword [ebp - 0x1c]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408600
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408613
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Location:
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40864e
mov eax, 0x4a7762
push eax
push 4
mov ebx, 0x42b440
call fcn.0042ac18
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x408754
mov ebx, dword [ebp - 0x1c]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40868b
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40869e
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.004011db
push 0x80000004
push 0
push str.Location:
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4086e9
mov eax, 0x4a7762
push eax
push 6
mov ebx, 0x42bb50
call fcn.0042ac18
add esp, 0x4c
mov dword [ebp - 0x24], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x408712
mov eax, 0x4a7762
push eax
push 1
mov ebx, 0x42ba80
call fcn.0042ac18
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408738
push ebx
call fcn.0042ac00
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40874e
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x408771
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x408784
push 1
call fcn.0042ac0c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str.Set_Cookie
push 0x80000004
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4087bf
mov eax, 0x4a7762
push eax
push 4
mov ebx, 0x42b440
call fcn.0042ac18
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4088f4
mov ebx, dword [ebp - 0x1c]
call fcn.0040111e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4087fc
push 4
call fcn.0042ac0c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40880f
push 1
call fcn.0042ac0c
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, 0x4a778c
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.00406646
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408862
push ebx
call fcn.0042ac00
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408872
push ebx
call fcn.0042ac00
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x408885
mov eax, 0x4a7762
push eax
push 1
mov ebx, 0x42ba80
call fcn.0042ac18
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4088ab
push ebx
call fcn.0042ac00
add esp, 4
push 0x4a8219
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010a9
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4088d8
push ebx
call fcn.0042ac00
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4088ee
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4085d5
add esp, 0xc
push 0x4a7762
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040113e
add esp, 8
cmp eax, 0
jne 0x408951
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
je 0x408938
push eax
mov ebx, eax
call fcn.0040103e
inc eax
push eax
call fcn.0042ac06
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 0x40894b
push ebx
call fcn.0042ac00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0xf
call fcn.0042ac12
cmp dword [ebp - 0x20], esp
je 0x408970
push 6
call fcn.0042ac0c
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40898a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042ac06
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40898f
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42e9d0
call fcn.0042ac18
add esp, 0x10
call fcn.0042ac00
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4089d1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4089cd
imul eax, dword [ebx]
jmp 0x4089c2
mov ecx, eax
test ecx, ecx
je 0x4089f0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4089e9
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4089d7
call fcn.0042ac00
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408a16
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408a12
imul eax, dword [ebx]
jmp 0x408a07
mov ecx, eax
test ecx, ecx
je 0x408a35
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408a2e
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408a1c
call fcn.0042ac00
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42da70
call fcn.0042ac18
add esp, 0x10
call fcn.0042ac00
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408a70
push ebx
call fcn.0042ac00
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408a8e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408a8a
imul eax, dword [ebx]
jmp 0x408a7f
mov ecx, eax
test ecx, ecx
je 0x408aad
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408aa6
push ebx
push eax
call fcn.0042ac00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408a94
call fcn.0042ac00
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74