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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0040dbfa
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040dbfa
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a78f7
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.0040dbfa
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4a78f7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040dbfa
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.0040dbfa
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4a78f7
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, 0xb
call fcn.0040dbf4
cmp dword [ebp - 0x20], esp
je 0x40369d
push 6
call fcn.0040dbee
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, 0x410ae0
call fcn.0040dc06
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4036e2
mov eax, 0x4a78f7
jmp 0x40479f
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4036f7
mov eax, 0x4a78c0
push eax
push 1
mov ebx, 0x40e5c0
call fcn.0040dc06
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 0x403723
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4a78c0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00403475
add esp, 8
cmp eax, 0
jne 0x403762
mov eax, 0x4a79e5
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40375c
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4037f3
cmp dword [ebp + 0x44], 1
jge 0x403782
mov dword [ebp + 0x44], 0x3a98
jmp 0x40379f
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4a79e9]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401024
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 0x4a79f1
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40fb60
call fcn.0040dc06
add esp, 0x4c
push 0x4a78c0
push dword [0x4e295c]
call fcn.00403475
add esp, 8
cmp eax, 0
je 0x4038b7
push 0xa0000004
push 0
push 0x4e295c
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, 0x40fb60
call fcn.0040dc06
add esp, 0x34
push 0x4a78c0
push dword [0x4e2960]
call fcn.00403475
add esp, 8
cmp eax, 0
je 0x4038b7
push 0xa0000301
push 0
push 0x4e2968
push 0xa0000004
push 0
push 0x4e2964
push 0xa0000004
push 0
push 0x4e2960
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40fb60
call fcn.0040dc06
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, 0x40fb60
call fcn.0040dc06
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x403949
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, 0x410a30
call fcn.0040dc06
add esp, 0x34
push 0x4a78c0
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00403475
add esp, 8
cmp eax, 0
jne 0x40399f
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.004024ba
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 0x403999
push ebx
call fcn.0040dc00
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.004048cc
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.00404f2e
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4039e6
push ebx
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4039f6
push ebx
call fcn.0040dc00
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405442
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403a15
push ebx
call fcn.0040dc00
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403a2b
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4a78c0
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00403475
add esp, 8
cmp eax, 0
je 0x403a8a
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, 0x40fb60
call fcn.0040dc06
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a78e5
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403abd
mov eax, 0x4a78c0
push eax
push 4
mov ebx, 0x40e430
call fcn.0040dc06
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x403eb4
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a78e5
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403b04
mov eax, 0x4a78c0
push eax
push 3
mov ebx, 0x40ec90
call fcn.0040dc06
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 0x403b3c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403b38
imul eax, dword [ebx]
jmp 0x403b2d
mov ecx, eax
test ecx, ecx
je 0x403b5b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403b54
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403b42
call fcn.0040dc00
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401053
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 0x403eac
mov ebx, dword [ebp - 8]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403ba3
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403bb6
push 1
call fcn.0040dbee
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 0x4a7aec
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403bf1
mov eax, 0x4a78c0
push eax
push 4
mov ebx, 0x40e430
call fcn.0040dc06
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403ea4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403c2f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403c2b
imul eax, dword [ebx]
jmp 0x403c20
mov ecx, eax
test ecx, ecx
je 0x403c4e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403c47
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403c35
call fcn.0040dc00
add esp, 4
mov eax, 0x4a78f7
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403c7b
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403c8e
push 1
call fcn.0040dbee
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 0x4a7aec
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403cbd
mov eax, 0x4a78c0
push eax
push 3
mov ebx, 0x40ec90
call fcn.0040dc06
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 0x403cf5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403cf1
imul eax, dword [ebx]
jmp 0x403ce6
mov ecx, eax
test ecx, ecx
je 0x403d14
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403d0d
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403cfb
call fcn.0040dc00
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.00401053
cmp dword [ebp - 0xc], eax
jle 0x403d40
jmp 0x403e04
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x403d5e
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x403d84
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403da9
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403dbc
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a7aec
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004024ba
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 0x403df9
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403d27
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 0
cmp eax, ecx
jl 0x403e22
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x403e48
push 1
call fcn.0040dbee
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 0x403e65
mov eax, 0x4a78c0
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403e7b
mov eax, 0x4a78c0
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40fb60
call fcn.0040dc06
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x403b78
add esp, 0xc
jmp 0x404115
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a7aec
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403ee7
mov eax, 0x4a78c0
push eax
push 4
mov ebx, 0x40e430
call fcn.0040dc06
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404115
push 0
push 0
push 0
push VariantClear
push 0
push 0x4a7aec
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403f2e
mov eax, 0x4a78c0
push eax
push 3
mov ebx, 0x40ec90
call fcn.0040dc06
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 0x403f66
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403f62
imul eax, dword [ebx]
jmp 0x403f57
mov ecx, eax
test ecx, ecx
je 0x403f85
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403f7e
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403f6c
call fcn.0040dc00
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.00401053
cmp dword [ebp - 0xc], eax
jle 0x403fb1
jmp 0x404075
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x403fcf
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x403ff5
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40401a
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40402d
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4a7aec
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004024ba
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 0x40406a
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403f98
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 0
cmp eax, ecx
jl 0x404093
push 1
call fcn.0040dbee
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x4040b9
push 1
call fcn.0040dbee
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 0x4040d6
mov eax, 0x4a78c0
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4040ec
mov eax, 0x4a78c0
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40fb60
call fcn.0040dc06
add esp, 0x34
mov eax, 0x4a78f7
xor ecx, ecx
test eax, eax
je 0x404123
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 0x404136
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40414d
dec eax
test ecx, ecx
je 0x40414d
call fcn.00403512
add esp, 0xc
test eax, eax
jne 0x40418f
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, 0x40fb60
call fcn.0040dc06
add esp, 0x28
jmp 0x4041fa
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 0x4041aa
mov eax, 0x4a78f7
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x410560
call fcn.0040dc06
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, 0x40fb60
call fcn.0040dc06
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, 0x40fb30
call fcn.0040dc06
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, 0x40fbb0
call fcn.0040dc06
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, 0x40fb90
call fcn.0040dc06
add esp, 0x10
call fcn.0040dc00
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404287
push ebx
call fcn.0040dc00
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, 0x40fb00
call fcn.0040dc06
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 0x4042d2
push ebx
call fcn.0040dc00
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 0x4a78e5
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4042ff
mov eax, 0x4a78c0
push eax
push 3
mov ebx, 0x40ec90
call fcn.0040dc06
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 0x404337
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404333
imul eax, dword [ebx]
jmp 0x404328
mov ecx, eax
test ecx, ecx
je 0x404356
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40434f
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40433d
call fcn.0040dc00
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4a78c0
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40437a
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401053
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 0x4046b8
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4043bc
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4043cf
push 1
call fcn.0040dbee
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 0x40440a
mov eax, 0x4a78c0
push eax
push 4
mov ebx, 0x40e430
call fcn.0040dc06
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404510
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x404447
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40445a
push 1
call fcn.0040dbee
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.0040104b
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4044a5
mov eax, 0x4a78c0
push eax
push 6
mov ebx, 0x40eaa0
call fcn.0040dc06
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4044ce
mov eax, 0x4a78c0
push eax
push 1
mov ebx, 0x40ea60
call fcn.0040dc06
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4044f4
push ebx
call fcn.0040dc00
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40450a
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40452d
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404540
push 1
call fcn.0040dbee
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 0x40457b
mov eax, 0x4a78c0
push eax
push 4
mov ebx, 0x40e430
call fcn.0040dc06
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4046b0
mov ebx, dword [ebp - 0x1c]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4045b8
push 4
call fcn.0040dbee
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4045cb
push 1
call fcn.0040dbee
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, 0x4a7b2b
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.004061dd
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40461e
push ebx
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40462e
push ebx
call fcn.0040dc00
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x404641
mov eax, 0x4a78c0
push eax
push 1
mov ebx, 0x40ea60
call fcn.0040dc06
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404667
push ebx
call fcn.0040dc00
add esp, 4
push 0x4a7b39
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004024ba
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404694
push ebx
call fcn.0040dc00
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4046aa
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x404391
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00405442
mov ebx, eax
test ebx, ebx
je 0x4046d5
push ebx
call fcn.0040dc00
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004048cc
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004065cb
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40470f
push ebx
call fcn.0040dc00
add esp, 4
push 0x4a78c0
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00403475
add esp, 8
cmp eax, 0
jne 0x404761
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x404748
push eax
mov ebx, eax
call fcn.0040244f
inc eax
push eax
call fcn.0040dbfa
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 0x40475b
push ebx
call fcn.0040dc00
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0xc
call fcn.0040dbf4
cmp dword [ebp - 0x20], esp
je 0x404780
push 6
call fcn.0040dbee
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40479a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040dbfa
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40479f
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x410ad0
call fcn.0040dc06
add esp, 0x10
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4047e1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4047dd
imul eax, dword [ebx]
jmp 0x4047d2
mov ecx, eax
test ecx, ecx
je 0x404800
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4047f9
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4047e7
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404826
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404822
imul eax, dword [ebx]
jmp 0x404817
mov ecx, eax
test ecx, ecx
je 0x404845
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40483e
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40482c
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40fb90
call fcn.0040dc06
add esp, 0x10
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404880
push ebx
call fcn.0040dc00
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40489e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40489a
imul eax, dword [ebx]
jmp 0x40488f
mov ecx, eax
test ecx, ecx
je 0x4048bd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4048b6
push ebx
push eax
call fcn.0040dc00
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4048a4
call fcn.0040dc00
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54