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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.004076c5
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004076c5
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x473f30
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.004076c5
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x473f30
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.004076c5
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.004076c5
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x473f30
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, 0
call fcn.004076b9
cmp dword [ebp - 0x20], esp
je 0x40175f
push 6
call fcn.004076b3
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, 0x409b40
call fcn.004076bf
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40181a
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, 0x409b40
call fcn.004076bf
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40181a
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, 0x409b40
call fcn.004076bf
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40181a
mov eax, 0x473f30
jmp 0x4028cb
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40182f
mov eax, 0x473f26
push eax
push 1
mov ebx, 0x407d50
call fcn.004076bf
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 0x40185b
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x473f26
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004014cf
add esp, 8
cmp eax, 0
jne 0x40189a
mov eax, 0x473eb7
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401894
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 1
je 0x40192b
cmp dword [ebp + 0x44], 1
jge 0x4018ba
mov dword [ebp + 0x44], 0x3a98
jmp 0x4018d7
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x473f85]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040156c
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 0x473f8d
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x408970
call fcn.004076bf
add esp, 0x4c
push 0x473f26
push dword [0x492174]
call fcn.004014cf
add esp, 8
cmp eax, 0
je 0x4019ef
push 0xa0000004
push 0
push 0x492174
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, 0x408970
call fcn.004076bf
add esp, 0x34
push 0x473f26
push dword [0x492178]
call fcn.004014cf
add esp, 8
cmp eax, 0
je 0x4019ef
push 0xa0000301
push 0
push 0x492180
push 0xa0000004
push 0
push 0x49217c
push 0xa0000004
push 0
push 0x492178
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x408970
call fcn.004076bf
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, 0x408970
call fcn.004076bf
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x401a81
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, 0x409a40
call fcn.004076bf
add esp, 0x34
push 0x473f26
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004014cf
add esp, 8
cmp eax, 0
jne 0x401ad7
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.0040109d
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 0x401ad1
push ebx
call fcn.004076cb
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.004029f8
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.0040305a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401b1e
push ebx
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401b2e
push ebx
call fcn.004076cb
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040356e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401b4d
push ebx
call fcn.004076cb
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b63
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x473f26
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004014cf
add esp, 8
cmp eax, 0
je 0x401bc2
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, 0x408970
call fcn.004076bf
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x474088
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401bf5
mov eax, 0x473f26
push eax
push 4
mov ebx, 0x407bd0
call fcn.004076bf
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x401fec
push 0
push 0
push 0
push VariantClear
push 0
push 0x474088
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401c3c
mov eax, 0x473f26
push eax
push 3
mov ebx, 0x408170
call fcn.004076bf
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 0x401c74
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401c70
imul eax, dword [ebx]
jmp 0x401c65
mov ecx, eax
test ecx, ecx
je 0x401c93
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401c8c
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401c7a
call fcn.004076cb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401593
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 0x401fe4
mov ebx, dword [ebp - 8]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401cdb
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401cee
push 1
call fcn.004076b3
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 0x47408b
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401d29
mov eax, 0x473f26
push eax
push 4
mov ebx, 0x407bd0
call fcn.004076bf
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x401fdc
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401d67
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401d63
imul eax, dword [ebx]
jmp 0x401d58
mov ecx, eax
test ecx, ecx
je 0x401d86
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401d7f
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401d6d
call fcn.004076cb
add esp, 4
mov eax, 0x473f30
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401db3
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401dc6
push 1
call fcn.004076b3
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 0x47408b
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401df5
mov eax, 0x473f26
push eax
push 3
mov ebx, 0x408170
call fcn.004076bf
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 0x401e2d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401e29
imul eax, dword [ebx]
jmp 0x401e1e
mov ecx, eax
test ecx, ecx
je 0x401e4c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401e45
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401e33
call fcn.004076cb
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.00401593
cmp dword [ebp - 0xc], eax
jle 0x401e78
jmp 0x401f3c
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 1
cmp eax, ecx
jl 0x401e96
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 1
cmp eax, ecx
jl 0x401ebc
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401ee1
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401ef4
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47408b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040109d
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 0x401f31
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x401e5f
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 0
cmp eax, ecx
jl 0x401f5a
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 1
cmp eax, ecx
jl 0x401f80
push 1
call fcn.004076b3
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 0x401f9d
mov eax, 0x473f26
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401fb3
mov eax, 0x473f26
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x408970
call fcn.004076bf
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x401cb0
add esp, 0xc
jmp 0x40224d
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x47408b
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40201f
mov eax, 0x473f26
push eax
push 4
mov ebx, 0x407bd0
call fcn.004076bf
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40224d
push 0
push 0
push 0
push VariantClear
push 0
push 0x47408b
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402066
mov eax, 0x473f26
push eax
push 3
mov ebx, 0x408170
call fcn.004076bf
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 0x40209e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40209a
imul eax, dword [ebx]
jmp 0x40208f
mov ecx, eax
test ecx, ecx
je 0x4020bd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4020b6
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4020a4
call fcn.004076cb
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.00401593
cmp dword [ebp - 0xc], eax
jle 0x4020e9
jmp 0x4021ad
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 1
cmp eax, ecx
jl 0x402107
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 1
cmp eax, ecx
jl 0x40212d
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402152
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402165
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47408b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040109d
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 0x4021a2
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4020d0
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 0
cmp eax, ecx
jl 0x4021cb
push 1
call fcn.004076b3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004015ac
mov eax, 1
cmp eax, ecx
jl 0x4021f1
push 1
call fcn.004076b3
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 0x40220e
mov eax, 0x473f26
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402224
mov eax, 0x473f26
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x408970
call fcn.004076bf
add esp, 0x34
mov eax, 0x473f30
xor ecx, ecx
test eax, eax
je 0x40225b
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 0x40226e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402285
dec eax
test ecx, ecx
je 0x402285
call fcn.004015cc
add esp, 0xc
test eax, eax
jne 0x4022c7
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, 0x408970
call fcn.004076bf
add esp, 0x28
jmp 0x402332
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 0x4022e2
mov eax, 0x473f30
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x4094e0
call fcn.004076bf
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, 0x408970
call fcn.004076bf
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, 0x408940
call fcn.004076bf
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, 0x408b30
call fcn.004076bf
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, 0x408a60
call fcn.004076bf
add esp, 0x10
call fcn.004076cb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4023bf
push ebx
call fcn.004076cb
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, 0x4088b0
call fcn.004076bf
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 0x40240a
push ebx
call fcn.004076cb
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 0x474088
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x402437
mov eax, 0x473f26
push eax
push 3
mov ebx, 0x408170
call fcn.004076bf
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 0x40246f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40246b
imul eax, dword [ebx]
jmp 0x402460
mov ecx, eax
test ecx, ecx
je 0x40248e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402487
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402475
call fcn.004076cb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x473f26
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4024b2
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401593
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 0x4027e4
mov ebx, dword [ebp - 0x1c]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4024f4
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402507
push 1
call fcn.004076b3
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 0x402542
mov eax, 0x473f26
push eax
push 4
mov ebx, 0x407bd0
call fcn.004076bf
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402648
mov ebx, dword [ebp - 0x1c]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40257f
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402592
push 1
call fcn.004076b3
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.00401678
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4025dd
mov eax, 0x473f26
push eax
push 6
mov ebx, 0x407f80
call fcn.004076bf
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x402606
mov eax, 0x473f26
push eax
push 1
mov ebx, 0x407f60
call fcn.004076bf
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40262c
push ebx
call fcn.004076cb
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402642
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402665
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402678
push 1
call fcn.004076b3
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 0x4026b3
mov eax, 0x473f26
push eax
push 4
mov ebx, 0x407bd0
call fcn.004076bf
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4027dc
mov ebx, dword [ebp - 0x1c]
call fcn.004015ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4026f0
push 4
call fcn.004076b3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402703
push 1
call fcn.004076b3
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, 0x4740ca
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.00404309
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40274a
push ebx
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40275a
push ebx
call fcn.004076cb
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40276d
mov eax, 0x473f26
push eax
push 1
mov ebx, 0x407f60
call fcn.004076bf
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402793
push ebx
call fcn.004076cb
add esp, 4
push 0x4740d8
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040109d
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4027c0
push ebx
call fcn.004076cb
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4027d6
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4024c9
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040356e
mov ebx, eax
test ebx, ebx
je 0x402801
push ebx
call fcn.004076cb
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004029f8
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040455a
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40283b
push ebx
call fcn.004076cb
add esp, 4
push 0x473f26
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004014cf
add esp, 8
cmp eax, 0
jne 0x40288d
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x402874
push eax
mov ebx, eax
call fcn.00401032
inc eax
push eax
call fcn.004076c5
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 0x402887
push ebx
call fcn.004076cb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.004076b9
cmp dword [ebp - 0x20], esp
je 0x4028ac
push 6
call fcn.004076b3
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4028c6
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004076c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4028cb
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x409b10
call fcn.004076bf
add esp, 0x10
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40290d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402909
imul eax, dword [ebx]
jmp 0x4028fe
mov ecx, eax
test ecx, ecx
je 0x40292c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402925
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402913
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402952
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40294e
imul eax, dword [ebx]
jmp 0x402943
mov ecx, eax
test ecx, ecx
je 0x402971
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40296a
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402958
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x408a60
call fcn.004076bf
add esp, 0x10
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4029ac
push ebx
call fcn.004076cb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4029ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4029c6
imul eax, dword [ebx]
jmp 0x4029bb
mov ecx, eax
test ecx, ecx
je 0x4029e9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4029e2
push ebx
push eax
call fcn.004076cb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4029d0
call fcn.004076cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54