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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 8
call fcn.005039ad
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.005039ad
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x5f5e98
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 0x10
call fcn.005039ad
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.005039ad
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x5f5e98
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp dword [0x6eeb9c], 1
jne 0x46ed6a
mov eax, 0x5f5e2d
jmp 0x46fdef
call fcn.00417116
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x46ed8d
mov eax, 0x5f7a14
jmp 0x46ed92
mov eax, 0x5f7a19
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46eda9
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x50b2e0
call fcn.005039b3
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x46edf2
mov eax, 0x5f5e2d
jmp 0x46fdef
cmp dword [ebp + 0x5c], 0xffffffff
je 0x46ee83
cmp dword [ebp + 0x5c], 1
jge 0x46ee12
mov dword [ebp + 0x5c], 0x32c8
jmp 0x46ee2f
fild dword [ebp + 0x5c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x5f7a38]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401e78
mov dword [ebp + 0x5c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push VariantClear
push 0
push 0x5f7a40
push 0x10030
push 0
push dword [ebp - 8]
push 6
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x4c
push 0x5f5e2d
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x46ef4f
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push 0x80000301
push 0
push 2
push VariantClear
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x34
push 0x5f5e2d
mov ebx, dword [ebp + 0x64]
push dword [ebx]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x46ef4f
cmp dword [ebp + 0x78], 0
jne 0x46ef08
mov dword [ebp + 0x74], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x74]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x6c]
push 0xa0000004
push 0
push dword [ebp + 0x64]
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
lea eax, [ebp - 4]
push eax
push VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x40
cmp dword [ebp + 0x3c], 0
jne 0x46efb0
cmp dword [ebp + 0x40], 0
je 0x46efb0
xor eax, eax
jmp 0x46efb5
mov eax, 1
test eax, eax
je 0x46effd
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x50b1e0
call fcn.005039b3
add esp, 0x34
push 0x80000301
push 0
push 0x3300
push 0x80000301
push 0
push 4
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x50b1e0
call fcn.005039b3
add esp, 0x34
push 0x5f5e2d
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004010e8
add esp, 8
cmp eax, 0
jne 0x46f07b
mov eax, str.Accept:__
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46f070
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x46f104
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Accept:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f0ae
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46f104
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040108c
add esp, 8
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 0x46f0fe
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Accept_Language:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f137
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46f18d
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040108c
add esp, 8
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 0x46f187
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.User_Agent:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f1c0
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46f216
push str._r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_38.0.2125.122_Safari_537.36
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040108c
add esp, 8
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 0x46f210
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Content_Type:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f249
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46f29f
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040108c
add esp, 8
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 0x46f299
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x5f7b89
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f2d2
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46f32d
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.0040108c
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 0x46f327
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x5f5e2d
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x46f386
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push VariantClear
push 0
push 0x5f7b9f
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x5f6557
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f3b9
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46f464
push dword [ebp + 0x2c]
call fcn.00417147
mov dword [ebp - 0x20], eax
push dword [ebp + 0x2c]
call fcn.0041725f
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x46f402
mov eax, 0x5f5e2d
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x46f416
mov eax, 0x5f5e2d
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x46f44f
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46f45f
push ebx
call fcn.005039b9
add esp, 4
jmp 0x46f661
push 0
push 0
push 0
push VariantClear
push 0
push 0x5f6557
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x46f48b
mov eax, 0x5f5e2d
push eax
push 3
mov ebx, 0x5056a0
call fcn.005039b3
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46f4c3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x46f4bf
imul eax, dword [ebx]
jmp 0x46f4b4
mov ecx, eax
test ecx, ecx
je 0x46f4e2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x46f4db
push ebx
push eax
call fcn.005039b9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x46f4c9
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00402e41
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46f65e
mov ebx, dword [ebp - 0xc]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46f52a
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46f53d
push 1
call fcn.005039bf
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x5f5e2d
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.004010e8
add esp, 8
cmp eax, 0
je 0x46f656
mov ebx, dword [ebp - 0xc]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46f57d
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46f590
push 1
call fcn.005039bf
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.00417147
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46f5c0
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46f5d3
push 1
call fcn.005039bf
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
call fcn.0041725f
mov dword [ebp - 0x2c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x46f5f9
mov eax, 0x5f5e2d
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x46f60d
mov eax, 0x5f5e2d
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46f646
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46f656
push ebx
call fcn.005039b9
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x46f4ff
add esp, 0xc
mov eax, 0x5f5e98
xor ecx, ecx
test eax, eax
je 0x46f66f
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x46f682
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x46f699
dec eax
test ecx, ecx
je 0x46f699
call fcn.00407863
add esp, 0xc
test eax, eax
jne 0x46f6db
push 0xa0000004
push 0
push dword [ebp + 0x14]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x28
jmp 0x46f746
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x46f6f6
mov eax, 0x5f5e98
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x50a9f0
call fcn.005039b3
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x509c20
call fcn.005039b3
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x509bf0
call fcn.005039b3
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, 0x509fb0
call fcn.005039b3
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, 0x509d70
call fcn.005039b3
add esp, 0x10
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46f7d3
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x509b30
call fcn.005039b3
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46f81e
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x509b30
call fcn.005039b3
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46f86b
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.0040143b
push VariantClear
push 0
push str.Set_Cookie
push VariantClear
push 0
push str.Set_Cookie
push VariantClear
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x46f8b4
mov eax, 0x5f5e2d
push eax
push 6
mov ebx, 0x5054b0
call fcn.005039b3
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46f8e0
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x5f6557
push VariantClear
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x46f90d
mov eax, 0x5f5e2d
push eax
push 3
mov ebx, 0x5056a0
call fcn.005039b3
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 0x46f945
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x46f941
imul eax, dword [ebx]
jmp 0x46f936
mov ecx, eax
test ecx, ecx
je 0x46f964
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x46f95d
push ebx
push eax
call fcn.005039b9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x46f94b
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x5f5e2d
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46f988
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402e41
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46fcec
mov ebx, dword [ebp - 0x1c]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46f9ca
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46f9dd
push 1
call fcn.005039bf
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 VariantClear
push 0
push str.Set_Cookie
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x46fa18
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fce4
mov ebx, dword [ebp - 0x1c]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46fa55
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46fa68
push 1
call fcn.005039bf
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 VariantClear
push 0
push 0x5f7bea
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x46faa3
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fbdd
mov ebx, dword [ebp - 0x1c]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46fae0
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46faf3
push 1
call fcn.005039bf
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, 0x5f7bea
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.004173a5
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x46fb46
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46fb56
push ebx
call fcn.005039b9
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x46fb69
mov eax, 0x5f5e2d
push eax
push 1
mov ebx, 0x5053c0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x46fb8f
push ebx
call fcn.005039b9
add esp, 4
push 0x5f7bf8
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x46fbbc
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46fbd2
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
jmp 0x46fce4
mov ebx, dword [ebp - 0x1c]
call fcn.00401e9f
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x46fbfa
push 4
call fcn.005039bf
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46fc0d
push 1
call fcn.005039bf
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 9
call fcn.0040143b
push VariantClear
push 0
push str.Set_Cookie:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x46fc4c
mov eax, 0x5f5e2d
push eax
push 6
mov ebx, 0x5054b0
call fcn.005039b3
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x46fc75
mov eax, 0x5f5e2d
push eax
push 1
mov ebx, 0x5053c0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46fc9b
push ebx
call fcn.005039b9
add esp, 4
push 0x5f7bf8
push dword [ebp - 0x28]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x46fcc8
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46fcde
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x46f99f
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x46fd04
mov eax, 0x5f5e2d
push eax
push 1
mov ebx, 0x504080
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x5f5f4b]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401e78
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x46fd51
mov eax, 0x5f5e2d
push eax
push 2
mov ebx, 0x504580
call fcn.005039b3
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46fd7d
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0041765e
mov ebx, eax
test ebx, ebx
je 0x46fd9d
push ebx
call fcn.005039b9
add esp, 4
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x50b2b0
call fcn.005039b3
add esp, 0x10
call fcn.00418362
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46fdd1
mov eax, 0x5f5e98
push eax
push 1
mov ebx, 0x5060b0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x46fdef
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46fe00
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x50b2b0
call fcn.005039b3
add esp, 0x10
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46fe41
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x46fe3d
imul eax, dword [ebx]
jmp 0x46fe32
mov ecx, eax
test ecx, ecx
je 0x46fe60
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x46fe59
push ebx
push eax
call fcn.005039b9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x46fe47
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x509d70
call fcn.005039b3
add esp, 0x10
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46fe9b
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46feb9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x46feb5
imul eax, dword [ebx]
jmp 0x46feaa
mov ecx, eax
test ecx, ecx
je 0x46fed8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x46fed1
push ebx
push eax
call fcn.005039b9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x46febf
call fcn.005039b9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74