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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.004268d3
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4d3241
push ebx
add ebx, 4
push ebx
push 8
call fcn.004268d3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4d2ed5
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.004268d3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4d2ed5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, 0x4d30b7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412456
push ebx
call fcn.004268d9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov eax, str._pub_type_:2__req_type_:8__active_info_:_active_id_:100001272__active_type_:6__req_type_:6__request_name_:_getActivityInfo___need_log_:true__user_:_openid_trans_:true
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412477
push ebx
call fcn.004268d9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x412499
push eax
mov ebx, eax
call fcn.00401088
inc eax
push eax
call fcn.004268d3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4124aa
push ebx
call fcn.004268d9
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
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 - 0x14]
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 0x4124f0
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412500
push ebx
call fcn.004268d9
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
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 - 0x18]
test ebx, ebx
je 0x412531
push ebx
call fcn.004268d9
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
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]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040a735
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4125d8
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4125e8
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4125f8
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x412608
push ebx
call fcn.004268d9
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41261c
push ebx
call fcn.004268d9
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.00409935
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412662
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412672
push ebx
call fcn.004268d9
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x412685
mov eax, 0x4d2ed5
push eax
push 1
mov ebx, 0x428080
call fcn.004268cd
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4126ab
push ebx
call fcn.004268d9
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4126bf
push ebx
call fcn.004268d9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4126df
push eax
mov ebx, eax
call fcn.00401088
inc eax
push eax
call fcn.004268d3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4126e4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4126f5
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412705
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x412715
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412735
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412745
push ebx
call fcn.004268d9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412755
push ebx
call fcn.004268d9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4