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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 8
call fcn.100199dc
add esp, 4
mov dword [ebp - 0x30], eax
mov edi, eax
mov esi, 0x100a0e3f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp dword [ebp + 0x58], 0
je 0x10011211
cmp dword [ebp + 0x54], 0
jle 0x10011211
xor eax, eax
jmp 0x10011216
mov eax, 1
test eax, eax
je 0x10011225
mov dword [ebp + 0x54], 0xf
fild dword [ebp + 0x54]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x100a229a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.1000163c
mov dword [ebp + 0x54], eax
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
test eax, eax
je 0x10011260
mov eax, 0x100a22a2
jmp 0x10011265
mov eax, str.POST
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001127c
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.User_Agent:
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x100112b3
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x100113ea
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, 0x100a22b7
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, str.User_Agent:
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x24]
call fcn.10012583
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10011338
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10011348
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10011358
push ebx
call fcn.100199e2
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x1001136b
mov eax, 0x100a0e3e
push eax
push 1
mov ebx, 0x1001aad0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10011391
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100113a5
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x100a0e3e
push dword [ebp - 8]
call fcn.100014eb
add esp, 8
cmp eax, 0
jne 0x100113e5
push dword [ebp + 0x24]
call fcn.1001299d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100113e1
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x10011404
mov eax, str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.1__KHTML__like_Gecko__Chrome_21.0.1180.92_Safari_537.1_LBBROWSER
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10011400
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x100a0e3e
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.100014eb
add esp, 8
cmp eax, 0
jne 0x100114c1
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x10019dc0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x10019dc0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push 1
push dword [ebp - 8]
mov eax, 0xb
call fcn.100199d0
cmp dword [ebp - 0x3c], esp
je 0x10011493
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100114a6
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100114b6
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
jmp 0x1001160e
push 0x80000301
push 0
push 5
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100114e2
mov eax, 0x100a0e3e
push eax
push 2
mov ebx, 0x10019cd0
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x34], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1001150b
mov eax, 0x100a0e3e
push eax
push 1
mov ebx, 0x1001a190
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10011531
push ebx
call fcn.100199e2
add esp, 4
push str.https
push dword [ebp - 0x38]
call fcn.100014eb
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1001155f
push ebx
call fcn.100199e2
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x100115a7
mov dword [ebp - 0x34], esp
push 0
push 0x100a0e3e
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push 3
push dword [ebp - 8]
mov eax, 0xb
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x1001159f
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x1001160e
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.100016ce
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push 0x100a0e3e
push dword [ebp - 0x34]
push 3
push dword [ebp - 8]
mov eax, 0xb
call fcn.100199d0
cmp dword [ebp - 0x38], esp
je 0x100115f5
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10011608
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10011644
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x1001163a
push 6
call fcn.100199ca
add esp, 4
mov eax, 0x100a0e3f
jmp 0x100124d6
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x54]
push eax
push 2
push dword [ebp - 0xc]
mov eax, 0xd
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011674
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x54]
push eax
push 5
push dword [ebp - 0xc]
mov eax, 0xd
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x100116a4
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x54]
push eax
push 6
push dword [ebp - 0xc]
mov eax, 0xd
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x100116d4
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.10012ae3
mov dword [ebp - 0x3c], eax
push dword [ebp + 8]
call fcn.100130e0
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x10019dc0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x10019dc0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push 0
push 0
push 3
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
mov eax, 0xe
call fcn.100199d0
cmp dword [ebp - 0x4c], esp
je 0x10011781
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10011794
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x100117a4
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100117b4
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10011812
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x100117e6
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011808
push 6
call fcn.100199ca
add esp, 4
mov eax, 0x100a0e3f
jmp 0x100124d6
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0x10019c20
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x10019c20
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x34], 0
je 0x1001189f
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x10019c20
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100118c0
mov eax, 0x100a0e3e
push eax
push 2
mov ebx, 0x10019cd0
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x34], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x100118e9
mov eax, 0x100a0e3e
push eax
push 1
mov ebx, 0x1001a190
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1001190f
push ebx
call fcn.100199e2
add esp, 4
push str.https
push dword [ebp - 0x38]
call fcn.100014eb
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1001193d
push ebx
call fcn.100199e2
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x10011977
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x10019c20
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x100119a2
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x10019c20
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.10013314
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x10019dc0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x10019dc0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push str.HTTP_1.1
push dword [ebp - 0x34]
push dword [ebp - 4]
push dword [ebp - 0x10]
mov eax, 0xf
call fcn.100199d0
cmp dword [ebp - 0x40], esp
je 0x10011a2a
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10011a3d
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10011a4d
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10011a5d
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10011add
mov dword [ebp - 0x34], esp
push dword [ebp - 0x18]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011a8f
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011ab1
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011ad3
push 6
call fcn.100199ca
add esp, 4
mov eax, 0x100a0e3f
jmp 0x100124d6
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Accept:
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10011b10
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10011b66
push str._r_nAccept:__
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 2
call fcn.100016ce
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10011b60
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Accept_Language:
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10011b99
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10011bef
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 2
call fcn.100016ce
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10011be9
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Content_Type:
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10011c22
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10011c78
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 2
call fcn.100016ce
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10011c72
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x10011c96
push eax
mov ebx, eax
call fcn.10001663
inc eax
push eax
call fcn.100199dc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10011ca7
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x100a0e3e
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.100014eb
add esp, 8
cmp eax, 0
je 0x10011d01
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str._r_nCookie:
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.100016ce
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10011cfb
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push 0x100a22a2
push dword [ebp - 4]
call fcn.100014eb
add esp, 8
cmp eax, 0
jne 0x10011d7e
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10011d2f
mov eax, 0x100a0e3e
push eax
push 1
mov ebx, 0x10019c40
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push 0x100a0e3e
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
push dword [ebp - 0x18]
mov eax, 0x10
call fcn.100199d0
cmp dword [ebp - 0x38], esp
je 0x10011d79
push 6
call fcn.100199ca
add esp, 4
jmp 0x10011e0e
push VariantClear
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10011d93
mov eax, 0x100a0e3e
push eax
push 1
mov ebx, 0x10019c40
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10011dbe
mov eax, 0x100a0e3f
push eax
push 1
mov ebx, 0x10019c60
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x10011de6
add eax, 8
push eax
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
push dword [ebp - 0x18]
mov eax, 0x11
call fcn.100199d0
cmp dword [ebp - 0x3c], esp
je 0x10011e0e
push 6
call fcn.100199ca
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10011e2a
push eax
mov ebx, eax
call fcn.10001663
inc eax
push eax
call fcn.100199dc
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 0x10011e3d
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x1001b1d0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10011e7f
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x20]
push eax
push 0x800
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10011e99
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, 0x12
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011eb9
push 6
call fcn.100199ca
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x10011ecd
jmp 0x10011f43
push 0x80000301
push 0
push dword [ebp - 0x20]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10011eea
mov eax, 0x100a0e3f
push eax
push 2
mov ebx, 0x1001b130
call fcn.100199d6
add esp, 0x1c
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x28]
mov ecx, 2
call fcn.1000c934
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10011f26
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10011f3a
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x10011e83
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x1001aff0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10011f78
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], esp
push 0
mov eax, 0x1388
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
push 0x16
push dword [ebp - 0x18]
mov eax, 0x13
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011fb7
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0x18]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011fd9
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x10011ffb
push 6
call fcn.100199ca
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0xc]
mov eax, 0xc
call fcn.100199d0
cmp dword [ebp - 0x34], esp
je 0x1001201d
push 6
call fcn.100199ca
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x100a22b7
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x10012042
mov eax, 0x100a0e3e
push eax
push 3
mov ebx, 0x1001adb0
call fcn.100199d6
add esp, 0x28
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1001207a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10012076
imul eax, dword [ebx]
jmp 0x1001206b
mov ecx, eax
test ecx, ecx
je 0x10012099
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10012092
push ebx
push eax
call fcn.100199e2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10012080
call fcn.100199e2
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov eax, 0x100a0e3e
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100120bd
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov eax, 0x100a0e3e
push eax
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100120db
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.gzip
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1001211b
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x10012144
mov ebx, dword [ebp + 0x44]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x30]
call fcn.100053ce
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 0x1001241f
mov ebx, dword [ebp - 0x30]
call fcn.100053e7
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10012180
push 4
call fcn.100199ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10012193
push 1
call fcn.100199ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x100121ce
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x1001224d
mov ebx, dword [ebp - 0x30]
call fcn.100053e7
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1001220b
push 4
call fcn.100199ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001221e
push 1
call fcn.100199ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.1001299d
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10012247
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x30]
call fcn.100053e7
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1001226a
push 4
call fcn.100199ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001227d
push 1
call fcn.100199ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
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 0x100122b8
mov eax, 0x100a0e3e
push eax
push 4
mov ebx, 0x10019fc0
call fcn.100199d6
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x10012417
mov ebx, dword [ebp - 0x30]
call fcn.100053e7
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x100122f5
push 4
call fcn.100199ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10012308
push 1
call fcn.100199ca
add esp, 4
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 dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, 0x100a23e2
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x34]
call fcn.10012583
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10012375
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10012385
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10012395
push ebx
call fcn.100199e2
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x100123a8
mov eax, 0x100a0e3e
push eax
push 1
mov ebx, 0x1001aad0
call fcn.100199d6
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100123ce
push ebx
call fcn.100199e2
add esp, 4
push 0x100a23f0
push dword [ebp - 0x54]
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 3
call fcn.100016ce
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x100123fb
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10012411
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x10012155
add esp, 0xc
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x1001245e
push 0x100a0e3e
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.100014eb
add esp, 8
cmp eax, 0
je 0x1001245e
mov eax, 1
jmp 0x10012460
xor eax, eax
test eax, eax
je 0x10012482
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
call fcn.10013522
mov ebx, eax
test ebx, ebx
je 0x10012482
push ebx
call fcn.100199e2
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1001249e
push eax
mov ebx, eax
call fcn.10001663
inc eax
push eax
call fcn.100199dc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100124b1
push ebx
call fcn.100199e2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100124d1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100199dc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100124d6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100124e7
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100124f7
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10012507
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10012517
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10012527
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10012537
push ebx
call fcn.100199e2
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10012555
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10012551
imul eax, dword [ebx]
jmp 0x10012546
mov ecx, eax
test ecx, ecx
je 0x10012574
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1001256d
push ebx
push eax
call fcn.100199e2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1001255b
call fcn.100199e2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54