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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1000f728
push 0x10006980
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10011040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
push 0x201
call fcn.100043ea
mov dword [ebp - 0x34], eax
push 0x201
push ebx
push eax
call fcn.10007f90
add esp, 0x10
cmp esi, ebx
je 0x10003265
cmp dword [ebp + 0xc], ebx
je 0x10003265
cmp dword [ebp + 0x10], ebx
je 0x10003265
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x10003265
push ebx
push ebx
push ebx
push ebx
mov eax, dword [str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__rv:25.0__Gecko_20100101_Firefox_25.0]
push eax
call dword [0x10014104]
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x1000320b
push 0
push 0
push 3
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push esi
push ebx
call dword [0x10014c50]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1000320e
cmp dword [ebp + 0x18], 0
jne 0x100031ac
mov eax, 0x10013df0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003040
sub eax, edx
mov edx, eax
mov eax, 0x10014420
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003053
sub eax, esi
lea esi, [eax + edx + 0x104]
push esi
call fcn.100043ea
mov ebx, eax
mov dword [ebp - 0x24], ebx
push esi
push 0
push ebx
call fcn.10007f90
add esp, 0x10
mov eax, ebx
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10003080
mov dx, word [0x1000ee24]
mov word [eax], dx
mov cl, byte [0x1000ee26]
mov byte [eax + 2], cl
mov edi, ebx
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100030a0
mov dx, word [0x1000ee28]
mov word [edi], dx
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100030b5
mov eax, dword [0x1000ee2c]
mov dword [edi], eax
mov eax, 0x10013df0
mov esi, eax
jmp 0x100030d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100030d0
sub eax, esi
mov edi, ebx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100030e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, ebx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10003100
mov ecx, dword [str.fanhuibao]
mov dword [eax], ecx
mov edx, dword [0x1000ee34]
mov dword [eax + 4], edx
mov ecx, dword [0x1000ee38]
mov dword [eax + 8], ecx
mov eax, 0x10014420
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003130
sub eax, esi
dec ebx
lea ebx, [ebx]
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x10003140
mov edi, ebx
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nConnection:_keep_alive_r_nContent_Type:_application_x_www_form_urlencoded_r_n]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003160
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003171
sub eax, esi
push edx
mov edx, dword [str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nConnection:_keep_alive_r_nContent_Type:_application_x_www_form_urlencoded_r_n]
push edx
push eax
mov edi, dword [ebp - 0x24]
push edi
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov esi, dword [ebp - 0x1c]
push esi
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.10003b60
mov dword [ebp - 0x20], eax
push edi
call fcn.10004026
add esp, 0x20
jmp 0x100031f7
mov dword [ebp - 0x2c], 0x200
mov eax, dword [str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nConnection:_keep_alive_r_nContent_Type:_application_x_www_form_urlencoded_r_n]
lea edx, [eax + 1]
jmp 0x100031c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100031c0
sub eax, edx
push eax
mov edx, dword [str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nConnection:_keep_alive_r_nContent_Type:_application_x_www_form_urlencoded_r_n]
push edx
mov eax, dword [edi]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov esi, dword [ebp - 0x1c]
push esi
lea edx, [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
call fcn.10003b60
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10003206
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
jmp 0x1000320e
mov esi, dword [ebp - 0x1c]
test ebx, ebx
je 0x10003219
push ebx
call dword [0x10014c4c]
test esi, esi
je 0x10003224
push esi
call dword [0x10014c4c]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10003234
push eax
call fcn.10004026
add esp, 4
push 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_SetLastErrorEx]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret