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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004711ec
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x56627f
push ebx
add ebx, 4
push ebx
push 8
call fcn.004711ec
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x542d0d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004711ec
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x542d0d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
push 0xc
call fcn.004711ec
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x56627f
push ebx
add ebx, 4
push ebx
push 8
call fcn.004711ec
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x542d0d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004711ec
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x542d0d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str..com
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.https:__
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call fcn.0040fa4c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412342
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412352
push ebx
call fcn.004711f2
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412366
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str..com_ajaxm.php
push dword [ebp - 4]
push str.https:__
mov ecx, 3
call fcn.0040298e
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41239b
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0xc]
mov eax, 0x5661b3
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4123df
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0x10]
mov eax, 0x5661ba
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412418
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0x14]
mov eax, 0x5661bf
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412451
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x412482
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.application_json__text_javascript___
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4124c8
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4124d8
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.zh_CN_zh_q0.9_en_q0.8_en_GB_q0.7_en_US_q0.6
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41251a
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41252a
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.no_cache
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Cache_Control
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41256c
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41257c
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.keep_alive
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Connection
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4125be
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4125ce
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x566246
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Content_Length
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412610
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412620
push ebx
call fcn.004711f2
add esp, 4
push str..com
push dword [ebp - 4]
mov ecx, 2
call fcn.0040298e
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
mov eax, str.Host
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412672
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412682
push ebx
call fcn.004711f2
add esp, 4
push str..com
push dword [ebp - 4]
push str.https:__
mov ecx, 3
call fcn.0040298e
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
mov eax, str.Origin
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4126d9
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4126e9
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.no_cache
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Pragma
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41272b
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41273b
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 8]
mov eax, str.Referer
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412774
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4127b6
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4127c6
push ebx
call fcn.004711f2
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4127f7
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.004711ec
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
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 dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00412ae4
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4128fd
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x41290d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41291d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41292d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41293d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41294d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41295d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x476600
call fcn.00471204
add esp, 0x10
call fcn.004711f2
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412994
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00415097
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4129da
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4129ea
push ebx
call fcn.004711f2
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4129fd
mov eax, 0x542d0d
push eax
push 1
mov ebx, 0x473650
call fcn.00471204
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412a23
push ebx
call fcn.004711f2
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412a37
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x412a57
push eax
mov ebx, eax
call fcn.00402481
inc eax
push eax
call fcn.004711ec
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x412a5c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412a6d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412a7d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x412a9d
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x412abd
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412acd
push ebx
call fcn.004711f2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412add
push ebx
call fcn.004711f2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10