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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
push 8
call fcn.0045b2f4
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.0045b2f4
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x500e7f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
push 8
call fcn.0045b2f4
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x500e7f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0045b2f4
add esp, 4
mov dword [ebp - 0x28], 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 - 0x2c], 0
push 8
call fcn.0045b2f4
add esp, 4
mov dword [ebp - 0x30], eax
mov edi, eax
mov esi, 0x500e7f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x34], 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x40ada0
push eax
mov ebx, eax
call fcn.0040104f
inc eax
push eax
call fcn.0045b2f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40adb1
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], esp
push 0
mov eax, 0x12
call fcn.0045b300
cmp dword [ebp - 0x38], esp
je 0x40add9
push 6
call fcn.0045b2fa
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 - 8]
push 3
mov ebx, 0x461870
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x40ae59
push 0
push 0
push 0
push VariantClear
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x461870
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x40ae59
mov eax, 0x500e7f
jmp 0x40c04a
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40ae6e
mov eax, 0x4eb320
push eax
push 1
mov ebx, 0x45c0c0
call fcn.0045b30c
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ae9a
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4eb320
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00402a87
add esp, 8
cmp eax, 0
jne 0x40aed9
mov eax, 0x500f95
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40aed3
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40aeee
mov eax, 0x4eb320
push eax
push 1
mov ebx, 0x45c910
call fcn.0045b30c
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40af1a
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x80000301
push 0
push 4
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40af41
mov eax, 0x4eb320
push eax
push 2
mov ebx, 0x45bc20
call fcn.0045b30c
add esp, 0x1c
mov dword [ebp - 0x38], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40af6a
mov eax, 0x4eb320
push eax
push 1
mov ebx, 0x45c0e0
call fcn.0045b30c
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40af90
push ebx
call fcn.0045b306
add esp, 4
push str.http
push dword [ebp - 0x3c]
call fcn.00402a87
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40afbe
push ebx
call fcn.0045b306
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x40affe
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__
mov ecx, 2
call fcn.004010ba
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40aff8
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
cmp dword [ebp + 0x2c], 0xffffffff
je 0x40b08f
cmp dword [ebp + 0x2c], 1
jge 0x40b01e
mov dword [ebp + 0x2c], 0x3a98
jmp 0x40b03b
fild dword [ebp + 0x2c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x500f99]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401b95
mov dword [ebp + 0x2c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x2c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x2c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x2c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x2c]
push eax
push VariantClear
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 8]
push 6
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x4c
push 0x4eb320
push dword [ebp - 0xc]
call fcn.00402a87
add esp, 8
cmp eax, 0
je 0x40b149
push 0xa0000004
push 0
lea eax, [ebp - 0xc]
push eax
push 0x80000301
push 0
push 2
push VariantClear
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x34
push 0x4eb320
push dword [ebp - 0x10]
call fcn.00402a87
add esp, 8
cmp eax, 0
je 0x40b149
push 0xa0000301
push 0
lea eax, [ebp - 0x18]
push eax
push 0xa0000004
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa0000004
push 0
lea eax, [ebp - 0x10]
push eax
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x460250
call fcn.0045b30c
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 - 8]
push 5
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x40
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x461770
call fcn.0045b30c
add esp, 0x34
push 0x4eb320
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00402a87
add esp, 8
cmp eax, 0
jne 0x40b227
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.004010ba
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b221
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.00402a87
add esp, 8
cmp eax, 0
je 0x40b276
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x40b25f
push eax
mov ebx, eax
call fcn.0040104f
inc eax
push eax
call fcn.0045b2f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b270
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x40b227
push 0x4eb320
push dword [ebp - 4]
call fcn.00402a87
add esp, 8
cmp eax, 0
je 0x40b2ce
push 0xa0000004
push 0
lea eax, [ebp - 4]
push eax
push VariantClear
push 0
push 0x501508
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4eb2db
push VariantClear
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b301
mov eax, 0x4eb320
push eax
push 4
mov ebx, 0x45bf10
call fcn.0045b30c
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jle 0x40b6f8
push 0
push 0
push 0
push VariantClear
push 0
push 0x4eb2db
push VariantClear
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b348
mov eax, 0x4eb320
push eax
push 3
mov ebx, 0x45cbf0
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b380
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b37c
imul eax, dword [ebx]
jmp 0x40b371
mov ecx, eax
test ecx, ecx
je 0x40b39f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b398
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b386
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004030c2
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40b6f0
mov ebx, dword [ebp - 0x1c]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40b3e7
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b3fa
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x501235
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40b435
mov eax, 0x4eb320
push eax
push 4
mov ebx, 0x45bf10
call fcn.0045b30c
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jle 0x40b6e8
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b473
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b46f
imul eax, dword [ebx]
jmp 0x40b464
mov ecx, eax
test ecx, ecx
je 0x40b492
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b48b
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b479
call fcn.0045b306
add esp, 4
mov eax, 0x500e7f
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40b4bf
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b4d2
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push 0
push 0
push 0
push VariantClear
push 0
push 0x501235
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40b501
mov eax, 0x4eb320
push eax
push 3
mov ebx, 0x45cbf0
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b539
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b535
imul eax, dword [ebx]
jmp 0x40b52a
mov ecx, eax
test ecx, ecx
je 0x40b558
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b551
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b53f
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
inc dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
call fcn.004030c2
cmp dword [ebp - 0x20], eax
jle 0x40b584
jmp 0x40b648
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 1
cmp eax, ecx
jl 0x40b5a2
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 1
cmp eax, ecx
jl 0x40b5c8
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40b5ed
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b600
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
push dword [ebx]
push 0x501235
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
mov ecx, 3
call fcn.004010ba
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x38]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b63d
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
jmp 0x40b56b
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 0
cmp eax, ecx
jl 0x40b666
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 1
cmp eax, ecx
jl 0x40b68c
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b6a9
mov eax, 0x4eb320
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40b6bf
mov eax, 0x4eb320
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40b3bc
add esp, 0xc
jmp 0x40b959
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x501235
push VariantClear
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b72b
mov eax, 0x4eb320
push eax
push 4
mov ebx, 0x45bf10
call fcn.0045b30c
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jle 0x40b959
push 0
push 0
push 0
push VariantClear
push 0
push 0x501235
push VariantClear
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b772
mov eax, 0x4eb320
push eax
push 3
mov ebx, 0x45cbf0
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b7aa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b7a6
imul eax, dword [ebx]
jmp 0x40b79b
mov ecx, eax
test ecx, ecx
je 0x40b7c9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b7c2
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b7b0
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
inc dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
call fcn.004030c2
cmp dword [ebp - 0x20], eax
jle 0x40b7f5
jmp 0x40b8b9
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 1
cmp eax, ecx
jl 0x40b813
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 1
cmp eax, ecx
jl 0x40b839
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40b85e
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b871
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
push dword [ebx]
push 0x501235
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
mov ecx, 3
call fcn.004010ba
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x38]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b8ae
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
jmp 0x40b7dc
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 0
cmp eax, ecx
jl 0x40b8d7
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.004030a2
mov eax, 1
cmp eax, ecx
jl 0x40b8fd
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b91a
mov eax, 0x4eb320
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40b930
mov eax, 0x4eb320
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x34
mov eax, 0x500e7f
xor ecx, ecx
test eax, eax
je 0x40b967
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40b97a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40b991
dec eax
test ecx, ecx
je 0x40b991
call fcn.00401116
add esp, 0xc
test eax, eax
jne 0x40b9d3
push 0xa0000004
push 0
push dword [ebp + 0x14]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x28
jmp 0x40ba3e
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b9ee
mov eax, 0x500e7f
push eax
push 0x10031
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x460f60
call fcn.0045b30c
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x28]
push eax
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x460250
call fcn.0045b30c
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x460220
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x38], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x38]
push 2
mov ebx, 0x4605b0
call fcn.0045b30c
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x460370
call fcn.0045b30c
add esp, 0x10
call fcn.0045b306
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40bacb
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x460160
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bb16
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x4eb2db
push VariantClear
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40bb43
mov eax, 0x4eb320
push eax
push 3
mov ebx, 0x45cbf0
call fcn.0045b30c
add esp, 0x28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40bb7b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40bb77
imul eax, dword [ebx]
jmp 0x40bb6c
mov ecx, eax
test ecx, ecx
je 0x40bb9a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40bb93
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40bb81
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x30]
call fcn.004030c2
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40bee0
mov ebx, dword [ebp - 0x30]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40bbe2
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bbf5
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x501548
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40bc30
mov eax, 0x4eb320
push eax
push 4
mov ebx, 0x45bf10
call fcn.0045b30c
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jle 0x40bd36
mov ebx, dword [ebp - 0x30]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40bc6d
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bc80
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00402a4b
push VariantClear
push 0
push 0x501548
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40bccb
mov eax, 0x4eb320
push eax
push 6
mov ebx, 0x45ca00
call fcn.0045b30c
add esp, 0x4c
mov dword [ebp - 0x3c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40bcf4
mov eax, 0x4eb320
push eax
push 1
mov ebx, 0x45c910
call fcn.0045b30c
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40bd1a
push ebx
call fcn.0045b306
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd30
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x30]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40bd53
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bd66
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], 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 - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x40bda1
mov eax, 0x4eb320
push eax
push 4
mov ebx, 0x45bf10
call fcn.0045b30c
add esp, 0x34
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jle 0x40bed8
mov ebx, dword [ebp - 0x30]
call fcn.004030a2
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x40bdde
push 4
call fcn.0045b2fa
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bdf1
push 1
call fcn.0045b2fa
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push 1
mov eax, str.__:
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x38]
call fcn.0040c1c7
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40be4c
push ebx
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40be5c
push ebx
call fcn.0045b306
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x40be6f
mov eax, 0x4eb320
push eax
push 1
mov ebx, 0x45c910
call fcn.0045b30c
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40be95
push ebx
call fcn.0045b306
add esp, 4
push 0x501569
push dword [ebp - 0x50]
push dword [ebp - 0x34]
mov ecx, 3
call fcn.004010ba
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40bec0
push ebx
call fcn.0045b306
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40bed4
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
pop eax
pop ebx
pop ecx
jmp 0x40bbb7
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040c4de
mov ebx, eax
test ebx, ebx
je 0x40beff
push ebx
call fcn.0045b306
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x40bf1b
push eax
mov ebx, eax
call fcn.0040104f
inc eax
push eax
call fcn.0045b2f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bf2e
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40bf50
push eax
mov ebx, eax
call fcn.0040104f
inc eax
push eax
call fcn.0045b2f4
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 0x40bf63
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 0x4eb320
mov ebx, dword [ebp + 0x3c]
push dword [ebx]
call fcn.00402a87
add esp, 8
cmp eax, 0
jne 0x40bfbb
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x40bfa2
push eax
mov ebx, eax
call fcn.0040104f
inc eax
push eax
call fcn.0045b2f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bfb5
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
mov dword [ebp - 0x38], esp
mov eax, 0x13
call fcn.0045b300
cmp dword [ebp - 0x38], esp
je 0x40bfda
push 6
call fcn.0045b2fa
add esp, 4
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.00402a87
add esp, 8
cmp eax, 0
je 0x40c02b
mov eax, dword [ebp - 4]
test eax, eax
je 0x40c010
push eax
mov ebx, eax
call fcn.0040104f
inc eax
push eax
call fcn.0045b2f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c023
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
jmp 0x40bfda
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40c045
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0045b2f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40c04a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c05b
push ebx
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x461840
call fcn.0045b30c
add esp, 0x10
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c08e
push ebx
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c09e
push ebx
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c0ae
push ebx
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c0cc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c0c8
imul eax, dword [ebx]
jmp 0x40c0bd
mov ecx, eax
test ecx, ecx
je 0x40c0eb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c0e4
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c0d2
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c111
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c10d
imul eax, dword [ebx]
jmp 0x40c102
mov ecx, eax
test ecx, ecx
je 0x40c130
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c129
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c117
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x460370
call fcn.0045b30c
add esp, 0x10
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40c16b
push ebx
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c189
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c185
imul eax, dword [ebx]
jmp 0x40c17a
mov ecx, eax
test ecx, ecx
je 0x40c1a8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c1a1
push ebx
push eax
call fcn.0045b306
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c18f
call fcn.0045b306
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40c1c0
push ebx
call fcn.0045b306
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c