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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.004089e6
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004089e6
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x546de7
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.004089e6
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x546de7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.004089e6
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.004089e6
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x546de7
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, 7
call fcn.004089f2
cmp dword [ebp - 0x20], esp
je 0x403a1f
push 6
call fcn.004089ec
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, 0x40b6d0
call fcn.004089da
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x403a64
mov eax, 0x546de7
jmp 0x404b21
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x403a79
mov eax, 0x4954f9
push eax
push 1
mov ebx, 0x4091a0
call fcn.004089da
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 0x403aa5
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4954f9
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401fec
add esp, 8
cmp eax, 0
jne 0x403ae4
mov eax, 0x55c9ef
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403ade
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x403b75
cmp dword [ebp + 0x44], 1
jge 0x403b04
mov dword [ebp + 0x44], 0x3a98
jmp 0x403b21
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x55c9f3]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402089
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 0x55c9fb
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40a7a0
call fcn.004089da
add esp, 0x4c
push 0x4954f9
push dword [0x57f3f4]
call fcn.00401fec
add esp, 8
cmp eax, 0
je 0x403c39
push 0xa0000004
push 0
push 0x57f3f4
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, 0x40a7a0
call fcn.004089da
add esp, 0x34
push 0x4954f9
push dword [0x57f3f8]
call fcn.00401fec
add esp, 8
cmp eax, 0
je 0x403c39
push 0xa0000301
push 0
push 0x57f400
push 0xa0000004
push 0
push 0x57f3fc
push 0xa0000004
push 0
push 0x57f3f8
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40a7a0
call fcn.004089da
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, 0x40a7a0
call fcn.004089da
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x403ccb
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, 0x40b620
call fcn.004089da
add esp, 0x34
push 0x4954f9
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401fec
add esp, 8
cmp eax, 0
jne 0x403d21
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.004010dd
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 0x403d1b
push ebx
call fcn.004089c8
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.00404c4e
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.004052b0
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403d68
push ebx
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403d78
push ebx
call fcn.004089c8
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004057c4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403d97
push ebx
call fcn.004089c8
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403dad
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4954f9
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401fec
add esp, 8
cmp eax, 0
je 0x403e0c
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, 0x40a7a0
call fcn.004089da
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x55caf6
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403e3f
mov eax, 0x4954f9
push eax
push 4
mov ebx, 0x409010
call fcn.004089da
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404236
push 0
push 0
push 0
push VariantClear
push 0
push 0x55caf6
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403e86
mov eax, 0x4954f9
push eax
push 3
mov ebx, 0x4096f0
call fcn.004089da
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 0x403ebe
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403eba
imul eax, dword [ebx]
jmp 0x403eaf
mov ecx, eax
test ecx, ecx
je 0x403edd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403ed6
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403ec4
call fcn.004089c8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402db9
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 0x40422e
mov ebx, dword [ebp - 8]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403f25
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403f38
push 1
call fcn.004089ec
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 0x55caf9
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403f73
mov eax, 0x4954f9
push eax
push 4
mov ebx, 0x409010
call fcn.004089da
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404226
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403fb1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403fad
imul eax, dword [ebx]
jmp 0x403fa2
mov ecx, eax
test ecx, ecx
je 0x403fd0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403fc9
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403fb7
call fcn.004089c8
add esp, 4
mov eax, 0x546de7
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403ffd
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404010
push 1
call fcn.004089ec
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 0x55caf9
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40403f
mov eax, 0x4954f9
push eax
push 3
mov ebx, 0x4096f0
call fcn.004089da
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 0x404077
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404073
imul eax, dword [ebx]
jmp 0x404068
mov ecx, eax
test ecx, ecx
je 0x404096
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40408f
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40407d
call fcn.004089c8
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.00402db9
cmp dword [ebp - 0xc], eax
jle 0x4040c2
jmp 0x404186
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 1
cmp eax, ecx
jl 0x4040e0
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 1
cmp eax, ecx
jl 0x404106
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40412b
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40413e
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x55caf9
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010dd
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 0x40417b
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4040a9
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 0
cmp eax, ecx
jl 0x4041a4
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 1
cmp eax, ecx
jl 0x4041ca
push 1
call fcn.004089ec
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 0x4041e7
mov eax, 0x4954f9
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4041fd
mov eax, 0x4954f9
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40a7a0
call fcn.004089da
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x403efa
add esp, 0xc
jmp 0x404497
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x55caf9
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404269
mov eax, 0x4954f9
push eax
push 4
mov ebx, 0x409010
call fcn.004089da
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404497
push 0
push 0
push 0
push VariantClear
push 0
push 0x55caf9
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4042b0
mov eax, 0x4954f9
push eax
push 3
mov ebx, 0x4096f0
call fcn.004089da
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 0x4042e8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4042e4
imul eax, dword [ebx]
jmp 0x4042d9
mov ecx, eax
test ecx, ecx
je 0x404307
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404300
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4042ee
call fcn.004089c8
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.00402db9
cmp dword [ebp - 0xc], eax
jle 0x404333
jmp 0x4043f7
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 1
cmp eax, ecx
jl 0x404351
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 1
cmp eax, ecx
jl 0x404377
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40439c
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4043af
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x55caf9
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010dd
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 0x4043ec
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40431a
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 0
cmp eax, ecx
jl 0x404415
push 1
call fcn.004089ec
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004024ff
mov eax, 1
cmp eax, ecx
jl 0x40443b
push 1
call fcn.004089ec
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 0x404458
mov eax, 0x4954f9
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40446e
mov eax, 0x4954f9
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40a7a0
call fcn.004089da
add esp, 0x34
mov eax, 0x546de7
xor ecx, ecx
test eax, eax
je 0x4044a5
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 0x4044b8
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4044cf
dec eax
test ecx, ecx
je 0x4044cf
call fcn.00403894
add esp, 0xc
test eax, eax
jne 0x404511
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, 0x40a7a0
call fcn.004089da
add esp, 0x28
jmp 0x40457c
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 0x40452c
mov eax, 0x546de7
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40b1a0
call fcn.004089da
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, 0x40a7a0
call fcn.004089da
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, 0x40a770
call fcn.004089da
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, 0x40a7f0
call fcn.004089da
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, 0x40a7d0
call fcn.004089da
add esp, 0x10
call fcn.004089c8
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404609
push ebx
call fcn.004089c8
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, 0x40a740
call fcn.004089da
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 0x404654
push ebx
call fcn.004089c8
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 0x55caf6
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x404681
mov eax, 0x4954f9
push eax
push 3
mov ebx, 0x4096f0
call fcn.004089da
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 0x4046b9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4046b5
imul eax, dword [ebx]
jmp 0x4046aa
mov ecx, eax
test ecx, ecx
je 0x4046d8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4046d1
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4046bf
call fcn.004089c8
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4954f9
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4046fc
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402db9
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 0x404a3a
mov ebx, dword [ebp - 0x1c]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40473e
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404751
push 1
call fcn.004089ec
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 0x40478c
mov eax, 0x4954f9
push eax
push 4
mov ebx, 0x409010
call fcn.004089da
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404892
mov ebx, dword [ebp - 0x1c]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4047c9
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4047dc
push 1
call fcn.004089ec
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.00401139
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x404827
mov eax, 0x4954f9
push eax
push 6
mov ebx, 0x409500
call fcn.004089da
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x404850
mov eax, 0x4954f9
push eax
push 1
mov ebx, 0x4094e0
call fcn.004089da
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404876
push ebx
call fcn.004089c8
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40488c
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4048af
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4048c2
push 1
call fcn.004089ec
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 0x4048fd
mov eax, 0x4954f9
push eax
push 4
mov ebx, 0x409010
call fcn.004089da
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404a32
mov ebx, dword [ebp - 0x1c]
call fcn.004024ff
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40493a
push 4
call fcn.004089ec
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40494d
push 1
call fcn.004089ec
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, 0x55c8fb
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.0040655f
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4049a0
push ebx
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4049b0
push ebx
call fcn.004089c8
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4049c3
mov eax, 0x4954f9
push eax
push 1
mov ebx, 0x4094e0
call fcn.004089da
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4049e9
push ebx
call fcn.004089c8
add esp, 4
push 0x55cb44
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004010dd
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404a16
push ebx
call fcn.004089c8
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404a2c
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x404713
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004057c4
mov ebx, eax
test ebx, ebx
je 0x404a57
push ebx
call fcn.004089c8
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00404c4e
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040694d
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404a91
push ebx
call fcn.004089c8
add esp, 4
push 0x4954f9
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401fec
add esp, 8
cmp eax, 0
jne 0x404ae3
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x404aca
push eax
mov ebx, eax
call fcn.00401072
inc eax
push eax
call fcn.004089e6
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 0x404add
push ebx
call fcn.004089c8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 8
call fcn.004089f2
cmp dword [ebp - 0x20], esp
je 0x404b02
push 6
call fcn.004089ec
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404b1c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004089e6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x404b21
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40b6c0
call fcn.004089da
add esp, 0x10
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404b63
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404b5f
imul eax, dword [ebx]
jmp 0x404b54
mov ecx, eax
test ecx, ecx
je 0x404b82
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404b7b
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404b69
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404ba8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404ba4
imul eax, dword [ebx]
jmp 0x404b99
mov ecx, eax
test ecx, ecx
je 0x404bc7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404bc0
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404bae
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40a7d0
call fcn.004089da
add esp, 0x10
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404c02
push ebx
call fcn.004089c8
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404c20
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404c1c
imul eax, dword [ebx]
jmp 0x404c11
mov ecx, eax
test ecx, ecx
je 0x404c3f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404c38
push ebx
push eax
call fcn.004089c8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404c26
call fcn.004089c8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54