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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0043a4b8
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x5135f9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
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 eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e762
push ebx
call fcn.0043a4ca
add esp, 4
pop eax
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x64
jg 0x40ec0a
mov eax, 0x52a946
push eax
mov ebx, eax
call fcn.0040101d
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.0043a4b8
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x40e7d8
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x40e7cc
push eax
mov ebx, eax
call fcn.0040103d
inc eax
push eax
call fcn.0043a4b8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x40e7af
pop eax
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e7f7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e7f3
imul eax, dword [ebx]
jmp 0x40e7e8
mov ecx, eax
test ecx, ecx
je 0x40e816
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e80f
push ebx
push eax
call fcn.0043a4ca
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e7fd
call fcn.0043a4ca
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov ebx, 0x43ad60
call fcn.0043a4d0
add esp, 0x10
mov ebx, dword [ebp - 0xc]
call fcn.00401004
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x43ada0
call fcn.0043a4d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
call fcn.0040101d
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40e897
push 0x36f
push 0x4013ccc
push 4
call fcn.0043a4be
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e8b4
push 0x36f
push 0x4013ccc
push 1
call fcn.0043a4be
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x40e8d1
mov eax, 0x5135f8
push eax
push 1
mov ebx, 0x43c370
call fcn.0043a4d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 1
push 1
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ecc9
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e911
push ebx
call fcn.0043a4ca
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e925
push ebx
call fcn.0043a4ca
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push str.xinglength1minglength2sexalldicdefaultnum1
push dword [ebp - 0x18]
push str.xing
mov ecx, 3
call fcn.00402edc
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e95a
push ebx
call fcn.0043a4ca
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.0043a4b8
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 - 4]
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 - 0x1c]
push eax
push 1
push 1
mov eax, str.https:__www.qmsjmfb.com_
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
call fcn.00403322
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40ea6a
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40ea7a
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40ea8a
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40ea9a
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40eaaa
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40eaba
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40eaca
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40eada
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x43e6b0
call fcn.0043a4d0
add esp, 0x10
call fcn.0043a4ca
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40eb10
mov eax, 0x5135f9
push eax
push 1
mov ebx, 0x43c370
call fcn.0043a4d0
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40eb36
push ebx
call fcn.0043a4ca
add esp, 4
push 1
push 1
lea eax, [ebp - 0x6c]
push eax
call fcn.0040fccd
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40eb59
push ebx
call fcn.0043a4ca
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40eb6d
push ebx
call fcn.0043a4ca
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
push dword [ebp - 0x2c]
mov eax, str.__li__li_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str._ul__li_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004066e4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ebbd
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ebcd
push ebx
call fcn.0043a4ca
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ebe1
push ebx
call fcn.0043a4ca
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x5135f8
push dword [ebp - 0x24]
call fcn.004015a0
add esp, 8
cmp eax, 0
je 0x40ec03
jmp 0x40ec0a
pop ebx
pop ecx
jmp 0x40e76d
add esp, 8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40ec29
push eax
mov ebx, eax
call fcn.0040103d
inc eax
push eax
call fcn.0043a4b8
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40ec2e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ec3f
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ec5d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ec59
imul eax, dword [ebx]
jmp 0x40ec4e
mov ecx, eax
test ecx, ecx
je 0x40ec7c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ec75
push ebx
push eax
call fcn.0043a4ca
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ec63
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ec94
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eca4
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ecb4
push ebx
call fcn.0043a4ca
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ecc4
push ebx
call fcn.0043a4ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret