Function at 0x4138ac
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.00470fd3
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], 0x56686c
push ebx
add ebx, 4
push ebx
push 8
call fcn.00470fd3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x543f8f
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.00470fd3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x543f8f
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.00470fd3
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], 0x56686c
push ebx
add ebx, 4
push ebx
push 8
call fcn.00470fd3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x543f8f
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.00470fd3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x543f8f
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.00411113
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x413a09
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413a19
push ebx
call fcn.00470fd9
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413a2d
push ebx
call fcn.00470fd9
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.004019a7
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x413a62
push ebx
call fcn.00470fd9
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, 0x5667a0
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 0x413aa6
push ebx
call fcn.00470fd9
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0x10]
mov eax, 0x5667a7
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 0x413adf
push ebx
call fcn.00470fd9
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0x14]
mov eax, 0x5667ac
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 0x413b18
push ebx
call fcn.00470fd9
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 0x413b49
push ebx
call fcn.00470fd9
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 0x413b8f
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413b9f
push ebx
call fcn.00470fd9
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 0x413be1
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413bf1
push ebx
call fcn.00470fd9
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 0x413c33
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413c43
push ebx
call fcn.00470fd9
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 0x413c85
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413c95
push ebx
call fcn.00470fd9
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x566833
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 0x413cd7
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413ce7
push ebx
call fcn.00470fd9
add esp, 4
push str..com
push dword [ebp - 4]
mov ecx, 2
call fcn.004019a7
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 0x413d39
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x413d49
push ebx
call fcn.00470fd9
add esp, 4
push str..com
push dword [ebp - 4]
push str.https:__
mov ecx, 3
call fcn.004019a7
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 0x413da0
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x413db0
push ebx
call fcn.00470fd9
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 0x413df2
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413e02
push ebx
call fcn.00470fd9
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 0x413e3b
push ebx
call fcn.00470fd9
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 0x413e7d
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413e8d
push ebx
call fcn.00470fd9
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 0x413ebe
push ebx
call fcn.00470fd9
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.00470fd3
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.004141ab
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x413fc4
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x413fd4
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x413fe4
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x413ff4
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x414004
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x414014
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x414024
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4763e0
call fcn.00470feb
add esp, 0x10
call fcn.00470fd9
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41405b
push ebx
call fcn.00470fd9
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.0041675e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4140a1
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4140b1
push ebx
call fcn.00470fd9
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4140c4
mov eax, 0x543f8f
push eax
push 1
mov ebx, 0x473430
call fcn.00470feb
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4140ea
push ebx
call fcn.00470fd9
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4140fe
push ebx
call fcn.00470fd9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41411e
push eax
mov ebx, eax
call fcn.0040193c
inc eax
push eax
call fcn.00470fd3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x414123
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414134
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x414144
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x414164
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x414184
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x414194
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4141a4
push ebx
call fcn.00470fd9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10