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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push str._az.php
push dword [0x90d69c]
mov ecx, 2
call fcn.004010a8
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e7dd
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.00409537
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e810
push ebx
call fcn.0042c329
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
push 1
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00409a43
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e847
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [0x90d6b4]
push 0x743ec7
push dword [ebp - 0xc]
mov ecx, 3
call fcn.004010a8
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e87d
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.typezongzhandata
mov ecx, 2
call fcn.004010a8
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e8ad
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_534.57.2__KHTML__like_Gecko__Version_5.1.7_Safari_534.57.2
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e8c7
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.0042c335
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
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 - 0x10]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00401a2d
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40e9cd
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e9dd
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e9ed
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40e9fd
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ea0d
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ea1d
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ea2d
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x430770
call fcn.0042c32f
add esp, 0x10
call fcn.0042c329
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ea64
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40ea7b
mov eax, 0x7438dc
push eax
push 1
mov ebx, 0x42e210
call fcn.0042c32f
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.0040af9e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40eab9
push ebx
call fcn.0042c329
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eacd
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x743f4e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x743f52
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404e2a
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40eb1d
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40eb2d
push ebx
call fcn.0042c329
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eb41
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
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
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
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
mov eax, 0x743884
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x743b4a
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b939
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ec05
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ec15
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ec25
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ec35
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ec45
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ec55
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ec65
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ec75
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ec85
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ec95
push ebx
call fcn.0042c329
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eca9
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ecc9
push eax
mov ebx, eax
call fcn.0040103d
inc eax
push eax
call fcn.0042c335
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40ecce
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ecdf
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ecef
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ecff
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ed0f
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ed1f
push ebx
call fcn.0042c329
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ed2f
push ebx
call fcn.0042c329
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret