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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00407800
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00407800
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x52e081
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.00407800
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x52e081
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00407800
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.00407800
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x52e081
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, 2
call fcn.004077ee
cmp dword [ebp - 0x20], esp
je 0x402a0f
push 6
call fcn.004077e8
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a0f0
call fcn.004077fa
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402aca
push 0
push 0
push 0
push VariantClear
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a0f0
call fcn.004077fa
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402aca
push 0
push 0
push 0
push VariantClear
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40a0f0
call fcn.004077fa
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402aca
mov eax, 0x52e081
jmp 0x403b7b
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x402adf
mov eax, 0x52e089
push eax
push 1
mov ebx, 0x407d60
call fcn.004077fa
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 0x402b0b
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x52e089
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004027ae
add esp, 8
cmp eax, 0
jne 0x402b4a
mov eax, 0x543bf0
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402b44
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x402bdb
cmp dword [ebp + 0x44], 1
jge 0x402b6a
mov dword [ebp + 0x44], 0x3a98
jmp 0x402b87
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x543bf4]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401f8e
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 VariantClear
push 0
push 0x543bfc
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x4c
push 0x52e089
push dword [0x5786e8]
call fcn.004027ae
add esp, 8
cmp eax, 0
je 0x402c9f
push 0xa0000004
push 0
push 0x5786e8
push 0x80000301
push 0
push 2
push VariantClear
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x34
push 0x52e089
push dword [0x5786ec]
call fcn.004027ae
add esp, 8
cmp eax, 0
je 0x402c9f
push 0xa0000301
push 0
push 0x5786f4
push 0xa0000004
push 0
push 0x5786f0
push 0xa0000004
push 0
push 0x5786ec
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x4090f0
call fcn.004077fa
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 VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x402d31
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 - 4]
push 4
mov ebx, 0x409ff0
call fcn.004077fa
add esp, 0x34
push 0x52e089
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004027ae
add esp, 8
cmp eax, 0
jne 0x402d87
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.00401a21
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 0x402d81
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00403ca8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040430a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402dce
push ebx
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402dde
push ebx
call fcn.004077f4
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040481e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402dfd
push ebx
call fcn.004077f4
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402e13
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x52e089
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004027ae
add esp, 8
cmp eax, 0
je 0x402e72
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push VariantClear
push 0
push str.Cookie
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x543cf7
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402ea5
mov eax, 0x52e089
push eax
push 4
mov ebx, 0x407bd0
call fcn.004077fa
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40329c
push 0
push 0
push 0
push VariantClear
push 0
push 0x543cf7
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402eec
mov eax, 0x52e089
push eax
push 3
mov ebx, 0x408180
call fcn.004077fa
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 0x402f24
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402f20
imul eax, dword [ebx]
jmp 0x402f15
mov ecx, eax
test ecx, ecx
je 0x402f43
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402f3c
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402f2a
call fcn.004077f4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0040284b
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 0x403294
mov ebx, dword [ebp - 8]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402f8b
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402f9e
push 1
call fcn.004077e8
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 0x543cfa
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402fd9
mov eax, 0x52e089
push eax
push 4
mov ebx, 0x407bd0
call fcn.004077fa
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40328c
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403017
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403013
imul eax, dword [ebx]
jmp 0x403008
mov ecx, eax
test ecx, ecx
je 0x403036
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40302f
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40301d
call fcn.004077f4
add esp, 4
mov eax, 0x52e081
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403063
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403076
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push VariantClear
push 0
push 0x543cfa
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4030a5
mov eax, 0x52e089
push eax
push 3
mov ebx, 0x408180
call fcn.004077fa
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 0x4030dd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4030d9
imul eax, dword [ebx]
jmp 0x4030ce
mov ecx, eax
test ecx, ecx
je 0x4030fc
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4030f5
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4030e3
call fcn.004077f4
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.0040284b
cmp dword [ebp - 0xc], eax
jle 0x403128
jmp 0x4031ec
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 1
cmp eax, ecx
jl 0x403146
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 1
cmp eax, ecx
jl 0x40316c
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403191
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4031a4
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x543cfa
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401a21
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 0x4031e1
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40310f
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 0
cmp eax, ecx
jl 0x40320a
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 1
cmp eax, ecx
jl 0x403230
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40324d
mov eax, 0x52e089
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403263
mov eax, 0x52e089
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x402f60
add esp, 0xc
jmp 0x4034fd
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x543cfa
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4032cf
mov eax, 0x52e089
push eax
push 4
mov ebx, 0x407bd0
call fcn.004077fa
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4034fd
push 0
push 0
push 0
push VariantClear
push 0
push 0x543cfa
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403316
mov eax, 0x52e089
push eax
push 3
mov ebx, 0x408180
call fcn.004077fa
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 0x40334e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40334a
imul eax, dword [ebx]
jmp 0x40333f
mov ecx, eax
test ecx, ecx
je 0x40336d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403366
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403354
call fcn.004077f4
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.0040284b
cmp dword [ebp - 0xc], eax
jle 0x403399
jmp 0x40345d
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 1
cmp eax, ecx
jl 0x4033b7
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 1
cmp eax, ecx
jl 0x4033dd
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403402
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403415
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x543cfa
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401a21
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 0x403452
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403380
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 0
cmp eax, ecx
jl 0x40347b
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402864
mov eax, 1
cmp eax, ecx
jl 0x4034a1
push 1
call fcn.004077e8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4034be
mov eax, 0x52e089
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4034d4
mov eax, 0x52e089
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x34
mov eax, 0x52e081
xor ecx, ecx
test eax, eax
je 0x40350b
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 0x40351e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x403535
dec eax
test ecx, ecx
je 0x403535
call fcn.00402884
add esp, 0xc
test eax, eax
jne 0x403577
push 0xa0000004
push 0
push dword [ebp + 0x14]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x28
jmp 0x4035e2
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 0x403592
mov eax, 0x52e081
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x409b70
call fcn.004077fa
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 - 4]
push 3
mov ebx, 0x4090f0
call fcn.004077fa
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4090c0
call fcn.004077fa
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, 0x4091c0
call fcn.004077fa
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, 0x409180
call fcn.004077fa
add esp, 0x10
call fcn.004077f4
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40366f
push ebx
call fcn.004077f4
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 - 4]
push 3
mov ebx, 0x409030
call fcn.004077fa
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 0x4036ba
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x543cf7
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4036e7
mov eax, 0x52e089
push eax
push 3
mov ebx, 0x408180
call fcn.004077fa
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 0x40371f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40371b
imul eax, dword [ebx]
jmp 0x403710
mov ecx, eax
test ecx, ecx
je 0x40373e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403737
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403725
call fcn.004077f4
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x52e089
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403762
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040284b
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 0x403a94
mov ebx, dword [ebp - 0x1c]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4037a4
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4037b7
push 1
call fcn.004077e8
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.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4037f2
mov eax, 0x52e089
push eax
push 4
mov ebx, 0x407bd0
call fcn.004077fa
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4038f8
mov ebx, dword [ebp - 0x1c]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40382f
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403842
push 1
call fcn.004077e8
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.00401c08
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40388d
mov eax, 0x52e089
push eax
push 6
mov ebx, 0x407f90
call fcn.004077fa
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4038b6
mov eax, 0x52e089
push eax
push 1
mov ebx, 0x407f70
call fcn.004077fa
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4038dc
push ebx
call fcn.004077f4
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4038f2
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403915
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403928
push 1
call fcn.004077e8
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 0x403963
mov eax, 0x52e089
push eax
push 4
mov ebx, 0x407bd0
call fcn.004077fa
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403a8c
mov ebx, dword [ebp - 0x1c]
call fcn.00402864
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4039a0
push 4
call fcn.004077e8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4039b3
push 1
call fcn.004077e8
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 eax, 0x543d39
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.004055b9
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4039fa
push ebx
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403a0a
push ebx
call fcn.004077f4
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x403a1d
mov eax, 0x52e089
push eax
push 1
mov ebx, 0x407f70
call fcn.004077fa
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403a43
push ebx
call fcn.004077f4
add esp, 4
push 0x543d47
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401a21
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403a70
push ebx
call fcn.004077f4
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403a86
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403779
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040481e
mov ebx, eax
test ebx, ebx
je 0x403ab1
push ebx
call fcn.004077f4
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00403ca8
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040580a
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403aeb
push ebx
call fcn.004077f4
add esp, 4
push 0x52e089
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004027ae
add esp, 8
cmp eax, 0
jne 0x403b3d
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x403b24
push eax
mov ebx, eax
call fcn.004019b6
inc eax
push eax
call fcn.00407800
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 0x403b37
push ebx
call fcn.004077f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 3
call fcn.004077ee
cmp dword [ebp - 0x20], esp
je 0x403b5c
push 6
call fcn.004077e8
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403b76
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00407800
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403b7b
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40a0c0
call fcn.004077fa
add esp, 0x10
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403bbd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403bb9
imul eax, dword [ebx]
jmp 0x403bae
mov ecx, eax
test ecx, ecx
je 0x403bdc
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403bd5
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403bc3
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403c02
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403bfe
imul eax, dword [ebx]
jmp 0x403bf3
mov ecx, eax
test ecx, ecx
je 0x403c21
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403c1a
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403c08
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x409180
call fcn.004077fa
add esp, 0x10
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403c5c
push ebx
call fcn.004077f4
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403c7a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403c76
imul eax, dword [ebx]
jmp 0x403c6b
mov ecx, eax
test ecx, ecx
je 0x403c99
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403c92
push ebx
push eax
call fcn.004077f4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403c80
call fcn.004077f4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54