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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.100246d6
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.100246d6
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x100d4787
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0x10
call fcn.100246d6
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.100246d6
add esp, 4
mov dword [ebp - 0x30], eax
mov edi, eax
mov esi, 0x100d4787
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp dword [ebp + 0x30], 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x100153c7
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
je 0x100153b2
push eax
mov ebx, eax
call fcn.10001247
inc eax
push eax
call fcn.100246d6
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 0x100153c3
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100153da
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10024c00
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10015436
push str._r_nAccept_Language:zh_cn_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36_r_nContent_Type:application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Accept:__r_nReferer:
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001542d
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x100157dd
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10015449
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025290
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.accept
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10015490
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100154b6
push ebx
call fcn.100246d0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100154f0
push str._r_nAccept:__
push dword [ebp - 4]
mov ecx, 2
call fcn.100012b2
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100154ec
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10015503
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025290
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.referer
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1001554a
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10015570
push ebx
call fcn.100246d0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100155af
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
push dword [ebp - 4]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100155ab
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100155c2
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025290
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.accept_language
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10015609
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1001562f
push ebx
call fcn.100246d0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10015669
push str._r_nAccept_Language:_zh_cn
push dword [ebp - 4]
mov ecx, 2
call fcn.100012b2
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10015665
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001567c
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025290
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.user_agent
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x100156c3
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100156e9
push ebx
call fcn.100246d0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10015723
push str._r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
push dword [ebp - 4]
mov ecx, 2
call fcn.100012b2
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001571f
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10015736
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025290
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.content_type
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1001577d
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100157a3
push ebx
call fcn.100246d0
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100157dd
push str._r_nContent_Type:_application_x_www_form_urlencoded
push dword [ebp - 4]
mov ecx, 2
call fcn.100012b2
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100157d9
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x60], 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10015a0e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.X_Forwarded_For
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10015827
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1001587c
mov ebx, dword [ebp + 0x5c]
push dword [ebx]
push str._r_nX_Forwarded_For:
push dword [ebp - 4]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10015878
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.CLIENT_IP
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100158ad
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10015902
mov ebx, dword [ebp + 0x5c]
push dword [ebx]
push str._r_nCLIENT_IP:
push dword [ebp - 4]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100158fe
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x100d57a8
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10015933
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10015988
mov ebx, dword [ebp + 0x5c]
push dword [ebx]
push str._r_nVIA:
push dword [ebp - 4]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10015984
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.REMOTE_ADDR
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100159b9
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10015a0e
mov ebx, dword [ebp + 0x5c]
push dword [ebx]
push str._r_nREMOTE_ADDR:
push dword [ebp - 4]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10015a0a
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jl 0x10015a26
cmp dword [ebp + 0xc], 7
jg 0x10015a26
xor eax, eax
jmp 0x10015a2b
mov eax, 1
test eax, eax
je 0x10015a3a
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
jne 0x10015a63
mov eax, 0x100d57d0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015a5a
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 1
jne 0x10015a8c
mov eax, str.POST
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015a83
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 2
jne 0x10015ab5
mov eax, str.HEAD
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015aac
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 3
jne 0x10015ade
mov eax, 0x100d57de
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015ad5
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 4
jne 0x10015b07
mov eax, str.OPTIONS
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015afe
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 5
jne 0x10015b30
mov eax, str.DELETE
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015b27
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 6
jne 0x10015b59
mov eax, str.TRACE
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015b50
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
cmp dword [ebp + 0xc], 7
jne 0x10015b82
mov eax, str.CONNECT
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015b79
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10015b9c
mov eax, 0x100d57d0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015b98
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x34], esp
push 0
mov eax, 0x1e
call fcn.100246e2
cmp dword [ebp - 0x34], esp
je 0x10015bca
push 0xd07
push 0x4026d45
push 6
call fcn.100246dc
add esp, 0xc
push 0
push 0
push 0
push VariantClear
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x10028f00
call fcn.100246e8
add esp, 0x28
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10015c54
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x10028ef0
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x34], esp
mov eax, 0x1f
call fcn.100246e2
cmp dword [ebp - 0x34], esp
je 0x10015c4a
push 0xd9d
push 0x4026d45
push 6
call fcn.100246dc
add esp, 0xc
mov eax, 0x100d4787
jmp 0x10016856
cmp dword [ebp + 0x44], 0
je 0x10015c9e
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 - 0xc]
push 4
mov ebx, 0x10028e50
call fcn.100246e8
add esp, 0x34
push 0x80000301
push 0
push 0x3300
push 0x80000301
push 0
push 4
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 0xc]
push 4
mov ebx, 0x10028e50
call fcn.100246e8
add esp, 0x34
cmp dword [ebp + 0x54], 0xffffffff
je 0x10015d6f
cmp dword [ebp + 0x54], 1
jge 0x10015cfe
mov dword [ebp - 0x10], 0x3a98
jmp 0x10015d1b
fild dword [ebp + 0x54]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x100d5821]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.1000404b
mov dword [ebp - 0x10], eax
push 0xa0000301
push 0
lea eax, [ebp - 0x10]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 0x10]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 0x10]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 0x10]
push eax
push VariantClear
push 0
push 0x100d5829
push 0x10030
push 0
push dword [ebp - 0xc]
push 6
mov ebx, 0x10027eb0
call fcn.100246e8
add esp, 0x4c
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
lea eax, [ebp - 8]
push eax
push VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 0xc]
push 5
mov ebx, 0x10027eb0
call fcn.100246e8
add esp, 0x40
push VariantClear
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x10015dcd
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10024c00
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10015e2b
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 - 0xc]
push 4
mov ebx, 0x10027eb0
call fcn.100246e8
add esp, 0x34
lea eax, [ebp - 0x14]
push eax
mov eax, 0x100d43bc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1001697e
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10015e54
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.100070d0
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1001611d
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push 0x100d4282
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.10001021
add esp, 8
cmp eax, 0
je 0x10016115
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x100d5852
push VariantClear
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x10015ef3
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x100d477d]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1000404b
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x10015f59
mov eax, 0x100d4282
push eax
push 2
mov ebx, 0x10024e60
call fcn.100246e8
add esp, 0x1c
mov dword [ebp - 0x48], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x10015f82
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025980
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10015fa8
push ebx
call fcn.100246d0
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10015fbc
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x10016007
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10024c00
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x4c]
fsub qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.1000404b
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x10016057
mov eax, 0x100d4282
push eax
push 2
mov ebx, 0x10024ea0
call fcn.100246e8
add esp, 0x1c
mov dword [ebp - 0x58], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x10016080
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025980
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x100160a6
push ebx
call fcn.100246d0
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100160ba
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x100d4282
push dword [ebp - 0x20]
call fcn.10001021
add esp, 8
cmp eax, 0
je 0x10016115
push 0xa0000004
push 0
lea eax, [ebp - 0x24]
push eax
push 0xa0000004
push 0
lea eax, [ebp - 0x20]
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 0xc]
push 4
mov ebx, 0x10027eb0
call fcn.100246e8
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x10015e65
add esp, 0xc
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1001613e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1001613a
imul eax, dword [ebx]
jmp 0x1001612f
mov ecx, eax
test ecx, ecx
je 0x1001615d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10016156
push ebx
push eax
call fcn.100246d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10016144
call fcn.100246d0
add esp, 4
mov eax, 0x100d4787
mov dword [ebp - 0x14], eax
mov eax, 0x100d4787
xor ecx, ecx
test eax, eax
je 0x1001617b
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 0x1001618e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100161a5
dec eax
test ecx, ecx
je 0x100161a5
call fcn.100114ef
add esp, 0xc
test eax, eax
jne 0x100161e7
push 0xa0000004
push 0
push dword [ebp + 0x14]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x10027eb0
call fcn.100246e8
add esp, 0x28
jmp 0x10016252
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 0x10016202
mov eax, 0x100d4787
push eax
push 0x10031
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x10028940
call fcn.100246e8
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 - 0xc]
push 3
mov ebx, 0x10027eb0
call fcn.100246e8
add esp, 0x28
cmp dword [ebp + 0x38], 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10016288
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10016288
xor eax, eax
jmp 0x1001628d
mov eax, 1
test eax, eax
je 0x100162e2
push 0
push 0
push 0
push VariantClear
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x10027e20
call fcn.100246e8
add esp, 0x28
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100162dc
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
cmp dword [ebp + 0x40], 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1001633c
push 0
push 0
push 0
push VariantClear
push 0
push str.Status
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x10027e50
call fcn.100246e8
add esp, 0x28
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
call fcn.1000404b
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x10027e80
call fcn.100246e8
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x34]
push 2
mov ebx, 0x10027f00
call fcn.100246e8
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x10027ee0
call fcn.100246e8
add esp, 0x10
call fcn.100246d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100163c9
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x10028ef0
call fcn.100246e8
add esp, 0x10
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x100167c1
mov eax, 0x100d4282
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001641a
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x100d43bc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x34]
call fcn.1001697e
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10016448
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x30]
call fcn.100070d0
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1001672a
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], 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 - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x100164b3
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x10016722
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x100d588e
push VariantClear
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x1001651f
mov eax, 0x100d4282
push eax
push 4
mov ebx, 0x100250e0
call fcn.100246e8
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x1001663a
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, 0x100d588e
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x34]
call fcn.10016fb7
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x100165a3
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100165b3
push ebx
call fcn.100246d0
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x100165c6
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025980
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100165ec
push ebx
call fcn.100246d0
add esp, 4
push 0x100d589c
push dword [ebp - 0x4c]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10016619
push ebx
call fcn.100246d0
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001662f
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
jmp 0x10016722
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 9
call fcn.10004043
push VariantClear
push 0
push str.Set_Cookie:
push VariantClear
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x1001668a
mov eax, 0x100d4282
push eax
push 6
mov ebx, 0x100259a0
call fcn.100246e8
add esp, 0x4c
mov dword [ebp - 0x38], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x100166b3
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10025980
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100166d9
push ebx
call fcn.100246d0
add esp, 4
push 0x100d589c
push dword [ebp - 0x3c]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.100012b2
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10016706
push ebx
call fcn.100246d0
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001671c
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x10016459
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10016742
mov eax, 0x100d4282
push eax
push 1
mov ebx, 0x10024c00
call fcn.100246e8
add esp, 0x10
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x100d4cfa]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1000404b
push 0x80000301
push 0
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x1001678f
mov eax, 0x100d4282
push eax
push 2
mov ebx, 0x10024e60
call fcn.100246e8
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100167bb
push ebx
call fcn.100246d0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov dword [ebp - 0x34], esp
mov eax, 0x1f
call fcn.100246e2
cmp dword [ebp - 0x34], esp
je 0x100167ea
push 0x186a
push 0x4026d45
push 6
call fcn.100246dc
add esp, 0xc
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10016808
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10016804
imul eax, dword [ebx]
jmp 0x100167f9
mov ecx, eax
test ecx, ecx
je 0x10016827
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10016820
push ebx
push eax
call fcn.100246d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1001680e
call fcn.100246d0
add esp, 4
mov eax, 0x100d4787
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10016851
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100246d6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10016856
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10016867
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10016877
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x10028ef0
call fcn.100246e8
add esp, 0x10
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100168b8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100168b4
imul eax, dword [ebx]
jmp 0x100168a9
mov ecx, eax
test ecx, ecx
je 0x100168d7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100168d0
push ebx
push eax
call fcn.100246d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100168be
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100168ef
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100168ff
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x10027ee0
call fcn.100246e8
add esp, 0x10
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10016932
push ebx
call fcn.100246d0
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10016950
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1001694c
imul eax, dword [ebx]
jmp 0x10016941
mov ecx, eax
test ecx, ecx
je 0x1001696f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10016968
push ebx
push eax
call fcn.100246d0
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10016956
call fcn.100246d0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x5c